← Back to team overview

openerp-india team mailing list archive

[Bug 859720] Re: Can not restore database due to bad tempory file path

 

** Changed in: openobject-server
    Milestone: None => 6.1

-- 
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