← Back to team overview

sikuli-driver team mailing list archive

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

 

No need to disagree ;-)

I admitted, that this might make problems, when running these scripts in
the IDE. So the recommendation is, to us any of the available command
line versions.

There is already a request to implement some finalization/reset in the
IDE (e.g. to be be able to redo an import, ...), but according to the
developers not so easy and low priority.

-- Interactive Sikuli
I have:
Sikuli in: c:\Program Files\Sikuli X

system path added: c:\Program Files\Sikuli X\libs;c:\Program
Files\Java\jre6\bin

running from command line:
java -jar  "c:\Program Files\Sikuli X\sikuli-script.jar" -i

non problems on my Win7-32.

-- 
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