Hello everyone,
I've found Business Intelligence (BI) module very powerful to build dynamic reports/statistics. But unfortunately I cannot run it properly.
I'm running trunk version with last updates.
I've created a new database with samples and installed some modules including BI (profile_BI, olap) and olap_sale, olap_crm.
Now I can
partially use olap cube Sales in olap schema OpenERPSales (and OpenERPCRM's cubes as well).
For example, I've built summarized reports:
Code:
| | Unit Sold
--------------------
| Users | 11
But I cannot drill-down olap hierarchy "Users". The application shows "Loading..." and nothing happens.
After short investigation I've found that after dragging-and-dropping olap hierarchy "Users" to the droppable place (at the right) the application server shows the error:
[2009-07-13 11:33:35,312] ERROR:web-services:[01]: Traceback (most recent call last):
[2009-07-13 11:33:35,312] ERROR:web-services:[02]: File "D:\Projects\Workspace\OpenERP-Server\bin\osv\osv.py", line 59, in wrapper
[2009-07-13 11:33:35,312] ERROR:web-services:[03]: return f(self, dbname, *args, **kwargs)
[2009-07-13 11:33:35,312] ERROR:web-services:[04]: File "D:\Projects\Workspace\OpenERP-Server\bin\osv\osv.py", line 119, in execute
[2009-07-13 11:33:35,312] ERROR:web-services:[05]: res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2009-07-13 11:33:35,312] ERROR:web-services:[06]: File "D:\Projects\Workspace\OpenERP-Server\bin\osv\osv.py", line 111, in execute_cr
[2009-07-13 11:33:35,312] ERROR:web-services:[07]: return getattr(object, method)(cr, uid, *args, **kw)
[2009-07-13 11:33:35,312] ERROR:web-services:[08]: File "D:\Projects\Workspace\OpenERP-Server\bin\addons\olap\olap.py", line 278, in request
[2009-07-13 11:33:35,312] ERROR:web-services:[09]: find_table = warehouse.match_table(cr, uid, request, context)
[2009-07-13 11:33:35,312] ERROR:web-services:[10]: File "D:\Projects\Workspace\OpenERP-Server\bin\addons\olap\cube\warehouse.py", line 148, in match_table
[2009-07-13 11:33:35,312] ERROR:web-services:[11]: result = self.parse_query(request)
[2009-07-13 11:33:35,312] ERROR:web-services:[12]: File "D:\Projects\Workspace\OpenERP-Server\bin\addons\olap\cube\warehouse.py", line 220, in parse_query
[2009-07-13 11:33:35,312] ERROR:web-services:[13]: qr = query_parser.parseString(query)
[2009-07-13 11:33:35,312] ERROR:web-services:[14]: File "C:\Programs\Python25\lib\site-packages\pyparsing-1.5.2-py2.5-win32.egg\pyparsing.py", line 1078, in parseString
[2009-07-13 11:33:35,312] ERROR:web-services:[15]: raise exc
[2009-07-13 11:33:35,312] ERROR:web-services:[16]:
ParseException: Expected "}" (at char 15), (line:1, col:16)
The same error is with OpenERPCRM module samples.
I've traced the application. The error occurs while parsing the string:
"
select {[Users].children} on rows from Sales" in module pyparsing.py.
Does anybody use the BI module without any troubles?
Does the module work properly at the moment?
Could you provide me with working samples?
I've registered a bug in Launchpad:
https://bugs.launchpad.net/openobject-bi/+bug/398711
If you need more information from me, just drop a word to this topic.
Ragards,