← Back to team overview

openerp-india team mailing list archive

[Bug 959066] [NEW] Restoring database

 

Public bug reported:

When restoring a database and you fill in a new database name with a
space character in the name, the database isn't correctly restored. When
starting, you get the error:

Client Traceback (most recent call last):
  File "C:\ERP4\addons\web\common\http.py", line 180, in dispatch
  File "C:\ERP4\addons\web\controllers\main.py", line 495, in authenticate
  File "C:\ERP4\addons\web\common\session.py", line 73, in authenticate
  File "C:\ERP4\addons\web\common\openerplib\main.py", line 117, in proxy
  File "C:\ERP4\addons\web\common\http.py", line 611, in send


Server Traceback (most recent call last):
  File "C:\ERP4\addons\web\common\http.py", line 592, in send
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\service\web_services.py", line 397, in dispatch
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\service\web_services.py", line 408, in exp_authenticate
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\pooler.py", line 50, in get_pool
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\pooler.py", line 33, in get_db_and_pool
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\modules\registry.py", line 138, in get
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\modules\registry.py", line 150, in new
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\modules\registry.py", line 54, in __init__
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 465, in cursor
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 173, in __init__
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 366, in _locked
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 402, in borrow
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 494, in dsn_are_equals
  File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 491, in key
ValueError: dictionary update sequence element #5 has length 1; 2 is required

Erwin

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  Restoring database

Status in OpenERP Server:
  New

Bug description:
  When restoring a database and you fill in a new database name with a
  space character in the name, the database isn't correctly restored.
  When starting, you get the error:

  Client Traceback (most recent call last):
    File "C:\ERP4\addons\web\common\http.py", line 180, in dispatch
    File "C:\ERP4\addons\web\controllers\main.py", line 495, in authenticate
    File "C:\ERP4\addons\web\common\session.py", line 73, in authenticate
    File "C:\ERP4\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\ERP4\addons\web\common\http.py", line 611, in send

  
  Server Traceback (most recent call last):
    File "C:\ERP4\addons\web\common\http.py", line 592, in send
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\service\web_services.py", line 397, in dispatch
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\service\web_services.py", line 408, in exp_authenticate
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\pooler.py", line 50, in get_pool
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\pooler.py", line 33, in get_db_and_pool
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\modules\registry.py", line 138, in get
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\modules\registry.py", line 150, in new
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\modules\registry.py", line 54, in __init__
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 465, in cursor
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 173, in __init__
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 366, in _locked
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 402, in borrow
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 494, in dsn_are_equals
    File "C:\Program Files\OpenERP 6.1-20120319-001512\server\.\openerp\sql_db.py", line 491, in key
  ValueError: dictionary update sequence element #5 has length 1; 2 is required

  Erwin

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/959066/+subscriptions


Follow ups

References