I get this error too. I found this fix http://trac.turbogears.org/changeset/2108 which has already been applied in the version of TurboGears which I have installed (1.0.3.2), so evidently it doesn't fix the problem. I'm using nose-0.10.0-py2.5.egg. Anyone have a fix or recommendation?
Tim Black [EMAIL PROTECTED] wrote: > Hi, there > > I need some help to solve a problem with nose. There is this > TurboGears project which was fronzen for a while. When it was full > active, > every tests used to run ok, but now, something I couldn't figure out > happend and I get this message when I try to run nosetests: > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/nose-0.9.3-py2.5.egg/nose/ > suite.py", line 51, in run > self.setUp() > File "/usr/lib/python2.5/site-packages/nose-0.9.3-py2.5.egg/nose/ > suite.py", line 200, in setUp > self.module = _import(self.moduleName, [self.path], self.conf) > File "/usr/lib/python2.5/site-packages/nose-0.9.3-py2.5.egg/nose/ > importer.py", line 101, in _import > mod = load_module(fqname, fh, filename, desc) > File "/home/andref/projetos/republicaos/republicaos/tests/ > test_model/ > test_republica.py", line 4, in <module> > from republicaos.model.business import * > File "/home/andref/projetos/republicaos/republicaos/model/ > __init__.py", line 1, in <module> > from business import * > File "/home/andref/projetos/republicaos/republicaos/model/ > business.py", line 12, in <module> > from pronus_utils import float_equal, pretty_decimal > File "/home/andref/projetos/republicaos/pronus_utils.py", line 4, in > <module> > from turbogears import validators > File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4b3-py2.5.egg/ > turbogears/__init__.py", line 5, in <module> > from turbogears import config > ImportError: cannot import name config > > This problem doesn't happen when application is normally launched via > start-republicaos.py and the correct version of TurboGears is in > PYTHONPATH. > > I already tried to use an earlier version of nose, to register the > application with 'python setup.py develop' etc. Nothing worked. > > Any suggestions will be greatly appreciated! > > Thanks, > > André > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

