Hi all,

If we try to open any product category in TinyERP 4.1.1 (client + server) we 
receive the error below. We are not sure when it first appeared because we do 
not often modify product categories (it has been working fine up until we 
noticed it a couple of days ago). As far as I am aware we have made no changes 
to the system in the past few weeks other than regular operational changes 
(i.e. data), but something must have changed somewhere!

To replicate:
- Open Products
- Double click "Product Categories"
- Try to open any product category (it will fail with this error)

Also you cannot click "New" "save" "Other View" etc - they are all greyed out.

I'm assuming (well hoping, actually) that it's a data issue - does anyone have 
any pointers for where I should be looking, and how I can troubleshoot this? 
I'm not familiar with python myself, but am happy to cruise through the 
database to identify dud data...

The error received is:

len() of unsized object

and:

Client Side Log:
================
ERROR:common.message:MSG len() of unsized object: Traceback (most recent call 
last):
  File "/home/internethic/aus_erp_dev/bin/netsvc.py", line 208, in _dispatch    
r=m(*params)
  File "/home/internethic/aus_erp_dev/bin/service/web_services.py", line 330, 
in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/internethic/aus_erp_dev/bin/osv/osv.py", line 104, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/internethic/aus_erp_dev/bin/osv/osv.py", line 85, in execute_cr
    res = getattr(obj,method)(cr, uid, *args, **kw)
  File "/home/internethic/aus_erp_dev/bin/osv/orm.py", line 1524, in search
    (qu1,qu2,tables) = self._where_calc(cr, user, args, context)
  File "/home/internethic/aus_erp_dev/bin/osv/orm.py", line 1405, in _where_calc

    if not len(res_ids):
TypeError: len() of unsized object

Server Side:
============
Fri, 03 Jul 2009 12:46:14 ERROR:web-services:Exception in call: Traceback (most 
recent call last):
  File "/home/internethic/aus_erp_dev/bin/netsvc.py", line 208, in _dispatch
    r=m(*params)
  File "/home/internethic/aus_erp_dev/bin/service/web_services.py", line 330, 
in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/internethic/aus_erp_dev/bin/osv/osv.py", line 104, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/internethic/aus_erp_dev/bin/osv/osv.py", line 85, in execute_cr
    res = getattr(obj,method)(cr, uid, *args, **kw)
  File "/home/internethic/aus_erp_dev/bin/osv/orm.py", line 1524, in search
    (qu1,qu2,tables) = self._where_calc(cr, user, args, context)
  File "/home/internethic/aus_erp_dev/bin/osv/orm.py", line 1405, in _where_calc
    if not len(res_ids):
TypeError: len() of unsized object


Thanks,

Chris Herrmann
Far Edge Technology

p. 02 84251400
m. 0403 393309
http://www.faredge.com.au

_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to