[vbox-dev] Concurrent Remote Python Sessions

Achim Hasenmueller achim at sun.com
Sat May 22 14:25:26 GMT 2010

Can you provide a small sample?


On May 22, 2010, at 09:02 , Robert Ramsay wrote:

> To Nikolay and all VirtualBox developers:
> Thanks for a great 3.2 release! The python API has been updated and
> fixed my previous error. But now I have a new issue. I can't seem to
> make concurrent "session's" with python. When two different python
> scripts try to use openExistingSession in the same thread it works
> fine. But If I use openExistingSession in two different threads or if
> I use a session object in a new thread it gives the COM error:
> (-2147417842, 'The Application called an interface that was marshalled
> for a different thread.'). And If I try to create a VirtualBoxManager
> in two different threads I get infinitely recursive COM get_name
> loops. The documentation says that openExistingSession should allow
> multiple sessions. I was able to do use threading with indifference to
> the session objects using the 3.1.6 SDK/API.
> Thanks,
> Robert
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100522/a044727b/attachment.html>

More information about the vbox-dev mailing list