c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17466
[Bug 716424] Re: [6.0.1 stable] [Errno 2] No such file or directory: '/xxxxxxxx/xxxxxxx/openerp-server-6.0.1/addons'
Hello Saiyed,
I reinstall my OS to do the test again, the only diferent from the first time is the language for this, the last time I used for this en_US.UTF-8, but now I use es_ES.UTF-8.
[root@pruebaerp ~]# cat /etc/sysconfig/i18n
LANG="es_ES.UTF-8"
SYSFONT="latarcyrheb-sun16"
The error changed Again, I don't know why the error change when you
change the OS language, I thought that this are independent?
[2011-02-24 16:33:02,376][template1] INFO:web-services:CREATE DATABASE: testerp
[2011-02-24 16:33:02,881][testerp] INFO:init:module base: loading objects
[2011-02-24 16:33:02,881][testerp] INFO:init:module base: registering objects
[2011-02-24 16:33:03,313][testerp] INFO:init:module base: creating or updating database tables
[2011-02-24 16:33:04,348][testerp] INFO:data:Computing parent left and right for table res_partner_category...
[2011-02-24 16:33:04,945][testerp] INFO:data:storing computed values of fields.function 'global'
[2011-02-24 16:33:04,945][testerp] INFO:data:storing computed values of fields.function 'web_icon_data'
[2011-02-24 16:33:04,946][testerp] INFO:data:storing computed values of fields.function 'web_icon_hover_data'
[2011-02-24 16:33:04,946][testerp] INFO:data:storing computed values of fields.function 'menus_by_module'
[2011-02-24 16:33:04,956][testerp] ERROR:web-services:[01]: CREATE DATABASE
[2011-02-24 16:33:04,956][testerp] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-02-24 16:33:04,956][testerp] ERROR:web-services:[03]: File "/home/openerp/openerp-server-6.0.1/service/web_services.py", line 101, in __call__
[2011-02-24 16:33:04,956][testerp] ERROR:web-services:[04]: update_module=True)[1]
[2011-02-24 16:33:04,956][testerp] ERROR:web-services:[05]: File "/home/openerp/openerp-server-6.0.1/pooler.py", line 60, in restart_pool
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[06]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[07]: File "/home/openerp/openerp-server-6.0.1/pooler.py", line 39, in get_db_and_pool
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[08]: addons.load_modules(db, force_demo, status, update_module)
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[09]: File "/home/openerp/openerp-server-6.0.1/addons/__init__.py", line 833, in load_modules
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[10]: processed_modules.extend(load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report))
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[11]: File "/home/openerp/openerp-server-6.0.1/addons/__init__.py", line 719, in load_module_graph
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[12]: init_module_objects(cr, package.name, modules)
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[13]: File "/home/openerp/openerp-server-6.0.1/addons/__init__.py", line 424, in init_module_objects
[2011-02-24 16:33:04,957][testerp] ERROR:web-services:[14]: t[1](cr, *t[2])
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[15]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 2290, in _update_store
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[16]: res = f.get(cr, self, iids, k, 1, {})
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[17]: File "/home/openerp/openerp-server-6.0.1/osv/fields.py", line 793, in get
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[18]: res = self._fnct(obj, cr, user, ids, name, self._arg, context)
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[19]: File "/home/openerp/openerp-server-6.0.1/addons/base/module/module.py", line 106, in _get_views
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[20]: if m.state in ('installed', 'to upgrade', 'to remove'):
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[21]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 285, in __getattr__
[2011-02-24 16:33:04,958][testerp] ERROR:web-services:[22]: return self[name]
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[23]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 205, in __getitem__
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[24]: field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[25]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 2921, in read
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[26]: result = self._read_flat(cr, user, select, fields, context, load)
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[27]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 2981, in _read_flat
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[28]: res.extend(cr.dictfetchall())
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[29]: File "/usr/lib64/python2.7/site-packages/psycopg2/psycopg1.py", line 91, in dictfetchall
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[30]: rows = _2cursor.fetchall(self)
[2011-02-24 16:33:04,959][testerp] ERROR:web-services:[31]: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
--
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/716424
Title:
[6.0.1 stable] [Errno 2] No such file or directory:
'/xxxxxxxx/xxxxxxx/openerp-server-6.0.1/addons'
Status in OpenERP Server:
Incomplete
Bug description:
I am trying to install the new version 6.0.1 of OpenERP on Fedora Core
14 (FC14) and by now everything is ok (see my recipe "from cero
install" attached if you want to replicate the problem). The problem
is when I try to use the GTK Windows interface to create the new
database in my server. I get the folowing error in my server (see my
error log in the attached):
[root@erpserver ~]# cat /var/log/openerp/openerp-server.log
[2011-02-10 09:10:39,098][?] INFO:server:OpenERP version - 6.0.1
[2011-02-10 09:10:39,098][?] INFO:server:addons_path - /home/openerp/openerp-server-6.0.1/bin/addons
[2011-02-10 09:10:39,098][?] INFO:server:database hostname - localhost
[2011-02-10 09:10:39,098][?] INFO:server:database port - 5432
[2011-02-10 09:10:39,098][?] INFO:server:database user - openerp
[2011-02-10 09:10:39,099][?] INFO:server:initialising distributed objects services
[2011-02-10 09:10:39,293][?] INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
[2011-02-10 09:10:39,294][?] INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
[2011-02-10 09:10:39,294][?] INFO:web-services:Registered XML-RPC over HTTP
[2011-02-10 09:10:39,295][?] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
[2011-02-10 09:10:39,295][?] INFO:server:Starting 3 services
[2011-02-10 09:10:39,296][?] INFO:server:OpenERP server is running, waiting for connections...
[2011-02-10 09:11:10,422][template1] INFO:web-services:CREATE DATABASE: testerp
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[01]: CREATE DATABASE
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[03]: File "/home/openerp/openerp-server-6.0.1/bin/service/web_services.py", line 95, in __call__
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[04]: tools.init_db(cr)
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[05]: File "/home/openerp/openerp-server-6.0.1/bin/tools/misc.py", line 79, in init_db
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[06]: for i in addons.get_modules():
[2011-02-10 09:11:10,535][testerp] ERROR:web-services:[07]: File "/home/openerp/openerp-server-6.0.1/bin/addons/__init__.py", line 306, in get_modules
[2011-02-10 09:11:10,536][testerp] ERROR:web-services:[08]: plist.extend(listdir(ad))
[2011-02-10 09:11:10,536][testerp] ERROR:web-services:[09]: File "/home/openerp/openerp-server-6.0.1/bin/addons/__init__.py", line 302, in listdir
[2011-02-10 09:11:10,536][testerp] ERROR:web-services:[10]: return map(clean, filter(is_really_module, os.listdir(dir)))
[2011-02-10 09:11:10,536][testerp] ERROR:web-services:[11]: OSError: [Errno 2] No such file or directory: '/home/openerp/openerp-server-6.0.1/addons'
Debug information:
[openerp@erpserver ~]$ openerp-server --version
OpenERP Server 6.0.1
[root@erpserver ~]# uname -a
Linux erpserver.sigis.local 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@erpserver ~]# python -V
Python 2.7
[root@erpserver ~]# postgres -V
postgres (PostgreSQL) 8.4.7
References