[vbox-dev] VBoxWeb

Josh Wright jshwright at gmail.com
Wed Apr 22 08:27:27 PDT 2009


VBoxWeb ships with the xpcom bindings, there's no need to "install" the sdk.

There should be an "xpcom" folder in vboxweb/ which is where it should
import from.

The "hit it with a big hammer" fix would be to copy the xpcom folder
to /usr/local/lib/python2.5/site-packages/

~JW

On Tue, Apr 21, 2009 at 2:43 PM, Alexey Eremenko <al4321 at gmail.com> wrote:
> On Tue, Apr 14, 2009 at 1:38 PM, Josh Wright <jshwright at gmail.com> wrote:
>> http://github.com/JshWright/vboxweb/tree/master
>>
>> In in interest of trying to start a community project that utilizes
>> the VBox SDK, I've started VBoxWeb, a web frontend for VirtualBox on
>> Solaris/Linux/Mac (only tested on Linux thus far) hosts using
>> cherrypy. Over the past week (with a lot of help from erstazi), it's
>> grown into what looks to be a solid launching point for an interesting
>> project.
>>
>> So, download (or clone) it and try. Comments, suggestions, and code
>> are all welcome.
>>
>
> OK, I was able to install it. But I can't do any actions with it.
> Can't start/stop VMs.
>
> I get this on FFox client:
> ========================================
> 500 Internal Server Error
>
> The server encountered an unexpected condition which prevented it from
> fulfilling the request.
>
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cprequest.py",
> line 606, in respond
>    cherrypy.response.body = self.handler()
>  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cpdispatch.py",
> line 25, in __call__
>    return self.callable(*self.args, **self.kwargs)
>  File "/root/Linstall/vboxweb/content.py", line 111, in control
>    session = self.mgr.getSessionObject(self.vbox)
>  File "./vboxweb.py", line 61, in getSessionObject
>    return xpcom.components.classes["@virtualbox.org/Session;1"].createInstance()
> NameError: global name 'xpcom' is not defined
> ========================================
> Main problem is that I'm not sure if I installed SDK correctly. How to
> install VBox SDK ?
>
> --
> -Alexey Eromenko "Technologov"
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>




More information about the vbox-dev mailing list