The action I have a table/collection with 3 objects

In the table this is reverenced as

 Field('host_id', mdb.hoststable,
          comment="Like nim or hmc server.",
          label=T('Destination Host ID')),

But when in appadmin I select a other object to change then it throws a
error.

The error


      Ticket ID

127.0.0.1.2013-03-21.15-46-39.9f2786b5-d69c-4e31-a6c9-dd76f3692e59


        <type 'exceptions.RuntimeError'> uncaught exception when
        updating rows: MongoDB can only handle up to 8-byte ints


      Version

web2py^(TM)     Version 2.4.5-stable+timestamp.2013.03.18.22.46.22
Python  Python 2.7.3: /usr/bin/python2.7 (prefix: /usr)


      Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

        

Traceback (most recent call last):
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/gluon/restricted.py",
 line 212, in restricted
    exec ccode in environment
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/applications/adeploy/compiled/controllers_appadmin_update.py",
 line 410, in <module>
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/gluon/globals.py",
 line 194, in <lambda>
    self._caller = lambda f: f()
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/applications/adeploy/compiled/controllers_appadmin_update.py",
 line 277, in update
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/gluon/sqlhtml.py",
 line 1527, in accepts
    self.id_field_name]).update(**fields)
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/gluon/dal.py",
 line 9834, in update
    ret = db._adapter.update(tablename,self.query,fields)
  File 
"/home/mv1965/Documents/development/eclipse/workspacejuno/w2pdeploy/gluon/dal.py",
 line 5450, in update
    raise RuntimeError("uncaught exception when updating rows: %s" % e)
RuntimeError: uncaught exception when updating rows: MongoDB can only handle up 
to 8-byte ints


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to