please do a search before posting this was asked this week with the same setup.
TG 1.0.1 is not py25 compatible, well it is but not out of the box.
http://docs.turbogears.org/1.0/Python2.5Support

On 2/25/07, mandoluca <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have installes TurboGears on Mac Os X 10.4. I didn't have problems
> during the installation, but if I try to launch th tg-admin info I
> recive this erro:
>
> host204-32-dynamic:~ gigio$ tg-admin info
> Traceback (most recent call last):
>   File "/usr/local/bin/tg-admin", line 8, in <module>
>     load_entry_point('TurboGears==1.0.1', 'console_scripts', 'tg-
> admin')()
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
> line 236, in load_entry_point
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
> line 2097, in load_entry_point
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
> line 1830, in load
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboGears-1.0.1-py2.5.egg/turbogears/
> __init__.py", line 6, in <module>
>     from turbogears.controllers import expose, flash, validate,
> redirect, \
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboGears-1.0.1-py2.5.egg/turbogears/
> controllers.py", line 12, in <module>
>     from turbogears import view, database, errorhandling, config
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboGears-1.0.1-py2.5.egg/turbogears/view/
> __init__.py", line 1, in <module>
>     from turbogears.view.base import *
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboGears-1.0.1-py2.5.egg/turbogears/view/
> base.py", line 17, in <module>
>     from turbogears.i18n import i18n_filter, get_locale
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboGears-1.0.1-py2.5.egg/turbogears/i18n/
> __init__.py", line 5, in <module>
>     from turbogears.i18n.tg_gettext import gettext, ngettext, install,
> is_locale_supported, \
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboGears-1.0.1-py2.5.egg/turbogears/i18n/
> tg_gettext.py", line 4, in <module>
>     from turbojson.jsonify import jsonify
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/TurboJson-1.0-py2.5.egg/turbojson/jsonify.py",
> line 26, in <module>
>     'isinstance(obj, datetime.datetime) or '
>   File "build/bdist.macosx-10.3-fat/egg/dispatch/functions.py", line
> 690, in when
>   File "build/bdist.macosx-10.3-fat/egg/dispatch/functions.py", line
> 577, in _decorate
>   File "<string>", line 10, in parseRule
>   File "build/bdist.macosx-10.3-fat/egg/dispatch/functions.py", line
> 440, in parseRule
>   File "build/bdist.macosx-10.3-fat/egg/dispatch/functions.py", line
> 326, in parse
>   File "build/bdist.macosx-10.3-fat/egg/dispatch/ast_builder.py", line
> 383, in parse_expr
>   File "build/bdist.macosx-10.3-fat/egg/dispatch/ast_builder.py", line
> 378, in build
> KeyError: 304
>
>
> Some helps?
> Thank you very much for the suggestions!
>
> mando
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to