openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15195
[Bug 770257] Re: Error on Restoring v5-v6 Migrated Database through GTK
Steven,
Does not seem to be an OpenERP error.
Focus : input file does not appear to be a valid archive
Thanks.
** Changed in: openobject-server
Status: New => Invalid
--
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/770257
Title:
Error on Restoring v5-v6 Migrated Database through GTK
Status in OpenERP Server:
Invalid
Bug description:
When restoring a database, that has been migrated by OpenERP SA, we
receive the following error:
/home/openerp/openerp-server_lp-6/bin/sql_db.py:354: DeprecationWarning: You use an expensive function to test a connection.
DeprecationWarning, stacklevel=1)
[2011-04-19 18:19:14,896][test_5] ERROR:db.connection_pool:Connection to the database failed
Traceback (most recent call last):
File "/home/openerp/openerp-server_lp-6/bin/sql_db.py", line 303, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: database "test5" does not exist
pg_restore: [archiver] input file does not appear to be a valid archive
[2011-04-19 18:19:16,443][template1] DEBUG_RPC:exception:u'32\nBroken pipe'
[2011-04-19 18:19:16,444][template1] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
File "/home/openerp/openerp-server_lp-6/bin/service/netrpc_server.py", line 70, in run
result = self.dispatch(msg[0], msg[1], msg[2:])
File "/home/openerp/openerp-server_lp-6/bin/netsvc.py", line 499, in dispatch
raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException
If we restore the database directly on the system via pg_dump, it
works. There is just this problem restoring the database via OpenERP.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/770257/+subscriptions