It is currently Sat Feb 11, 2012 8:51 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Error NoneType' object has no attribute 'expandtab using BI
PostPosted: Wed Jan 27, 2010 5:57 pm 
Offline

Joined: Mon Jul 27, 2009 6:41 pm
Posts: 78
Location: Leominster, UK
Hi

I finally managed to get open ERP Bi running with the web client from launchpad on 5.0.6.

i'm using my own db, but keep getting the same error whatever tables i try and create fields for.

I tried getting fields from partners and sales, but whatever i choose for Dimensions and Measures always gives me the same error when i try and drop either of the facets into the green area.

Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 242, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
return getattr(self, method)(*params)
File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 583, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/olap/olap.py", line 282, in request
mdx = mdx_parser.parse(request)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/olap/cube/mdx_parser.py", line 163, in parse
return self.mdx_query().parseString(query)[0]
File "/usr/lib/python2.5/site-packages/pyparsing-1.5.2-py2.5.egg/pyparsing.py", line 1068, in parseString
instring = instring.expandtabs()
AttributeError: 'NoneType' object has no attribute 'expandtabs'

what is expandtabs ? does sound too awkward, but i cant get anywhere at the moment

Julian


Top
 Profile  
 
 Post subject: Re: Error NoneType' object has no attribute 'expandtab using
PostPosted: Thu Jan 28, 2010 3:29 pm 
Offline

Joined: Fri Apr 21, 2006 7:28 pm
Posts: 1332
Location: Cambridge, UK
joolsr wrote:
....
Code:
AttributeError: 'NoneType' object has no attribute 'expandtabs'


This says that the None object has no attribute. It's not just returning a list of zero objects, it's returning a None.

_________________
Regards, Geoff

Seath Solutions Ltd, Cambridge, UK


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 28, 2010 3:36 pm 
Offline

Joined: Mon Jul 27, 2009 6:41 pm
Posts: 78
Location: Leominster, UK
So, its probably not returning a dataset correctly. I think Tiny shoudl add something here to capture problems such as this, but guess they will when its brought fully into stable


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 09, 2010 4:36 pm 
Offline

Joined: Mon Dec 07, 2009 12:06 pm
Posts: 6
Hi
i managed to run the olap module on windows but when i try to drag and drop i ve got nearly the same problem
this is the message

Traceback (most recent call last):
File "netsvc.pyo", line 235, in dispatch
File "netsvc.pyo", line 74, in __call__
File "service\web_services.pyo", line 526, in execute
File "osv\osv.pyo", line 59, in wrapper
File "osv\osv.pyo", line 119, in execute
File "osv\osv.pyo", line 111, in execute_cr
File "C:\Program Files\OpenERP AllInOne\Server\addons\olap\olap.py", line 282, in request
File "C:\Program Files\OpenERP AllInOne\Server\addons\olap\cube\mdx_parser.py", line 163, in parse
File "pyparsing.pyo", line 1048, in parseString
AttributeError: 'NoneType' object has no attribute 'expandtabs'

Anyone please to tel me how to resolve the problem.
i am very grateful


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 09, 2010 5:05 pm 
Offline

Joined: Mon Jul 27, 2009 6:41 pm
Posts: 78
Location: Leominster, UK
Tarik

If you find the answer, pls post it here, as i never did get this fixed

Julian


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP