lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 2885 in lilypond: GUB currently fails to creat


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2885 in lilypond: GUB currently fails to create tarballs
Date: Thu, 11 Oct 2012 09:43:55 +0000


Comment #3 on issue 2885 by address@hidden: GUB currently fails to create tarballs
http://code.google.com/p/lilypond/issues/detail?id=2885

Traceback (most recent call last):
   File "gub/repository.py", line 42, in ?
     from gub import misc

The above tries to import module misc located at gub/misc.

   File "bin/../gub/misc.py", line 10, in ?
     import urllib2
File "/home/gub/gub/target/tools/root/usr/lib/python2.4/urllib2.py", line 108, in ?
     import cookielib

Both of the above are imports of standard library modules.

File "/home/gub/gub/target/tools/root/usr/lib/python2.4/cookielib.py", line 28, in ?
     import sys, re, urlparse, copy, time, urllib, logging

Now comes the interesting part: These are all standard library modules, again, but...

   File "bin/../gub/logging.py", line 5, in ?
     from gub import misc
ImportError: cannot import name misc

...apparently python prefers and tries to import logging located at gub/logging.

So the problem appears to be that the file gub/logging.py shadows the standard library logging module. Perhaps the fix is to rename gub/logging.py to something that doesn't clash, as suggested in the FIXME in lilypond.make.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]