[web2py] Pypy 2.0 beta2 - is there anyone testing this with web2py?

2013-04-07 Thread David Marko
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Pypy 2.0 beta2 - is there anyone testing this with web2py?

2013-04-07 Thread Derek
i tested with 1.9. worked without scheduler. no gevent though, so i stayed away 
from implementing it. should work with 2.0

-- 

--- 
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.




Re: [web2py] Pypy 2.0 beta2 - is there anyone testing this with web2py?

2013-04-07 Thread Alfonso de la Guarda
Hi,

Well i get an error
 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"
,
line 43, in 

  File "/home/alfonsodg/Devel/web2py/gluon/globals.py", line 194, in 

self._caller = lambda f: f()

  File 
"/home/alfonsodg/Dropbox/Devel/web2py/applications/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  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 web2py+unsubscr...@googlegroups.com.
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Pypy 2.0 beta2 - is there anyone testing this with web2py?

2013-04-07 Thread Niphlod
you're right, there's a typo in dal.py.
Patch sent to Massimo.

On Sunday, April 7, 2013 8:54:51 PM UTC+2, Alfonso de la Guarda Reyes wrote:
>
> Hi,
>
> Well i get an error 
>  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"
>  
> ,
>  line 43, in 
>
>
>   File "/home/alfonsodg/Devel/web2py/gluon/globals.py", line 194, in 
>
>
> self._caller = lambda f: f()
>
>
>   File 
> "/home/alfonsodg/Dropbox/Devel/web2py/applications/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 
> > 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 web2py+un...@googlegroups.com .
>> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Pypy 2.0 beta2 - is there anyone testing this with web2py?

2013-04-27 Thread Evan Phelps
I also get the error but from a different line in dal.py.  Could you send 
me your patch so that I can see if I'm experiencing the same issue?  Or has 
it already been implemented in the web2py source (I didn't see a reference 
to it in the bugs list)?

running:

* Python 2.7.3 (c13457babbfb, Apr 22 2013, 17:59:01) [PyPy 2.0.0-beta2 with 
GCC 4.8.0]
* 2.4.6-stable+timestamp.2013.04.06.17.37.38 (Running on Rocket 1.2.6)

Could you send me the 
On Sunday, April 7, 2013 3:26:13 PM UTC-4, Niphlod wrote:
>
> you're right, there's a typo in dal.py.
> Patch sent to Massimo.
>
> On Sunday, April 7, 2013 8:54:51 PM UTC+2, Alfonso de la Guarda Reyes 
> wrote:
>>
>> Hi,
>>
>> Well i get an error 
>>  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"
>>  
>> ,
>>  line 43, in 
>>
>>
>>   File "/home/alfonsodg/Devel/web2py/gluon/globals.py", line 194, in 
>>
>>
>> self._caller = lambda f: f()
>>
>>
>>   File 
>> "/home/alfonsodg/Dropbox/Devel/web2py/applications/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  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 web2py+un...@googlegroups.com.
>>> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Pypy 2.0 beta2 - is there anyone testing this with web2py?

2013-04-28 Thread Niphlod
current trunk passes all tests on pypy 1.9.

https://travis-ci.org/web2py/web2py/jobs/6692704

On Sunday, April 28, 2013 5:17:07 AM UTC+2, Evan Phelps wrote:
>
> I also get the error but from a different line in dal.py.  Could you send 
> me your patch so that I can see if I'm experiencing the same issue?  Or has 
> it already been implemented in the web2py source (I didn't see a reference 
> to it in the bugs list)?
>
> running:
>
> * Python 2.7.3 (c13457babbfb, Apr 22 2013, 17:59:01) [PyPy 2.0.0-beta2 
> with GCC 4.8.0]
> * 2.4.6-stable+timestamp.2013.04.06.17.37.38 (Running on Rocket 1.2.6)
>
> Edit: I saw that changing the "long" parameter to "int" in "class 
> Reference(long)" seems to "fix" the error, but I don't know if this is the 
> typo your referred to.
>
> On Sunday, April 7, 2013 3:26:13 PM UTC-4, Niphlod wrote:
>>
>> you're right, there's a typo in dal.py.
>> Patch sent to Massimo.
>>
>>

-- 

--- 
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.