Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
It starts to run, gets to about 80% and then the message on the center off screen: Could Not Restore Database. But at the same time on a message box at right top corner says database resored.
Can not figure it out.
Thanks in advance for your time and help.
Please use below code.
openerp/tools/misc.py as follows:
def exec_pg_command(name, *args): prog = find_pg_tool(name) env = exec_pg_environ() with open(os.devnull) as dn: # default commit 4bd2ee1 # https://github.com/odoo/odoo/commit/4bd2ee1aaace8e7f6fa5621688e00dc2115fa8a7 # args2 = (prog,) + args # rc = subprocess.call(args2, env=env, stdout=dn, stderr=subprocess.STDOUT) # if rc: # raise Exception('Postgres subprocess %s error %s' % (args2, rc)) # # # new modification maclarensg # https://github.com/odoo/odoo/issues/5241#issuecomment-76509036 rc = subprocess.call((prog,) + args, env=env, stdout=dn, stderr=subprocess.STDOUT) # new modification end
Hope this help for you.
Ankit H Gandhi.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/12/15, 10:16 AM|
|Seen: 4781 times|
|Last updated: 4/14/16, 2:18 AM|