Can not restore database due to bad tempory file path
Bug #859720 reported by
Loic Alba
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi,
My platform is :
* Windows 2003 / Windows 2008
* OpenERP 6.0.3 AllInOne (Try on stable version and r3497)
I try restore a saved database.
The result of restore contains always sample data.
It seems to be the result of the following command :
pg_restore --no-owner --username=openpg --host=localhost --port=5432 --dbname=a4 " C:\WINDOWS\
As you can see, there is a space beetween " and C:\
So pg_restore does not find the file.
Looking in source, I think the problem is located in web_services.py file on line 241 :
args2.append(' ' + tmpfile)
In my opinion, the added space is not necessary but I do not have development environment to try this.
Regards
Loïc Alba
Related branches
Changed in openobject-server: | |
status: | New → Triaged |
Changed in openobject-server: | |
milestone: | none → 6.1 |
To post a comment you must log in.
Thanks for the fix hint, this should be fixed in
4060 revid:<email address hidden>