dmwm / dmwm/deployment

Problem with pep8 in WMAgent Dev

Open
#472 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
21
Forks
183
PR merge metrics
No merged PRs in 30d

Description

Hi @BrunoCoimbra @ticoann

When I try to run "pep8" within our deployment I get an error
```
[dmwm@72d561e8d903 WMCore]$ pep8
bash: /home/dmwm/unittestdeploy/wmagent/1.1.3.pre5/sw/slc6_amd64_gcc493/external/py2-pep8/1.7.0-comp2/bin/pep8: /build/dmwmbld/srv/state/dmwmbld/builds/comp_gcc493/w/slc6_amd64_gcc493/extern: bad interpreter: No such file or directory
```

This comes from the fact that the python it's trying to use at the start of `which pep8` is this:
#!/build/dmwmbld/srv/state/dmwmbld/builds/comp_gcc493/w/slc6_amd64_gcc493/external/python/2.7.13/bin/python

If I replace this with the standard /usr/bin/env python , everything is OK. Can you fix the RPMs please?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.