Comment 4 for bug 1155523

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote : Re: OpenERP 7 - Backup ACCESS DB DENIED

Hello ,

I have face this problem with latest trunk.
I agree with Michael ( Need to import os,base64) Before use it.

Traceback (most recent call last):
  File "/home/jir/workspace/Test/Workspace/Trun/server/trunk/openerp/netsvc.py", line 236, in dispatch_rpc
    result = dispatch(method, params)
  File "/home/jir/workspace/Test/Workspace/Trun/server/trunk/openerp/service/db.py", line 77, in dispatch
    return fn(*params)
  File "/home/jir/workspace/Test/Workspace/Trun/server/trunk/openerp/service/db.py", line 216, in exp_dump
    with _set_pg_password_in_environment():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/jir/workspace/Test/Workspace/Trun/server/trunk/openerp/service/db.py", line 205, in _set_pg_password_in_environment
    if os.name != 'nt' or os.environ.get('PGPASSWORD'):
NameError: global name 'os' is not defined

With Revision :

web = 3702
addons = 8630
server = 4826

THANKS.