I have not tried in some time.What errors do you get?

On Jun 23, 3:50 am, Richard <richb...@gmail.com> wrote:
> Hi,
>
> has anyone running a reasonably current version of web2py running on
> Jython 2.5.x? I need help with this.
>
> From reading the available information on the web I gained the
> impression that Jython 2.5 is a fully supported platform. Wikipedia
> says "web2py since v1.64.0 runs unmodified on Java with Jython 2.5,
> without any known limitation". The Official (3rd Ed.) web2py Book
> seems to support this claim, although the installation instructions
> seem to be a bit outdated (zxJDBC is included in the 2.5.x Jython
> install Jar, no need to install it separately).
>
> The problem is, my experiences so far are very different. Here is the
> reason why I am asking for help. I am facing a situation where I want
> to have web2py running on a Linux host on which  I have no admin
> rights. The problem is that this machine has only Python 2.4
> installed. Although web2py claims to be running on Python 2.4, it
> really doesn't out of the box. A backported hashlib module would have
> to be additionally installed. This doesn't seem to be a viable option
> for me, given my limited admin rights on this machine. A Jython
> install on the other hand should pose no problem. The additional gain
> of this approach is, Jython 2.5 is an officially supported Python
> version (2.5.2), Python 2.4 is not.
>
> I can only try this next week for real, but I did some preliminary
> tests on my local machine during the last few days. I tried on Windows
> XP with Jython 2.5.0/ 2.5.1/ 2.5.2. I tested on an old (but updated)
> Ubuntu installation with Jython 2.5.2. I tested on a Linux VM running
> on Virtualbox 4.0.8. The consistent result for me was that the current
> web2py releases don't work on Jython. For example with R-1.90.2 and
> later the welcome app shows immediately (on first access) a ticket.
> Root cause has something to do with the sqlite driver
> ('com.ziclix.python.sql.PyConnection' object has no attribute
> 'create_function'). Even older versions seem to raise exceptions with
> tracebacks shown in the Jython console, hinting to 'rocket' and
> 'multithreading'. Details available upon request.
>
> The most 'recent' version of web2py that seems to be running with
> Jython 2.5.x seems to be 1.85.2 (hg commit #907). Even #918 seems to
> be working fine. Later versions don't. I diffed the sources, but
> somehow couldn't make sense of it.
>
> So that is where I am standing now. What I am doing wrong? I seem to
> be quite alone with my experiences since Google didn't provide
> pointers to fellow sufferers. To reiterate my question: Has anyone
> running a reasonably current version of web2py running on Jython
> 2.5.x?
>
> Regards,
> Richard

Reply via email to