FTPserver used in several modules can't install

Bug #382000 reported by Jan Verlaan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

SITUATION IDENTIFIED IN:
Installation routine "Service profile"

REPRODUCTION ENVIRONMENT:
Server: OpenERP V5.0.1 (stable) on Debian ETCH, python 2.4

openerp5:/openerp/addons# bzr version-info
revision-id: <email address hidden>
date: 2009-05-30 00:57:31 +0200
build-date: 2009-05-31 00:51:27 +0200
revno: 2308
branch-nick: addons

openerp5:/openerp/server# bzr version-info
revision-id: <email address hidden>
date: 2009-05-29 13:00:38 +0530
build-date: 2009-05-31 00:52:28 +0200
revno: 1783
branch-nick: server

PROBLEM DESCRIPTION:
Installation of "Service Profile" can't be finished

SPECIFIC PARAMETER SETUP:
While installing, on the end you can choose extra modules related to service profile, like CRM en Document management.
You have to select those packages.

STEPS TO BE FOLLOWED:
Create a new database with Service Profile. (or alternativly select in a existing database where CRM and documentmanagement isn't installed to install these modules)

OBSERVED RESULT:
Fatal error:
Traceback (most recent call last):
  File "/openerp/server/bin/netsvc.py", line 235, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/openerp/server/bin/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/openerp/server/bin/service/web_services.py", line 526, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/openerp/server/bin/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/openerp/server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/openerp/server/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/openerp/addons/crm_configuration/crm_config.py", line 167, in action_create
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/openerp/server/bin/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/openerp/server/bin/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/openerp/server/bin/addons/__init__.py", line 718, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/openerp/server/bin/addons/__init__.py", line 578, in load_module_graph
    register_class(package.name)
  File "/openerp/server/bin/addons/__init__.py", line 400, in register_class
    imp.load_module(m, *fm)
  File "/openerp/addons/document/__init__.py", line 24, in ?
    import ftpserver
  File "/openerp/addons/document/ftpserver/__init__.py", line 26, in ?
    import abstracted_fs
  File "/openerp/addons/document/ftpserver/abstracted_fs.py", line 144
    finally:
          ^
SyntaxError: invalid syntax

EXPECTED RESULT:
The installation wizard should run to it's end and the modules should be installed.

ADDITIONAL COMMENTS:
none

Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

It's Fixed in stable addons. Rev#2315.
Thanks to reporting

Changed in openobject-addons:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.