In gluon/sql.py there are these lines:

try:
    from com.ziclix.python.sql import zxJDBC
    import java.sql
    from org.sqlite import JDBC
    drivers.append('zxJDBC')
    logger.warning('zxJDBC support is experimental')
    is_jdbc = True
except:
    logger.debug('no zxJDBC driver')
    is_jdbc = False

somehow the exception is raised.



On Nov 27, 11:46 pm, mdipierro <[email protected]> wrote:
> good. Can you try these three statements form shell?
>
> from com.ziclix.python.sql import zxJDBC
> import java.sql
> from org.sqlite import JDBC
>
> Massimo
>
> On Nov 27, 10:54 pm, pierreth <[email protected]> wrote:
>
> > On Nov 26, 6:41 pm, mdipierro <[email protected]> wrote:
>
> > > The instructions are here:http://web2py.com/book/default/chapter/12#Jython
>
> > > Make sure you have zxJDBC.
>
> > I don't understand. zxJDBC is included with Jython from long time ago.
>
> > I can do:
>
> > from com.ziclix.python.sql import zxJDBC
>
> > I don't remember having done the installation of this separately.
>
> > Could you explain?
>
>

Reply via email to