c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15756
[Bug 716424] Re: [6.0.1 stable] [Errno 2] No such file or directory: '/xxxxxxxx/xxxxxxx/openerp-server-6.0.1/addons'
hello everybody
I fixed my problem changing my installation method, in the attached
file, I describe new method. Basically now I run the command:
python setup.py build in the root path of the source code, and then I
copy the content of the folder build create for the anterior command to
my final location. So far so good, but now I have the folowing problem,
when I try to create a new database:
[2011-02-10 15:32:12,494][?] INFO:server:database hostname - localhost
[2011-02-10 15:32:12,494][?] INFO:server:database port - 5432
[2011-02-10 15:32:12,494][?] INFO:server:database user - openerp
[2011-02-10 15:32:12,494][?] INFO:server:initialising distributed objects services
[2011-02-10 15:32:12,914][?] INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
[2011-02-10 15:32:12,914][?] INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
[2011-02-10 15:32:12,915][?] INFO:web-services:Registered XML-RPC over HTTP
[2011-02-10 15:32:12,919][?] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
[2011-02-10 15:32:12,919][?] INFO:server:Starting 3 services
[2011-02-10 15:32:12,919][?] INFO:server:OpenERP server is running, waiting for connections...
[2011-02-10 15:33:10,294][template1] INFO:web-services:CREATE DATABASE: testerp
[2011-02-10 15:33:10,415][testerp] ERROR:db.cursor:bad query: INSERT INTO ir_module_module (author, website, name, shortdesc, description, category_id, state, certificate, web, license) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s) RETURNING id
Traceback (most recent call last):
File "/home/openerp/openerp-server-6.0.1/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
InterfaceError: can't encode unicode string to UTF-8
[2011-02-10 15:33:10,416][testerp] ERROR:web-services:[01]: CREATE DATABASE
[2011-02-10 15:33:10,416][testerp] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-02-10 15:33:10,416][testerp] ERROR:web-services:[03]: File "/home/openerp/openerp-server-6.0.1/service/web_services.py", line 95, in __call__
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[04]: tools.init_db(cr)
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[05]: File "/home/openerp/openerp-server-6.0.1/tools/misc.py", line 127, in init_db
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[06]: info.get('license') or 'AGPL-3'))
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[07]: File "/home/openerp/openerp-server-6.0.1/sql_db.py", line 78, in wrapper
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[08]: return f(self, *args, **kwargs)
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[09]: File "/home/openerp/openerp-server-6.0.1/sql_db.py", line 131, in execute
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[10]: res = self._obj.execute(query, params)
[2011-02-10 15:33:10,417][testerp] ERROR:web-services:[11]: InterfaceError: can't encode unicode string to UTF-8
** Attachment added: "OpenERP Installation recipe for fedora core 14"
https://bugs.launchpad.net/openobject-server/+bug/716424/+attachment/1842151/+files/instalacion%20OpenERP%206.0.1%20en%20FC14.txt
--
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:
New
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