c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00539
[Bug 649595] Re: v6 WINDOWS errors + corrections
Hi,
bug can be closed
corrected by Stephane Wirtel.
Bye
--
v6 WINDOWS errors + corrections
https://bugs.launchpad.net/bugs/649595
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Server: New
Bug description:
Hi,
to build and install allinone for windows, I must make this changes and it's work :
in server\setup.py
line176 change :
"imaplib", "smtplib", "email", "yaml", "DAV",
by
"imaplib", "smtplib", "email", "yaml", "DAV", "simplejson"
in server\bin\openerp-server.py line 38 change :
import pwd
by :
#import pwd
line 50 change :
if pwd.getpwuid(os.getuid())[0] == 'root' :
sys.stderr.write("Attempted to run OpenERP server as root. This is not good, aborting.\n")
sys.exit(1)
by
if not sys.platform == 'win32':
import pwd
if pwd.getpwuid(os.getuid())[0] == 'root' :
sys.stderr.write("Attempted to run OpenERP server as root. This is not good, aborting.\n")
sys.exit(1)
server\bin\tools\config.py :
lines 49-50 put :
'db_host': '127.0.0.1',
'db_port': 5432,
lines 52-53 put :
'db_user': 'openpg',
'db_password': 'openpgpwd',
*********************************************************************************
Does the working directory for windows in not the same as linux ?
server\bin\addons\__init__.py line 50 :
change :
_ad = os.path.abspath(opj(tools.config['root_path'], 'addons'))
by
_ad = os.path.abspath(opj(tools.config['root_path'], opj(tools.config['addons_path'])))
server\bin\addons\base\res\res_compagny.py line 199 :
change :
-tools.config['root_path'], '..', 'pixmaps', 'openerp-header.png')
+tools.config['root_path'], 'pixmaps', 'openerp-header.png'):
line 308, change :
self.options['addons_path'] = os.path.join(self.options['root_path'], 'addons')
by
self.options['addons_path'] = os.path.join(self.options['root_path'], os.path.join('bin', 'addons'))
Hope this will help.
Bye