Hi,

I'm new to Pylons and recently installed it on both Windows and Linux
(Ubuntu Feisty, Python 2.5) using easy_setup. No problems running it
on Windows. On Linux however I get the following error when I run the
server. First line appears to indicate only a warning. I can see the
default page generated when the application was created but I am
wondering why I see this message in Linux but not in Windows.

TIA for any help

[EMAIL PROTECTED]:~/py/timesheet$ paster serve --reload development.ini
Starting subprocess with file monitor
/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/
configuration.py:17: RuntimeWarning: Unable to load template engine
entry point: 'json = turbojson.jsonsupport:JsonSupport': Traceback
(most recent call last):
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/
pylons/templating.py", line 291, in <module>
    Engine = entry_point.load()
  File "/usr/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__'])
  File "/usr/lib/python2.5/site-packages/TurboJson-1.1.2-py2.5.egg/
turbojson/jsonsupport.py", line 3, in <module>
    from turbojson import jsonify
  File "/usr/lib/python2.5/site-packages/TurboJson-1.1.2-py2.5.egg/
turbojson/jsonify.py", line 37, 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

  import pylons.templating
Starting server in PID 6200.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to