← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 582110] Re: import module no impot in windows - openerp-server v6 revno2258

 

Hi,
bug can be closed
always corrected

line 47         in server/bin/openerp-server.py

if os.name == 'posix':
    import pwd
    # We DON't log this using the standard logger, because we might mess
    # with the logfile's permissions. Just do a quick exit here.
    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)

Bye

-- 
import module no impot in windows - openerp-server v6 revno2258
https://bugs.launchpad.net/bugs/582110
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:
In windows there is a import error, with pwd unix module.