#712: Using tg-admin in 0.9 on projects started in 0.8 gives weird error
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 0.9
Component: TurboGears | Version: 0.9a1
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
When running {{{tg-admin whatever}}} on projects started with 0.8, the
following error occurs:
{{{
Traceback (most recent call last):
File "/usr/bin/tg-admin", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a2-
py2.4.egg/turbogears/command/base.py", line 261, in main
command.run()
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a2-
py2.4.egg/turbogears/command/base.py", line 164, in run
self.find_config()
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a2-
py2.4.egg/turbogears/command/base.py", line 54, in find_config
load_project_config(self.config)
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a2-
py2.4.egg/turbogears/command/base.py", line 40, in load_project_config
modulename = package + ".config.app")
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a2-
py2.4.egg/turbogears/config.py", line 30, in update_config
modfile = pkg_resources.resource_filename(packagename, modname +
".cfg")
File "/usr/lib/python2.4/site-packages/setuptools-0.6a11-
py2.4.egg/pkg_resources.py", line 799, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/usr/lib/python2.4/site-packages/setuptools-0.6a11-
py2.4.egg/pkg_resources.py", line 119, in get_provider
__import__(moduleOrReq)
ImportError: No module named config
}}}
The errors is probably normal, but could be less cryptic.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/712>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---