I uploaded a new version of web2py that runs on Jython (it run before
but one of the previous patches broke it).
HOWTO:
download jython_installer-2.5rc3.jar
java -jar jython_installer-2.5rc3.jar
cd [the created jython folder where ever it is]
./jython ../web2py/web2py.py -S mynewapp
>>> db=SQLDB('jdbc:sqlite:test.db')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/Users/mdipierro/web2py/gluon/sql.py", line 904, in __init__
self._pool_connection(lambda dbpath=dbpath: zxJDBC.connect
(java.sql.DriverManager.getConnection('jdbc:sqlite:'+dbpath)))
File "/Users/mdipierro/web2py/gluon/sql.py", line 635, in
_pool_connection
self._connection = f()
File "/Users/mdipierro/web2py/gluon/sql.py", line 904, in <lambda>
self._pool_connection(lambda dbpath=dbpath: zxJDBC.connect
(java.sql.DriverManager.getConnection('jdbc:sqlite:'+dbpath)))
SQLException: java.sql.SQLException: No suitable driver
I know I need to install sqlite-jdbc-3.6.14.2.jar but I have no idea
what to do with it. help?
Massimo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---