Hello Steven, Please post a request on [email protected] for the same.
Thanks. ** Description changed: 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) + 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) + 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) + 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. - - Maintenance Contract ID: M000052 ** Tags added: maintenance -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/770257 Title: Error on Restoring v5-v6 Migrated Database through GTK Status in OpenERP Server: New 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. _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

