← Back to team overview

openerp-india team mailing list archive

[Bug 916771] [NEW] Space in database name gives error on creation the database

 

Public bug reported:

Space in database name gives error on creation the database.

Windows installation of RC1

[2012-01-15 14:31:06,345][Test1 Test2] ERROR:db.create:CREATE DATABASE failed:
Traceback (most recent call last):
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\service\web_services.py", line 59, in _initialize_db
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 468, in cursor
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 176, in __init__
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 368, in _locked
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 404, in borrow
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 498, in dsn_are_equals
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 495, in key
ValueError: dictionary update sequence element #5 has length 1; 2 is required
[2012-01-15 14:31:06,352][template1] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "POST /web/database/create HTTP/1.1" 200 -
[2012-01-15 14:31:06,378][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "POST /web/database/progress HTTP/1.1" 200 -
[2012-01-15 14:31:06,750][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-bg_flat_75_ffffff_40x100.png HTTP/1.1" 500 -
[2012-01-15 14:31:06,752][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-icons_222222_256x240.png HTTP/1.1" 500 -
[2012-01-15 14:31:06,753][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-bg_glass_75_e6e6e6_1x400.png HTTP/1.1" 500 -
[2012-01-15 14:31:06,755][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-bg_flat_0_aaaaaa_40x100.png HTTP/1.1" 500 -
[2012-01-15 14:31:06,756][?] ERROR:werkzeug:Error on request:

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/916771

Title:
  Space in database name gives error on creation the database

Status in OpenERP Addons (modules):
  New

Bug description:
  Space in database name gives error on creation the database.

  Windows installation of RC1

  [2012-01-15 14:31:06,345][Test1 Test2] ERROR:db.create:CREATE DATABASE failed:
  Traceback (most recent call last):
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\service\web_services.py", line 59, in _initialize_db
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 468, in cursor
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 176, in __init__
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 368, in _locked
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 404, in borrow
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 498, in dsn_are_equals
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 495, in key
  ValueError: dictionary update sequence element #5 has length 1; 2 is required
  [2012-01-15 14:31:06,352][template1] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "POST /web/database/create HTTP/1.1" 200 -
  [2012-01-15 14:31:06,378][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "POST /web/database/progress HTTP/1.1" 200 -
  [2012-01-15 14:31:06,750][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-bg_flat_75_ffffff_40x100.png HTTP/1.1" 500 -
  [2012-01-15 14:31:06,752][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-icons_222222_256x240.png HTTP/1.1" 500 -
  [2012-01-15 14:31:06,753][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-bg_glass_75_e6e6e6_1x400.png HTTP/1.1" 500 -
  [2012-01-15 14:31:06,755][?] INFO:werkzeug:127.0.0.1 - - [15/Jan/2012 14:31:06] "GET /web/webclient/webstaticlibjquery.ui%0Csssmoothness/images/ui-bg_flat_0_aaaaaa_40x100.png HTTP/1.1" 500 -
  [2012-01-15 14:31:06,756][?] ERROR:werkzeug:Error on request:

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


Follow ups

References