Hello, everyone.

I've made some progress on this problem, and I found that if my test suite is 
returned by a function of the main package, this problem disappears. But then 
another comes up:
    ImportError: No module named build.lib.animador.config

The traceback is attached.

This happens even after running setuptools' "develop".

Thanks in advance.

Cheers.


On Tuesday 15 July 2008 21:02:05 Gustavo Narea wrote:
> Hello.
>
> The tests of my TG project pass on my computer but don't pass on my server.
> I already installed all the required dependencies on my server.
>
> Here's the output of `setup.py test' at my computer:
> http://paste.turbogears.org/paste/3216
> And here's the output of `setup.py test' at my server:
> http://paste.turbogears.org/paste/3218
>
> Both computers run Ubuntu Hardy with Python 2.5.2, and setuptools 0.6c8.
>
> You can browse the source code online at
> https://tracker.gnulinuxmatters.org/browser/animador/trunk or download it
> from https://svn.gnulinuxmatters.org:81/animador/trunk/
>
> Thanks in advance.


-- 
Gustavo Narea.
General Secretary. GNU/Linux Matters.
http://www.gnulinuxmatters.org/
[ERROR   ] Traceback (most recent call last):
[ERROR   ]   File "/home/gustavo/builds/build_animador-trunk_10/setup.py", line 
68, in <module>
[ERROR   ]     'start-animador = animador.commands:start',
[ERROR   ]   File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
[ERROR   ]     dist.run_commands()
[ERROR   ]   File "/usr/lib/python2.5/distutils/dist.py", line 974, in 
run_commands
[ERROR   ]     self.run_command(cmd)
[ERROR   ]   File "/usr/lib/python2.5/distutils/dist.py", line 994, in 
run_command
[ERROR   ]     cmd_obj.run()
[ERROR   ]   File 
"/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/test.py",
 line 121, in run
[ERROR   ]   File 
"/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/test.py",
 line 101, in with_project_on_sys_path
[ERROR   ]   File 
"/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/test.py",
 line 130, in run_tests
[ERROR   ]   File "/usr/lib/python2.5/unittest.py", line 767, in __init__
[ERROR   ]     self.parseArgs(argv)
[ERROR   ]   File "/usr/lib/python2.5/unittest.py", line 794, in parseArgs
[ERROR   ]     self.createTests()
[ERROR   ]   File "/usr/lib/python2.5/unittest.py", line 800, in createTests
[ERROR   ]     self.module)
[ERROR   ]   File "/usr/lib/python2.5/unittest.py", line 565, in 
loadTestsFromNames
[ERROR   ]     suites = [self.loadTestsFromName(name, module) for name in names]
[ERROR   ]   File "/usr/lib/python2.5/unittest.py", line 553, in 
loadTestsFromName
[ERROR   ]     test = obj()
[ERROR   ]   File 
"/home/gustavo/builds/build_animador-trunk_10/animador/__init__.py", line 55, 
in testSuite
[ERROR   ]     from animador import tests
[ERROR   ]   File 
"/home/gustavo/builds/build_animador-trunk_10/animador/tests/__init__.py", line 
30, in <module>
[ERROR   ]     from animador.tests import model, controllers
[ERROR   ]   File 
"/home/gustavo/builds/build_animador-trunk_10/animador/tests/model.py", line 
28, in <module>
[ERROR   ]     from turbogears import database, testutil
[ERROR   ]   File 
"/usr/lib/python2.5/site-packages/TurboGears-1.0.5-py2.5.egg/turbogears/testutil.py",
 line 43, in <module>
[ERROR   ]     update_config(configfile="test.cfg", modulename=modulename)
[ERROR   ]   File 
"/usr/lib/python2.5/site-packages/TurboGears-1.0.5-py2.5.egg/turbogears/config.py",
 line 206, in update_config
[ERROR   ]     configdict = config_obj(configfile, modulename).dict()
[ERROR   ]   File 
"/usr/lib/python2.5/site-packages/TurboGears-1.0.5-py2.5.egg/turbogears/config.py",
 line 169, in config_obj
[ERROR   ]     modname + ".cfg")
[ERROR   ]   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 
840, in resource_filename
[ERROR   ]     return 
get_provider(package_or_requirement).get_resource_filename(
[ERROR   ]   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 
160, in get_provider
[ERROR   ]     __import__(moduleOrReq)
[ERROR   ] ImportError: No module named build.lib.animador.config

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to