← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 812229] [NEW] Cube Browser can't browse dimensions with french letters

 

Public bug reported:

When I'm using the Cube Browser, I get an error from the Pyparsing.
The error is only on dimension names that contains french special characters like : è, é ...
I added those chars to the alphas of PyParsing by modifying :
1 : #-*-encoding:utf-8-*-
105 : alphas = string.ascii_lowercase + string.ascii_uppercase + 'àèéêëùû'
141 : alphas = string.ascii_lowercase + string.ascii_uppercase + 'àèéêëùû'
I tried so many ideas but I still don't get the problem fixed.

The trace I get is like that :

ERROR:web-services:[01]: 
ERROR:web-services:[02]: Environment Information : 
ERROR:web-services:[03]: System : Linux-2.6.32-33-generic-i686-with-Ubuntu-10.04-lucid
ERROR:web-services:[04]: OS Name : posix
ERROR:web-services:[05]: Distributor ID:	Ubuntu
ERROR:web-services:[06]: Description:	Ubuntu 10.04.2 LTS
ERROR:web-services:[07]: Release:	10.04
ERROR:web-services:[08]: Codename:	lucid
ERROR:web-services:[09]: Operating System Release : 2.6.32-33-generic
ERROR:web-services:[10]: Operating System Version : #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011
ERROR:web-services:[11]: Operating System Architecture : 32bit
ERROR:web-services:[12]: Operating System Locale : fr_FR.UTF8
ERROR:web-services:[13]: Python Version : 2.6.5
ERROR:web-services:[14]: OpenERP-Server Version : 5.0.16
ERROR:web-services:[15]: Last revision No. & ID : 20110425
ERROR:web-services:[16]: Traceback (most recent call last):
ERROR:web-services:[17]:   File "/home/tidianes/workspace/.../server/bin/osv/osv.py", line 61, in wrapper
ERROR:web-services:[18]:     return f(self, dbname, *args, **kwargs)
ERROR:web-services:[19]:   File "/home/tidianes/workspace/.../server/bin/osv/osv.py", line 122, in execute
ERROR:web-services:[20]:     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
ERROR:web-services:[21]:   File "/home/tidianes/workspace/.../server/bin/osv/osv.py", line 114, in execute_cr
ERROR:web-services:[22]:     return getattr(object, method)(cr, uid, *args, **kw)
ERROR:web-services:[23]:   File "/home/tidianes/workspace/.../server/bin/addons/olap/olap.py", line 289, in request
ERROR:web-services:[24]:     mdx = mdx_parser.parse(request)
ERROR:web-services:[25]:   File "/home/tidianes/workspace/.../server/bin/addons/olap/cube/mdx_parser.py", line 176, in parse
ERROR:web-services:[26]:     return  mdx_query_parser.parseString(query)[0]
ERROR:web-services:[27]:   File "/usr/local/lib/python2.6/dist-packages/pyparsing-1.5.5-py2.6.egg/pyparsing.py", line 1101, in parseString
ERROR:web-services:[28]:     raise exc
ERROR:web-services:[29]: ParseException: Expected "}" (at char 20), (line:1, col:21)
Thanks for your help.

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


** Tags: browser characters cube french

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

Title:
  Cube Browser can't browse dimensions with french letters

Status in OpenObject - Business Intelligence Solution:
  New

Bug description:
  When I'm using the Cube Browser, I get an error from the Pyparsing.
  The error is only on dimension names that contains french special characters like : è, é ...
  I added those chars to the alphas of PyParsing by modifying :
  1 : #-*-encoding:utf-8-*-
  105 : alphas = string.ascii_lowercase + string.ascii_uppercase + 'àèéêëùû'
  141 : alphas = string.ascii_lowercase + string.ascii_uppercase + 'àèéêëùû'
  I tried so many ideas but I still don't get the problem fixed.

  The trace I get is like that :

  ERROR:web-services:[01]: 
  ERROR:web-services:[02]: Environment Information : 
  ERROR:web-services:[03]: System : Linux-2.6.32-33-generic-i686-with-Ubuntu-10.04-lucid
  ERROR:web-services:[04]: OS Name : posix
  ERROR:web-services:[05]: Distributor ID:	Ubuntu
  ERROR:web-services:[06]: Description:	Ubuntu 10.04.2 LTS
  ERROR:web-services:[07]: Release:	10.04
  ERROR:web-services:[08]: Codename:	lucid
  ERROR:web-services:[09]: Operating System Release : 2.6.32-33-generic
  ERROR:web-services:[10]: Operating System Version : #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011
  ERROR:web-services:[11]: Operating System Architecture : 32bit
  ERROR:web-services:[12]: Operating System Locale : fr_FR.UTF8
  ERROR:web-services:[13]: Python Version : 2.6.5
  ERROR:web-services:[14]: OpenERP-Server Version : 5.0.16
  ERROR:web-services:[15]: Last revision No. & ID : 20110425
  ERROR:web-services:[16]: Traceback (most recent call last):
  ERROR:web-services:[17]:   File "/home/tidianes/workspace/.../server/bin/osv/osv.py", line 61, in wrapper
  ERROR:web-services:[18]:     return f(self, dbname, *args, **kwargs)
  ERROR:web-services:[19]:   File "/home/tidianes/workspace/.../server/bin/osv/osv.py", line 122, in execute
  ERROR:web-services:[20]:     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  ERROR:web-services:[21]:   File "/home/tidianes/workspace/.../server/bin/osv/osv.py", line 114, in execute_cr
  ERROR:web-services:[22]:     return getattr(object, method)(cr, uid, *args, **kw)
  ERROR:web-services:[23]:   File "/home/tidianes/workspace/.../server/bin/addons/olap/olap.py", line 289, in request
  ERROR:web-services:[24]:     mdx = mdx_parser.parse(request)
  ERROR:web-services:[25]:   File "/home/tidianes/workspace/.../server/bin/addons/olap/cube/mdx_parser.py", line 176, in parse
  ERROR:web-services:[26]:     return  mdx_query_parser.parseString(query)[0]
  ERROR:web-services:[27]:   File "/usr/local/lib/python2.6/dist-packages/pyparsing-1.5.5-py2.6.egg/pyparsing.py", line 1101, in parseString
  ERROR:web-services:[28]:     raise exc
  ERROR:web-services:[29]: ParseException: Expected "}" (at char 20), (line:1, col:21)
  Thanks for your help.

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


Follow ups

References