I would be very much interested in a web2py war file! We can distribute it 
directly from the web2py.com

On Tuesday, 17 July 2012 19:03:40 UTC-5, Duncan wrote:
>
> Thanks, Massimo,
>
> I'm happy to say that I now have a *working*** web2py install in Tomcat*! 
>
> The 'translate' issue was a bit of a cryptic one, but thanks to a previous 
> post by Sergio, I realised that the issue was in a redundant cookie check 
> in the Jython Cookie.py file. I just comment out the if block and it now 
> works. 
>
> The examples app runs and displays the web2py Web Framework menu page. 
> Woot! :)
>
>  For clarity: I commented out lines 450/451 in the Jython Cookie.py file:
>
> #        if "" != translate(key, idmap, LegalChars):
> #            raise CookieError("Illegal key value: %s" % key)
>
> *So the remaining bits of work I need to do is check up on the details of 
> making a JDBC connection to sqlite instead of driver-based. At that point I 
> figure the 'welcome' app will then work, too. Currently it can't use/find 
> the driver missing from CPython --> Jython.
>
> Finally, I'll need to sort out some unavailable Unicode methods from the 
> Jython side.
>
> I'm hoping to document it all, and possibly even create a deploy-ready 
> web2py.war file.
>
> More news as it comes to hand.
>
>
> On Wednesday, 18 July 2012 03:40:09 UTC+10, Massimo Di Pierro wrote:
>>
>> This is a jython bug. Does this error make sense to you?
>>
>>     "translate() takes 2 arguments (2 given)"
>>
>>
>>>

-- 



Reply via email to