On Monday 29 March 2010 18:44:23 Ian Kitley wrote:
> Hello all,
> Hopefully someone on here can help me with the issue I'm running into.
> I am deploying a TG 2.0.3 project using Apache 2.2.14 and mod_wsgi on
> a Gentoo 2.0.1 op system. It gets as far as attempting to start the
> program when I get the following traceback:
>
> [Mon Mar 29 11:26:40 2010] [error]   File "/usr/lib64/python2.6/site-
> packages/pkg_resources.py", line 1948, in load
> [Mon Mar 29 11:26:40 2010] [error]    entry =
> __import__(self.module_name, globals(),globals(), ['__name__'])
> [Mon Mar 29 11:26:40 2010] [error]    File "/var/www/
> tcms.cluster.local/tcms/tcms/config/middleware.py", line 4, in
> <module>
> [Mon Mar 29 11:26:40 2010] [error]    from tcms.config.app_cfg import
> base_config
> [Mon Mar 29 11:26:40 2010] [error]    File "/var/www/
> tcms.cluster.local/tcms/tcms/config/app_cfg.py", line 16, in <module>
> [Mon Mar 29 11:26:40 2010] [error]    from tg.configuration import
> AppConfig
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/TurboGears2-2.0.3-py2.6.egg/tg/__init__.py", line 55, in
> <module>
> [Mon Mar 29 11:26:40 2010] [error]    from pylons import app_globals,
> request, response, tmpl_context, session
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/Pylons-0.9.7-py2.6.egg/pylons/__init__.py", line 4, in
> <module>
> [Mon Mar 29 11:26:40 2010] [error]    from pylons.config import config
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/Pylons-0.9.7-py2.6.egg/pylons/config.py", line 2, in <module>
> [Mon Mar 29 11:26:40 2010] [error]    from pylons.configuration import
> *
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/Pylons-0.9.7-py2.6.egg/pylons/configuration.py", line 25, in
> <module>
> [Mon Mar 29 11:26:40 2010] [error]    import pylons.legacy
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/Pylons-0.9.7-py2.6.egg/pylons/legacy.py", line 9, in <module>
> [Mon Mar 29 11:26:40 2010] [error]    import pylons.decorators
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/Pylons-0.9.7-py2.6.egg/pylons/decorators/__init__.py", line
> 14, in <module>
> [Mon Mar 29 11:26:40 2010] [error]    import simplejson
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/simplejson/__init__.py", line 240, in <module>
> [Mon Mar 29 11:26:40 2010] [error]    _default_decoder =
> JSONDecoder(encoding=None, object_hook=None)
> [Mon Mar 29 11:26:40 2010] [error]    File "/usr/lib64/python2.6/site-
> packages/simplejson/decoder.py", line 328, in __init__
> [Mon Mar 29 11:26:40 2010] [error]    self.scan_once =
> make_scanner(self)
> [Mon Mar 29 11:26:40 2010] [error]    SystemError: NULL result without
> error in PyObject_Call
>
> Having played around and looked at various bits and pieces I am still
> stuck in generic error heck. Any suggestions or advice would be
> greatly appreciated.


To me it seems you've got a 64bit or python2.6 or both incompatibility with 
simplejson-speed-enhancements. AFAIK it comes with a pure-python-only 
version/option, try & install that.

Diez

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