I've update a package to make it works... by me everything seems alright now, 
except the pid file, that can't be written by the script, maybe because the 
init script is using chuid=openerp, and openerp is not allowed to write there...
Can somebody tell me what is the nice way to correct this  ??
For now, creating the pid file manually and changing the rights to 777 enable 
the server to work...

Now the server is starting, without python errors, and you don't need to
create the database like mentionned on the readme : I've removed the
dbname initialisation in the config file, so the server start without
db, but with dbuser , and when you connect with the client, it tells you
to create one, and creating from the client works fine !

Explanation from what I've did : 
  * patched setup.py to force python2.5
changed the code from setup file, to write python2.5 instead of python in 
/usr/bin/openerp-server like mentionned above

  * changed dependency from python2.6 to 2.5

  * initialising variable USER in init script : the variable was use for
chuid in the init script, but the variable was not initialised

  * added link for boolean.so in python-xml until lp bug #343242 is
fixed

  * removed dbname initialisation in conf file to enable the server to start
since the server can start without database, and the client can create it...

  * changed log file in config from openerp.log to openerp-server.log
since I believe it is confusing when using the client and server on the same 
machine, and it's better to have the same name as the binary...

The deb file can be found on my ppa :
deb http://ppa.launchpad.net/schmirrwurst/ppa/ubuntu jaunty main

in ppa it is ubuntu7 because lp doesn't allowed to resent package... I
had to increase the version, but its the same

Help solving this pid issue is welcome !



** Attachment added: "openerp-server_5.0.0-3-1ubuntu3.diff.gz"
   
http://launchpadlibrarian.net/26530548/openerp-server_5.0.0-3-1ubuntu3.diff.gz

-- 
openerp-server depends on python-xml and is therefore uninstallable ATM
https://bugs.launchpad.net/bugs/337759
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to