← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

sorry, 
I didn't add the new library in the list in setup.py line 177  (another bug for windows) :
-"imaplib", "smtplib", "email", "yaml", "DAV"
+"imaplib", "smtplib", "email", "yaml", "DAV", "uuid"
add uuid.py in server\library.zip or download server build with error no module named uuid corrected : 
http://dl.free.fr/lUW4vqxNS/openerp-server-setup-6.0.0-rc1.zip

I do another test which work (don't ask me why, I don't know) :
I install the server
I unzip server\library.zip in a directory library.
I delete library\addons\__init__.pyo, and paste from sources server\bin\addons\__init__.py
I delete library\tools\misc.pyo, and paste from sources server\bin\tools\misc.py
in library I select all and zip in library.zip
I delete server\library.zip and paste in server , server\library.zip
I restart the server
and I don't have error
can you explain that ?
files __init__.pyo and misc.pyo come from __init__.py and misc.py, the firsts don't work, the secons works
a problem during the build or the collect of files ?

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