Hi,
I'm running Ubunut Fiesty Fawn and tried to install TurboGears with
the Python.2.5.1c1 version of Python that is the default on Ubunto.
The install seemed to go fine, but when I ran tg-admin info it gave me
a long exception trace, which I include here:

tg-admin
/var/lib/python-support/python2.5/simplejson/scanner.py:6:
DeprecationWarning: The sre module is deprecated, please import re.
  from sre import VERBOSE, MULTILINE, DOTALL
Traceback (most recent call last):
  File "/usr/local/bin/tg-admin", line 8, in <module>
    load_entry_point('TurboGears==1.0.2.2', 'console_scripts', 'tg-
admin')()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 236,
in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2097,
in load_entry_point
    return ep.load()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1830,
in load
    entry = __import__(self.module_name, globals(),globals(),
['__name__'])
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/__init__.py", line 6, in <module>
    from turbogears.controllers import expose, flash, validate,
redirect, \
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/controllers.py", line 12, in <module>
    from turbogears import view, database, errorhandling, config
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/view/__init__.py", line 1, in <module>
    from turbogears.view.base import *
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/view/base.py", line 17, in <module>
    from turbogears.i18n import i18n_filter, get_locale
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/i18n/__init__.py", line 5, in <module>
    from turbogears.i18n.tg_gettext import gettext, ngettext, install,
is_locale_supported, \
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/i18n/tg_gettext.py", line 4, in <module>
    from turbojson.jsonify import jsonify
  File "/usr/lib/python2.5/site-packages/TurboJson-1.0-py2.5.egg/
turbojson/jsonify.py", line 26, in <module>
    'isinstance(obj, datetime.datetime) or '
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
690, in when
    return self._decorate(cond)
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
577, in _decorate
    cond = self.parseRule(cond,frame=frame) or cond
  File "<string>", line 10, in parseRule
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
440, in parseRule
    return self.parse(rule, frame.f_locals, frame.f_globals)
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
323, in parse
    from dispatch.predicates import CriteriaBuilder
  File "/var/lib/python-support/python2.5/dispatch/predicates.py",
line 708, in <module>
    "expr in Call and expr.function is isinstance"
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
690, in when
    return self._decorate(cond)
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
577, in _decorate
    cond = self.parseRule(cond,frame=frame) or cond
  File "<string>", line 10, in parseRule
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
440, in parseRule
    return self.parse(rule, frame.f_locals, frame.f_globals)
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line
326, in parse
    return parse_expr(expr_string,builder)
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py",
line 383, in parse_expr
    return build(builder, parser.expr(expr).totuple(1)[1])
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py",
line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py",
line 51, in com_binary
    return getattr(builder,opname)(items)
  File "/var/lib/python-support/python2.5/dispatch/predicates.py",
line 609, in And
    return reduce(operator.and_,[build(self,expr) for expr in items])
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py",
line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py",
line 111, in comparison
    return builder.Compare(nodelist[1], results)
  File "/var/lib/python-support/python2.5/dispatch/predicates.py",
line 595, in Compare
    right = ICriterion(Pointer(right.value))
  File "/var/lib/python-support/python2.5/dispatch/strategy.py", line
541, in __new__
    self = int.__new__(cls,id(ob))
OverflowError: long int too large to convert to int

If anyone has any ideas I'd like to hear them as I'd like to use the
latest Python for other projects.

Thanks,
Doug Farrell


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