Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure #2

Closed
tomwestin opened this issue Nov 7, 2013 · 8 comments
Closed

Build failure #2

tomwestin opened this issue Nov 7, 2013 · 8 comments

Comments

@tomwestin
Copy link

"pyb analyze" fails with the following error message:

...

[INFO] Executing flake8 on project sources.

BUILD FAILED - [Errno 2] No such file or directory: '/nfshome/40044771/git-repos/yadt-minion/target/reports/flake8'

...

Adding an empty file with this name fixes the problem.

@mriehl
Copy link
Contributor

mriehl commented Nov 7, 2013

Yeah apparently analyze currently does not create the reports directory, and does not require prepare to run either. Will fix it with pybuilder/pybuilder#21 .

@daccle
Copy link

daccle commented Nov 7, 2013

@tomwestin have you pyflakes installed? I needed to install it, before I could run pyb analyze properly.

@tomwestin
Copy link
Author

I checked and it looks like i have pyflakes installed. It only fails when
doing a clean build.

On Thu, Nov 7, 2013 at 4:12 PM, Daniel Clerc notifications@github.comwrote:

have you pyflakes installed? I needed to install it, before I could run
pyb analyze properly.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-27973348
.

@mriehl
Copy link
Contributor

mriehl commented Nov 7, 2013

Can you upgrade to pybuilder==0.9.14?
The problem is gone (for me at least).

@tomwestin
Copy link
Author

I tried running "pip install pybuilder" with the --upgrade flag and it
looks like it's downloading and installing version 0.9.14. However, "pyb
--version" still shows 0.9.13. Any idea what's wrong? I'm not a Python-guy
so these tools are new to me.

On Thu, Nov 7, 2013 at 4:57 PM, Maximilien Riehl
notifications@github.comwrote:

Can you upgrade to pybuilder==0.9.14?
The problem is gone (for me at least).


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-27977867
.

@mriehl
Copy link
Contributor

mriehl commented Nov 7, 2013

Are you using virtualenv?
Maybe try "pip uninstall pybuilder", see if it is still installed.

If you are using pyb-init then pyb-init local -s should also do the
trick.

On 11/07/2013 05:51 PM, Thomas Westin wrote:

I tried running "pip install pybuilder" with the --upgrade flag and it
looks like it's downloading and installing version 0.9.14. However, "pyb
--version" still shows 0.9.13. Any idea what's wrong? I'm not a
Python-guy
so these tools are new to me.

On Thu, Nov 7, 2013 at 4:57 PM, Maximilien Riehl
notifications@github.comwrote:

Can you upgrade to pybuilder==0.9.14?
The problem is gone (for me at least).


Reply to this email directly or view it on
GitHubhttps://github.com//issues/2#issuecomment-27977867
.


Reply to this email directly or view it on GitHub
#2 (comment).

@tomwestin
Copy link
Author

I managed to upgrade pybuilder to 0.9.14 and the problem is also gone for me now.

@mriehl
Copy link
Contributor

mriehl commented Nov 8, 2013

Great, thanks for your feedback!

@mriehl mriehl closed this as completed Nov 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants