I just installed the current version of TurboGears and started doing
the TurboTunes tutorial, then realized that i need to have the alpha
vesion. So i tried to upgrade, but had the same problem as this
persion:
http://groups.google.com/group/turbogears/browse_thread/thread/7cf2c94315e6ff21/7595842c8bfbfef9?q=configObj&rnum=1#7595842c8bfbfef9
(configObj wasn't found after the upgrade).
I tried to install the current configObj egg directly as suggested in
the thread, which allows me to run tg-admin, but now every time i try
to set up the database i get this error:
[EMAIL PROTECTED]:~/Desktop/tt$ tg-admin sql create
Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 7, in ?
sys.exit(
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/command/base.py",
line 274, in main
command = command.load()(turbogears.__version__)
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/command/base.py",
line 101, in __init__
self.find_config()
File
"/usr/lib/python2.4/site-packages/TurboGears- 0.9a6-py2.4.egg/turbogears/command/base.py",
line 66, in find_config
load_project_config(self.config)
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/command/base.py",
line 54, in load_project_config
modulename = package + ".config")
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/config.py",
line 183, in update_config
configdata2 = ConfigObj(configfile, unrepr=True)
File
"/usr/lib/python2.4/site-packages/ConfigObj-4.3.1-py2.4.egg/configobj.py",
line 1077, in __init__
configobj.ConfigObjError: Parsing failed.
any idea how i can fix this?
did you made any changes to the config files?
configOBJ will fail if the same section has 2 keys with the same name (and remenber sections can be across files)
is there any leading whitespaces?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] Re: configObj parsing fails while running TurboT... Jorge Vargas

