← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 680479] Re: Windows : v6 impossible to create database AttributeError

 

Hi Jay,
there is no problem to recognize addons executing the server after installation, else I shouldn't have a message which is localizes in addons, but when I build the server (I don't know if there is the same error without), I have the error's message I give in my first post.

"tools\misc.pyo", line 187, in file_open
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[06]: AttributeError: 'module' object has no attribute 'ad_paths'

or it is a problem of import, but before this line 187 there is :
import addons

and ad_paths is a global variable defined in the head of
addons\__init__.py

perhaps remember yourself an old bug I posted to build server, where
addons was not correctly added recognized using setup.py , and corrected
by S. Wirtel (I mail this new problem also to Stephane), perhaps to
contact him if he has an idea.

I don't know where is the problem, but there is always the error.

Bye

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

Title:
  Windows : v6 impossible to create database AttributeError

Status in OpenObject Server:
  Incomplete

Bug description:
  Hi
 windows vista french creation of database in french
server 3929
addons 3951

trying to create a database, after 5 secondes, I have this error :

[2010-11-23 14:20:18,206][?] INFO:server:OpenERP server is running, waiting for connections...
[2010-11-23 14:21:01,193][template1] INFO:web-services:CREATE DATABASE: admin
[2010-11-23 14:21:01,322][admin] ERROR:web-services:[01]: CREATE DATABASE
[2010-11-23 14:21:01,322][admin] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-11-23 14:21:01,322][admin] ERROR:web-services:[03]:   File "service\web_services.pyo", line 94, in __call__
[2010-11-23 14:21:01,322][admin] ERROR:web-services:[04]:   File "tools\misc.pyo", line 61, in init_db
[2010-11-23 14:21:01,322][admin] ERROR:web-services:[05]:   File "tools\misc.pyo", line 187, in file_open
[2010-11-23 14:21:01,322][admin] ERROR:web-services:[06]: AttributeError: 'module' object has no attribute 'ad_paths'
[2010-11-23 14:21:14,558][?] INFO:db.connection_pool:ConnectionPool(used=0/count=1/max=64): Close all connections to 'host=127.0.0.1 port=5432 user=openpg password=openpgpwd dbname=admin'
[2010-11-23 14:21:14,828][template1] INFO:web-services:DROP DB: admin
[2010-11-23 14:21:34,045][template1] INFO:web-services:CREATE DATABASE: admin
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[01]: CREATE DATABASE
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[03]:   File "service\web_services.pyo", line 94, in __call__
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[04]:   File "tools\misc.pyo", line 61, in init_db
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[05]:   File "tools\misc.pyo", line 187, in file_open
[2010-11-23 14:21:34,174][admin] ERROR:web-services:[06]: AttributeError: 'module' object has no attribute 'ad_paths'

Bye





References