c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17470
[Bug 716424] Re: [6.0.1 stable] [Errno 2] No such file or directory: '/xxxxxxxx/xxxxxxx/openerp-server-6.0.1/addons'
Hello Saiyed,
then I chaged the version of psyco2 and error persist, is the same:
yum remove python-psycopg2
[root@pruebaerp ~]# easy_install psycopg2
install_dir /usr/lib/python2.7/site-packages/
Searching for psycopg2
Reading http://pypi.python.org/simple/psycopg2/
Reading http://initd.org/psycopg/
Reading http://initd.org/projects/psycopg2
Best match: psycopg2 2.4-beta2
Downloading http://initd.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4-beta2.tar.gz
Processing psycopg2-2.4-beta2.tar.gz
Running psycopg2-2.4-beta2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-D6KGtC/psycopg2-2.4-beta2/egg-dist-tmp-Z1VSmj
no previously-included directories found matching 'doc/src/_build'
warning: no files found matching 'NEWS-2.0'
warning: no files found matching 'NEWS-2.3'
zip_safe flag not set; analyzing archive contents...
Adding psycopg2 2.4-beta2 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/psycopg2-2.4_beta2-py2.7-linux-x86_64.egg
Processing dependencies for psycopg2
Finished processing dependencies for psycopg2
then I rebooted my server. And when I tried to create my first data
base, I got
[root@pruebaerp ~]# tail -f /var/log/openerp/openerp-server.log
[2011-02-24 16:58:13,473][?] INFO:server:database hostname - localhost
[2011-02-24 16:58:13,473][?] INFO:server:database port - 5432
[2011-02-24 16:58:13,473][?] INFO:server:database user - openerp
[2011-02-24 16:58:13,473][?] INFO:server:initialising distributed objects services
[2011-02-24 16:58:13,762][?] INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
[2011-02-24 16:58:13,763][?] INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
[2011-02-24 16:58:13,763][?] INFO:web-services:Registered XML-RPC over HTTP
[2011-02-24 16:58:13,764][?] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
[2011-02-24 16:58:13,765][?] INFO:server:Starting 3 services
[2011-02-24 16:58:13,766][?] INFO:server:OpenERP server is running, waiting for connections...
[2011-02-24 16:59:28,873][template1] INFO:web-services:CREATE DATABASE: erptest
[2011-02-24 16:59:29,386][erptest] INFO:init:module base: loading objects
[2011-02-24 16:59:29,386][erptest] INFO:init:module base: registering objects
[2011-02-24 16:59:29,729][erptest] INFO:init:module base: creating or updating database tables
[2011-02-24 16:59:30,748][erptest] INFO:data:Computing parent left and right for table res_partner_category...
[2011-02-24 16:59:31,341][erptest] INFO:data:storing computed values of fields.function 'global'
[2011-02-24 16:59:31,341][erptest] INFO:data:storing computed values of fields.function 'web_icon_data'
[2011-02-24 16:59:31,342][erptest] INFO:data:storing computed values of fields.function 'web_icon_hover_data'
[2011-02-24 16:59:31,342][erptest] INFO:data:storing computed values of fields.function 'menus_by_module'
[2011-02-24 16:59:31,356][erptest] ERROR:web-services:[01]: CREATE DATABASE
[2011-02-24 16:59:31,356][erptest] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-02-24 16:59:31,357][erptest] ERROR:web-services:[03]: File "/home/openerp/openerp-server-6.0.1/service/web_services.py", line 101, in __call__
[2011-02-24 16:59:31,357][erptest] ERROR:web-services:[04]: update_module=True)[1]
[2011-02-24 16:59:31,357][erptest] ERROR:web-services:[05]: File "/home/openerp/openerp-server-6.0.1/pooler.py", line 60, in restart_pool
[2011-02-24 16:59:31,357][erptest] ERROR:web-services:[06]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2011-02-24 16:59:31,357][erptest] 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:59:31,357][erptest] ERROR:web-services:[08]: addons.load_modules(db, force_demo, status, update_module)
[2011-02-24 16:59:31,358][erptest] ERROR:web-services:[09]: File "/home/openerp/openerp-server-6.0.1/addons/__init__.py", line 833, in load_modules
[2011-02-24 16:59:31,358][erptest] ERROR:web-services:[10]: processed_modules.extend(load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report))
[2011-02-24 16:59:31,358][erptest] 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:59:31,358][erptest] ERROR:web-services:[12]: init_module_objects(cr, package.name, modules)
[2011-02-24 16:59:31,358][erptest] 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:59:31,358][erptest] ERROR:web-services:[14]: t[1](cr, *t[2])
[2011-02-24 16:59:31,358][erptest] ERROR:web-services:[15]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 2290, in _update_store
[2011-02-24 16:59:31,358][erptest] ERROR:web-services:[16]: res = f.get(cr, self, iids, k, 1, {})
[2011-02-24 16:59:31,359][erptest] ERROR:web-services:[17]: File "/home/openerp/openerp-server-6.0.1/osv/fields.py", line 793, in get
[2011-02-24 16:59:31,359][erptest] ERROR:web-services:[18]: res = self._fnct(obj, cr, user, ids, name, self._arg, context)
[2011-02-24 16:59:31,359][erptest] 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:59:31,359][erptest] ERROR:web-services:[20]: if m.state in ('installed', 'to upgrade', 'to remove'):
[2011-02-24 16:59:31,359][erptest] ERROR:web-services:[21]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 285, in __getattr__
[2011-02-24 16:59:31,359][erptest] ERROR:web-services:[22]: return self[name]
[2011-02-24 16:59:31,359][erptest] ERROR:web-services:[23]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 205, in __getitem__
[2011-02-24 16:59:31,359][erptest] 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:59:31,359][erptest] ERROR:web-services:[25]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 2921, in read
[2011-02-24 16:59:31,360][erptest] ERROR:web-services:[26]: result = self._read_flat(cr, user, select, fields, context, load)
[2011-02-24 16:59:31,360][erptest] ERROR:web-services:[27]: File "/home/openerp/openerp-server-6.0.1/osv/orm.py", line 2981, in _read_flat
[2011-02-24 16:59:31,360][erptest] ERROR:web-services:[28]: res.extend(cr.dictfetchall())
[2011-02-24 16:59:31,360][erptest] ERROR:web-services:[29]: File "/usr/lib/python2.7/site-packages/psycopg2-2.4_beta2-py2.7-linux-x86_64.egg/psycopg2/psycopg1.py", line 91, in dictfetchall
[2011-02-24 16:59:31,360][erptest] ERROR:web-services:[30]: rows = _2cursor.fetchall(self)
[2011-02-24 16:59:31,360][erptest] 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