OverflowError: long int too large to convert to int (SQLFORM.grid)

23 views
Skip to first unread message

szimszon

unread,
May 21, 2012, 6:21:29 AM5/21/12
to web...@googlegroups.com
  File "applications/szegedarchive/compiled/controllers_default_index.py", line 127, in index
  File "/srv/web2py/gluon/sqlhtml.py", line 1905, in grid
    tr.append(TD(link['body'](row)))
  File "applications/szegedarchive/compiled/controllers_default_index.py", line 120, in <lambda>
  File "/srv/web2py/gluon/dal.py", line 6851, in __getattr__
    self.__allocate()
  File "/srv/web2py/gluon/dal.py", line 6844, in __allocate
    self._record = self._table[int(self)]
  File "/srv/web2py/gluon/dal.py", line 7119, in __getitem__
    return self._db(self._id == key).select(limitby=(0,1)).first()
  File "/srv/web2py/gluon/dal.py", line 8110, in select
    return adapter.select(self.query,fields,attributes)
  File "/srv/web2py/gluon/dal.py", line 1402, in select
    return processor(rows,fields,self._colnames)
  File "/srv/web2py/gluon/dal.py", line 1704, in parse
    self.parse_value(value,field.type,blob_decode)
  File "/srv/web2py/gluon/dal.py", line 1581, in parse_value
    return self.parsemap[key](value,field_type)
  File "/srv/web2py/gluon/dal.py", line 1586, in parse_reference
    value = Reference(value)
OverflowError: long int too large to convert to int

http://code.google.com/p/web2py/issues/detail?id=815

szimszon

unread,
May 21, 2012, 6:44:23 AM5/21/12
to web...@googlegroups.com
Sorry, invalid.

Alan Etkin

unread,
Jan 1, 2013, 4:37:36 PM1/1/13
to web...@googlegroups.com
> El lunes, 21 de mayo de 2012 07:44:23 UTC-3, szimszon escribió:Sorry, invalid.

I am using a modified Mongodb adapter on dal.py and some queries result in the problem you posted. The issue has little info about this. Could you describe the cause of the issue with more detail?
Reply all
Reply to author
Forward
0 new messages