← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 833637] Re: error starting openerp-server

 

Python 2.5 doesn't like the kwarg appearing after the *args syntax. This
is a small syntax matter and we could change it but actually there are
other parts of the code that won't work on 2.5 and we will drop python
2.5 support with the next version (6.1).

This is certainly a bit disappointing for you but it is possible to find
some resources about installing python 2.6 on Lenny if your stuck with
it. Otherwise any recent distribution will contain python 2.6 or 2.7.

This also means that currently our Windows nightly builds for trunk are
surely broken (the nightly build is based on python 2.5 for the Windows
executables) and we have to fix that shortly.

** Changed in: openobject-server
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/833637

Title:
  error starting openerp-server

Status in OpenERP Server:
  Invalid

Bug description:
  Traceback (most recent call last):
    File "./openerp-server", line 44, in <module>
      import openerp
    File "/srv/openerp61/server61/openerp/__init__.py", line 26, in <module>
      import addons
    File "/srv/openerp61/server61/openerp/addons/__init__.py", line 33, in <module>
      from openerp.modules import get_module_resource, get_module_path
    File "/srv/openerp61/server61/openerp/modules/__init__.py", line 29, in <module>
      import openerp.modules.loading
    File "/srv/openerp61/server61/openerp/modules/loading.py", line 90
      load_init_xml = lambda *args: _load_data(cr, *args, kind='init_xml')
                                                             ^
  SyntaxError: invalid syntax

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/833637/+subscriptions


References