← Back to team overview

sikuli-driver team mailing list archive

[Bug 825273] Re: X-1.0rc2: IDE: using MongoDB - pymongo: connections not closed

 

May I disagree with you in some points? I created small and simple test script that only connects to mongo & closes this connection ( ~ 3 lines of code ) using pymongo driver.
It works great in the shell, but the same script doesn't close that connection in Sikuli. So it shows that this problem is not related to MongoDB or PyMongo driver, but to Jython/Sikuli.

I tried to launch Interactive Sikuli Jython Session from command line on
Windows7 to test my script without Sikuli IDE and got an error. ( "Can't
find dependent libraries" ). All paths are configured correctly. It
tries to find file VisionProxy.dll where it is, shows correct path, but
anyway fails.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/825273

Title:
  X-1.0rc2: IDE: using MongoDB - pymongo: connections not closed

Status in Sikuli:
  New

Bug description:
  Hi. I tried to write a sikuli script that takes & saves data to mongodb using pymongo.
  But sikuli raises non-blocking socket exception when pymongo trying to process data, especially if I call "save" method.
  I tried to fix this by connecting & disconnecting every time then I needed to get/change data.
  Also, I noticed that sikuli doesn't close the connections to mongo ( even if i call disconnect() method ), so after few minutes of working the amount of unclosed connections growes up very fast. MongoDB starts to deny all incoming connections and freezes. When I close Sikuli IDE, all those connections are shutting down, so MongoDB starts work correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/825273/+subscriptions


References