I'm not so sure about the few changes.  I gave it half an hour and got 
as far as this:

Traceback (most recent call last):
  File "C:\svnext\web2py\trunk-svn\gluon\wsgiserver.py", line 765, in 
communicate
    req.respond()
  File "C:\svnext\web2py\trunk-svn\gluon\wsgiserver.py", line 488, in respond
    self._respond()
  File "C:\svnext\web2py\trunk-svn\gluon\wsgiserver.py", line 499, in _respond
    response = self.wsgi_app(self.environ, self.start_response)
  File "C:\svnext\web2py\trunk-svn\gluon\main.py", line 279, in app_with_logging
    ret=wsgiapp(environ,responder2)
  File "C:\svnext\web2py\trunk-svn\gluon\rewrite.py", line 45, in <lambda>
    wsgibase_new=lambda e,r: wsgibase(filter_in(e),r)
  File "C:\svnext\web2py\trunk-svn\gluon\main.py", line 203, in wsgibase
    serve_controller(request,response,session)
  File "C:\svnext\web2py\trunk-svn\gluon\main.py", line 82, in serve_controller
    run_view_in(response._view_environment)
  File "C:\svnext\web2py\trunk-svn\gluon\compileapp.py", line 212, in 
run_view_in
    code=parse_template(response.view,os.path.join(folder,'views/'),
  File "C:\svnext\web2py\trunk-svn\gluon\template.py", line 97, in 
parse_template
    text=replace(re_strings,text,lambda x: x.replace('\n','\\n'))
  File "C:\svnext\web2py\trunk-svn\gluon\template.py", line 55, in replace
    for item in regex.finditer(text):
StackOverflowError: java.lang.StackOverflowError


The alphaness of Jython might not quite be ready for us to spend too 
much time on it if regexps and iteration don't work right.  For those 
interested, here's the progress I made:
comment out all references to signal and webbrowser modules in widget.py 
and main.py.  Note that Jython currently does not support the sqlite3 
module either.  It will serve static files with no trouble, but gets 
caught in the template code.

-tim


mdipierro wrote:
> Timothy and Jaroslaw,
>
> you seem to be ahead of everybody else on jython. Why don't you try
> make a branch of web2py that works on jython?
> I do not forecast many changes. I will help but I will not have time
> to run it. Once done we can merge.
>
> I would really like to see this working.
>
> Massimo
>
> On Oct 13, 10:59 am, mdipierro <[EMAIL PROTECTED]> wrote:
>   
>> Only gluon/widget.py uses the signal module as a way to start/stop the
>> web server from GUI.
>> Could you comment those lines and try again?
>>
>> Massimo
>>
>> On Oct 13, 10:26 am, Timothy Farrell <[EMAIL PROTECTED]> wrote:
>>
>>     
>>> I tried it with web2py (morbid curiosity) and it dies for lack of a
>>> signal module.
>>>       
>>> Jaroslaw Zabiello wrote:
>>>       
>>>> There is Jython v2.5alpha3 and it already works with Django (http://
>>>> wiki.python.org/jython/DjangoOnJython).
>>>>         
>>>> On 13 Paź, 15:59, Timothy Farrell <[EMAIL PROTECTED]> wrote:
>>>>         
>>>>> They have a 2.5 alpha.
>>>>>           
>>>>> Maybe, just maybe.
>>>>>           
>>>>> Phyo Arkar wrote:
>>>>>           
>>>>>> I doubt it..
>>>>>>             
>>>>>> Jython is only compatible up to 2.3 version of Python
>>>>>>             
>>>>>> On Mon, Oct 13, 2008 at 2:50 PM, Jaroslaw Zabiello
>>>>>> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>>>>>             
>>>>>>     Can web2py use Jython if I would  need some Java libraries?
>>>>>>             
>>>>>  tfarrell.vcf
>>>>> < 1KViewDownload
>>>>>           
>>>  tfarrell.vcf
>>> < 1KViewDownload
>>>       
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Timothy Farrell
n:Farrell;Timothy
org:Statewide General Insurance Agency;IT
adr:;;4501 East 31st Street;Tulsa;OK;74135;US
email;internet:[EMAIL PROTECTED]
title:Computer Guy
tel;work:(918)492-1446
url:www.swgen.com
version:2.1
end:vcard

Reply via email to