>From a newly created environment, a new project can't run nosetests
...
Using /Users/pablito/workspace/python/tg2.3.4env/lib/python2.7/site-packages
Searching for Beaker==1.6.4
Best match: Beaker 1.6.4
Adding Beaker 1.6.4 to easy-install.pth file
Using /Users/pablito/workspace/python/tg2.3.4env/lib/python2.7/site-packages
Searching for crank==0.7.1
Best match: crank 0.7.1
Adding crank 0.7.1 to easy-install.pth file
Using /Users/pablito/workspace/python/tg2.3.4env/lib/python2.7/site-packages
Searching for PasteDeploy==1.5.2
Best match: PasteDeploy 1.5.2
Adding PasteDeploy 1.5.2 to easy-install.pth file
Using /Users/pablito/workspace/python/tg2.3.4env/lib/python2.7/site-packages
Finished processing dependencies for example2.3.4==0.1dev
(*tg2.3.4env)Mac-Mini-20013:example2.3.4 pablito$* *nosetests*
EEE
======================================================================
ERROR: Failure: ImportError (No module named sqlalchemy)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/loader.py",
line 414, in loadTestsFromName
addr.filename, addr.module)
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/importer.py",
line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/importer.py",
line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File
"/Users/pablito/workspace/python/example2.3.4/example234/model/__init__.py",
line 4, in <module>
from zope.sqlalchemy import ZopeTransactionExtension
ImportError: No module named sqlalchemy
======================================================================
ERROR: Failure: ImportError (No module named tg.configuration)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/loader.py",
line 414, in loadTestsFromName
addr.filename, addr.module)
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/importer.py",
line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/importer.py",
line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File
"/Users/pablito/workspace/python/example2.3.4/example234/websetup/__init__.py",
line 6, in <module>
from example234.config.environment import load_environment
File
"/Users/pablito/workspace/python/example2.3.4/example234/config/environment.py",
line 4, in <module>
from example234.config.app_cfg import base_config
File
"/Users/pablito/workspace/python/example2.3.4/example234/config/app_cfg.py",
line 9, in <module>
from tg.configuration import AppConfig
ImportError: No module named tg.configuration
======================================================================
ERROR: Failure: ImportError (No module named paste.deploy)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/loader.py",
line 414, in loadTestsFromName
addr.filename, addr.module)
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/importer.py",
line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File
"/Library/Python/2.7/site-packages/nose-1.3.4-py2.7.egg/nose/importer.py",
line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File
"/Users/pablito/workspace/python/example2.3.4/example234/tests/__init__.py",
line 6, in <module>
from paste.deploy import loadapp
ImportError: No module named paste.deploy
----------------------------------------------------------------------
Ran 3 tests in 0.020s
FAILED (errors=3)
*(tg2.3.4env)Mac-Mini-20013:example2.3.4 pablito$*
I tried removing zope.sqlalchemy and reinstalling it with 'pip' in case of
the namespace issue with easy_install with no luck.
Should I switch to py.test?
Cheers
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.