openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07191
[Bug 859720] Re: Can not restore database due to bad tempory file path
Thanks for the fix hint, this should be fixed in
4060 revid:al@xxxxxxxxxxx-20120214193030-uhqyuo70l527ypsn
** Changed in: openobject-server
Importance: Undecided => Low
** Changed in: openobject-server
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/859720
Title:
Can not restore database due to bad tempory file path
Status in OpenERP Server:
Fix Released
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\TEMP\s2oo.3"
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/859720/+subscriptions