and FYI, using the command line option -N does in fact remove the error 
message about cron.

On Tuesday, July 10, 2012 11:38:38 AM UTC-7, Derek wrote:
>
> C:\Temp\web2py>cd gluon
>
> C:\Temp\web2py\gluon>cd contrib
>
> C:\Temp\web2py\gluon\contrib>c:\pypy-1.9\pypy.exe
> Python 2.7.2 (341e1e3821ff, Jun 07 2012, 15:43:00)
> [PyPy 1.9.0 with MSC v.1500 32 bit] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> And now for something completely different: ``running pypy-c translate.py 
> is a
> bit like watching a thriller movie, it could consume all the memory at any
> time''
> >>>> import pymysql
> >>>>
>
>
> Worked just fine.
>
> On Tuesday, July 10, 2012 11:18:07 AM UTC-7, Massimo Di Pierro wrote:
>>
>> Please try two things:
>>
>> 1) run with web2py.py -N this will disable cron and the cron error 
>> message.
>>
>> 2) python the pypy shell (without web2py) try import pymysql (it is in 
>> web2py/gluon/contrib). 
>>
>>
>>
>> On Tuesday, 10 July 2012 13:12:11 UTC-5, Derek wrote:
>>>
>>> Just an FYI - I tested running web2py on pypy 1.9...
>>>
>>> No handlers could be found for logger "web2py"
>>> web2py Web Framework
>>> Created by Massimo Di Pierro, Copyright 2007-2011
>>> Version 1.99.7 (2012-03-04 22:12:08) stable
>>> Database drivers available: SQLite3, pymysql, pg8000, IMAP
>>> Starting hardcron...
>>> WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking
>>> WARNING:web2py:GUI not available because Tk library is not installed
>>>
>>> It seemed to load some test apps that I had created, long as they used 
>>> sqlite. I can't seem to get it to work with pymssql (perhaps I dont have 
>>> the right libraries installed?).  Also it seemed to be erroring a lot about 
>>> "CRON" - that message kept being repeated every few minutes. However, the 
>>> admin interface works, everything else seems okay.
>>>
>>> It's my belief that web2py speed would increased, because if most of the 
>>> processor time is spent in the views, it would certainly help. In any case, 
>>> I'm glad to see it works. If anyone else wants to give it a go, it works 
>>> great.
>>>
>>

Reply via email to