Not able to import pythons sqlite3 module in sikuli IDE

Asked by Mujeebu Rahman

Hi,

Below exception is thrown upon importing 'sqlite3' module in sikuli IDE,

[error] ImportError ( No module named sqlite3 )

Anybody can help how to use sqlite3 module in sikuli IDE.

Regards.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Mujeebu Rahman
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1

Check in the net, what sqlite3 support is available for jython.

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#2

Hey RaiMan, thanks. But I didn't find any sqlite3 support for jython.

In the Jython official website they have mentioned it would soon support.

http://www.jython.org/faq3.html

Revision history for this message
RaiMan (raimund-hocke) said :
#3
Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#4

Thanks RaiMan, that solved my question.

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#5

RaiMan,

I tried the one from your comment #3, but I am getting the below exception,

[error] The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. [SQLCode ( 0], [SQLState: 08S01] )

Note: tried in sikuliX IDE Version 1.0.1

Regards.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

has nothing to do with Sikuli.

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#7

Raiman,

Can you provide me some information on how to connect to the sqlite DB in Sikuli.

I tried a lot googling it, but i didn't find any.

Regards.

Revision history for this message
RaiMan (raimund-hocke) said :
#8

did you google that?

jython jdbc sqlite

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#9

I tried but I am not able to get a proper jython equivalent.

Revision history for this message
RaiMan (raimund-hocke) said :
#10

Sorry, but I have no time currently, to dig into this special area.

I guess you have to try harder ;-)

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#11

;(