Skip to content

No handlers could be found for logger "root" - #971

Merged
embray merged 1 commit into
astropy:masterfrom
embray:issue-971
Apr 15, 2013
Merged

embray merged 1 commit into
astropy:masterfrom
embray:issue-971

Conversation

@embray

@embray embray commented Apr 12, 2013

Copy link
Copy Markdown
Member

python setup.py sdist is failing on Jenkins:

https://jenkins.shiningpanda-ci.com/astropy/job/astropy-master-sdist/511/console

The error is:

hard linking scripts/volint -> astropy-0.3.dev3744/scripts
Creating tar archive
removing 'astropy-0.3.dev3744' (and everything under it)
+ /home/slave/env2.7-numpy1.6.1/bin/python -c import astropy.version; import sys; sys.stdout.write(astropy.version.version)
No handlers could be found for logger "root"
+ ASTROPY_VERSION=
Build step 'Execute shell' marked build as failure
Finished: FAILURE

@embray

embray commented Apr 11, 2013

Copy link
Copy Markdown
Member

I've noticed this too. I think it's related to my fix for #867 which caused a regression in an earlier issue...I can't remember exactly which one. I'll fix this.

@ghost ghost assigned embray Apr 11, 2013
@embray

embray commented Apr 12, 2013

Copy link
Copy Markdown
Member

I remember now--this is actually related to #864. It looks like when I merged the fixes for #864 and #867 I put a few things in the wrong order. PR coming shortly.

@astrofrog

Copy link
Copy Markdown
Member Author

@iguananaut - thanks! Can we merge this? It'll fix the annoying sdist Jenkins failures...

@embray

embray commented Apr 15, 2013

Copy link
Copy Markdown
Member

Very well then.

embray added a commit that referenced this pull request Apr 15, 2013
No handlers could be found for logger "root"
@embray
embray merged commit a33050b into astropy:master Apr 15, 2013
@embray
embray deleted the issue-971 branch April 15, 2013 18:10
@astrofrog

Copy link
Copy Markdown
Member Author

By the way, I've had reports of users having this happen on first import after a standard install:

In [1]: import astropy
No handlers could be found for logger "root"
An exception has occurred, use %tb to see the full traceback.

And they reported success by using the latest developer version. I think this is severe enough that we should consider 0.2.2 soon - @iguananaut, any thoughts? (maybe we try and fix the pip issues first?)

@embray

embray commented Apr 18, 2013

Copy link
Copy Markdown
Member

This can only happen if they're trying to import from within an astropy checkout and they haven't built the extension modules.

embray added a commit that referenced this pull request May 13, 2013
No handlers could be found for logger "root"
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

Successfully merging this pull request may close these issues.

2 participants