Hello, I tried to use Jython with web2py. I am telling the story in my
blog:

http://pierrethibault.posterous.com/using-sqlite-with-java-on-linux

So far, I have this error:

Traceback (most recent call last):
  File "/media/pierreth-backup/work/web2py/gluon/restricted.py", line
188, in restricted
    exec ccode in environment
  File "/media/pierreth-backup/work/web2py/applications/welcome/models/
db.py", line 15, in <module>
    db = DAL('sqlite://storage.sqlite')       # if not, use SQLite or
other DB
  File "/media/pierreth-backup/work/web2py/gluon/sql.py", line 4051,
in DAL
    raise RuntimeError, "%s (tried 5 times)" % exception
RuntimeError: global name 'sqlite3' is not defined (tried 5 times)

Error snapshot help Detailed traceback description

<type 'exceptions.RuntimeError'>(global name 'sqlite3' is not defined
(tried 5 times))


How far have you been with Jython and web2py? Is it possible to make
the two work together?

Reply via email to