Hi,
Well i get an error
<type 'exceptions.TypeError'> unbound method __setattr__() must be called
with int instance as first argument (got Reference instance instead)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
Traceback (most recent call last):
File "/home/alfonsodg/Devel/web2py/gluon/restricted.py", line 212,
in restricted
exec ccode in environment
File
"/home/alfonsodg/Dropbox/Devel/web2py/applications/social_mapper/controllers/default.py"
<http://localhost:8000/admin/default/edit/social_mapper/controllers/default.py>,
line 43, in <module>
File "/home/alfonsodg/Devel/web2py/gluon/globals.py", line 194, in <lambda>
self._caller = lambda f: f()
File
"/home/alfonsodg/Dropbox/Devel/web2py/applications/social_mapper/controllers/default.py"
<http://localhost:8000/admin/default/edit/social_mapper/controllers/default.py>,
line 8, in user
return dict(form=auth())
File "/home/alfonsodg/Devel/web2py/gluon/tools.py", line 1245, in __call__
return getattr(self, args[0])()
File "/home/alfonsodg/Devel/web2py/gluon/tools.py", line 2142, in login
self.login_user(user)
File "/home/alfonsodg/Devel/web2py/gluon/tools.py", line 1817, in login_user
self.update_groups()
File "/home/alfonsodg/Devel/web2py/gluon/tools.py", line 2895, in
update_groups
table_membership.user_id == self.user.id).select()
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 9810, in select
return adapter.select(self.query,fields,attributes)
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 1676, in select
return self._select_aux(sql,fields,attributes)
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 1657, in _select_aux
return processor(rows,fields,self._colnames,cacheable=cacheable)
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 2028, in parse
value = self.parse_value(value,ft,blob_decode)
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 1876, in parse_value
return self.parsemap[key](value,field_type)
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 1882, in
parse_reference
value._table, value._record = self.db[referee], None
File "/home/alfonsodg/Devel/web2py/gluon/dal.py", line 8007, in __setattr__
int.__setattr__(self, key, value)
TypeError: unbound method __setattr__() must be called with int
instance as first argument (got Reference instance instead)
comes from dal.py
Saludos,
--------------------------------
Alfonso de la Guarda
Twitter: @alfonsodg
Redes sociales: alfonsodg
Telef. 991935157
1024D/B23B24A4
5469 ED92 75A3 BBDB FD6B 58A5 54A1 851D B23B 24A4
On Sun, Apr 7, 2013 at 1:17 PM, David Marko <[email protected]> wrote:
> Is there anyone testing Pyp with web2py. Is it usable now or in future as
> faster plarfotm?
>
> http://morepypy.blogspot.cz/2013/04/pypy-20-beta-2-released.html
>
> --
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.