It is currently Sun Feb 12, 2012 8:25 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: openerp_web-5.0.7 broken at install
PostPosted: Wed Mar 03, 2010 11:21 am 
Offline

Joined: Wed Mar 03, 2010 11:08 am
Posts: 2
Hi
Please can you assist in resolving the errors I'm experiencing. I have installed openerp-server and the openerp-web version 5.0.7 on CentOS 5.4 , running Python 2.4.3 . the server starts fine but the web server dies with the following errors :

Code:
[root@manager ~]# openerp-web -c /etc/openerp-web.cfg
Traceback (most recent call last):
  File "/usr/bin/openerp-web", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/commands.py", line 127, in start
    setup_server(opt.config)
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/commands.py", line 102, in setup_server
    from openerp.controllers.root import Root
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/controllers/__init__.py", line 1, in ?
    import actions
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/controllers/actions.py", line 43, in ?
    from form import Form
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/controllers/form.py", line 47, in ?
    from openerp import widgets as tw
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/widgets/__init__.py", line 1, in ?
    from openerp.widgets.base import *
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/widgets/base/__init__.py", line 2, in ?
    from resource import *
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/widgets/base/resource.py", line 46, in ?
    class JSLink(Link):
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/widgets/base/meta.py", line 16, in __new__
    attrs['template_c'] = load_template(attrs['template'], attrs['__module__'])
  File "/usr/lib/python2.4/site-packages/openerp_web-5.0.7-py2.4.egg/openerp/tools/expose.py", line 108, in load_template
    return Template(template, default_filters=filters, imports=imports)
  File "/usr/lib/python2.4/site-packages/Mako-0.2.5-py2.4.egg/mako/template.py", line 62, in __init__
    (code, module) = _compile_text(self, text, filename)
  File "/usr/lib/python2.4/site-packages/Mako-0.2.5-py2.4.egg/mako/template.py", line 265, in _compile_text
    exec code in module.__dict__, module.__dict__
  File "memory:-0x485e9854", line 1, in ?
  File "/usr/lib/python2.4/site-packages/Mako-0.2.5-py2.4.egg/mako/cache.py", line 4, in ?
    from beaker import cache
  File "/usr/lib/python2.4/site-packages/Beaker-1.5.2-py2.4.egg/beaker/cache.py", line 20, in ?
    import beaker.ext.google as google
  File "/usr/lib/python2.4/site-packages/Beaker-1.5.2-py2.4.egg/beaker/ext/google.py", line 1
    from __future__ import absolute_import
SyntaxError: future feature absolute_import is not defined
[root@manager ~]#


I have recheck that I have all the requirements installed etc and I have google'd but I have not come up with a solution. And I don't know much about Python.

Any advise would be grate.
Thanks


Top
 Profile  
 
 Post subject: Re: openerp_web-5.0.7 broken at install
PostPosted: Wed Mar 03, 2010 6:54 pm 
Offline

Joined: Fri Apr 21, 2006 7:28 pm
Posts: 1332
Location: Cambridge, UK
clubbing80s wrote:
... running Python 2.4.3 ...
Code:
[root@manager ~]# openerp-web -c /etc/openerp-web.cfg
Traceback (most recent call last):....
SyntaxError: future feature absolute_import is not defined ....

This is saying that you don't have 'absolute_import' in the future module, and it's needed, so I guess it was added after Python 2.4.3.

_________________
Regards, Geoff

Seath Solutions Ltd, Cambridge, UK


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2010 12:15 am 
Offline

Joined: Wed Mar 03, 2010 11:08 am
Posts: 2
Hi I have installed a parallel install of python 2.6 and I'm not batteling with the compile of openerp-server, it compiles with out errors but won't start I asume I have a missing library. Any suggestions would be grate

[root@manager ~]# openerp-server -r oerpuser -w oerppasswd --db_host=localhost --logfile=/tmp/openerp.log
Traceback (most recent call last):
File "./openerp-server.py", line 60, in <module>
import netsvc
File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 188, in <module>
import tools
File "/usr/lib/python2.6/site-packages/openerp-server/tools/__init__.py", line 26, in <module>
from convert import *
File "/usr/lib/python2.6/site-packages/openerp-server/tools/convert.py", line 24, in <module>
from lxml import etree
ImportError: /usr/lib/python2.6/site-packages/lxml-2.2.6-py2.6-linux-i686.egg/lxml/etree.so: undefined symbol: xmlSchematronSetValidStructuredErrors


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2010 12:33 am 
Offline

Joined: Fri Apr 21, 2006 7:28 pm
Posts: 1332
Location: Cambridge, UK
clubbing80s wrote:
... Any suggestions would be grate...
Code:
line 24, in <module>
    from lxml import etree
ImportError: /usr/lib/python2.6/site-packages/lxml-2.2.6-py2.6-linux-i686.egg/lxml/etree.so: undefined symbol: xmlSchematronSetValidStructuredErrors

If it's something to do with lxml there's a lot on this forum about that. The latest versions of Open ERP should fix it, I think.

_________________
Regards, Geoff

Seath Solutions Ltd, Cambridge, UK


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP