Hi,
I'm brand new to this, but it seems that there is an issue with
the current (alpha4) install. I just did a fresh install in a virtual
environment following
http://www.turbogears.org/2.0/docs/main/DownloadInstall.html,
to the letter. The very first command I ran was a python (2.5.1)
shell, where I issued :
>>> import tw.api
It failed with "no module named api" (see below for messages)
Then, in my normal python environment I did an install of the same
(0.9.2) version of ToscaWidgets (i.e., no TurboGears 2) and the same
"import tw.api" command works perfectly.
Am I missing something ?
Thanks for any feedback/help
Jeff
here's the spewage :
>>> import tw.api
/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/
pylons/configuration.py:25: RuntimeWarning: Unable to load template
engine entry point: 'toscawidgets =
tw.core.engine_plugin:ToscaWidgetsTemplatePlugin': Traceback (most
recent call last):
File "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-
py2.5.egg/pylons/templating.py", line 616, in <module>
Engine = entry_point.load()
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 1912, in load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
ImportError: No module named core.engine_plugin
import pylons.templating
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-i686/egg/tw/__init__.py", line 1, in
<module>
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 2581, in <module>
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 640, in subscribe
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 2581, in <lambda>
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 2130, in activate
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 1734, in declare_namespace
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 1749, in declare_namespace
File "/tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-
py2.5.egg/pkg_resources.py", line 1720, in _handle_ns
File "/usr/lib/python2.5/pkgutil.py", line 238, in load_module
mod = imp.load_module(fullname, self.file, self.filename,
self.etc)
File "/tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7a4-
py2.5.egg/tg/__init__.py", line 54, in <module>
from tg.controllers import TGController, redirect, url,
use_wsgi_app
File "/tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7a4-
py2.5.egg/tg/controllers.py", line 26, in <module>
from tg.render import get_tg_vars
File "/tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7a4-
py2.5.egg/tg/render.py", line 5, in <module>
from tg.configuration import Bunch
File "/tmp/tg2env/lib/python2.5/site-packages/TurboGears2-1.9.7a4-
py2.5.egg/tg/configuration.py", line 19, in <module>
from tw.api import make_middleware as tw_middleware
ImportError: No module named api
>>>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---