[vbox-dev] VBoxWeb

Alexey Eremenko al4321 at gmail.com
Wed Apr 22 13:08:35 PDT 2009


When I try to connect with FFox client I get error.
Previous message contains error shown in FFox client itself.

This message contains error shown in console.
Running openSUSE 10.3/32-bit

suse103-home:~/Linstall/vboxweb # ./vboxweb.py
[22/Apr/2009:23:05:32] ENGINE Listening for SIGHUP.
[22/Apr/2009:23:05:32] ENGINE Listening for SIGTERM.
[22/Apr/2009:23:05:32] ENGINE Listening for SIGUSR1.
[22/Apr/2009:23:05:32] ENGINE Bus STARTING
[22/Apr/2009:23:05:32] ENGINE Started monitor thread '_TimeoutMonitor'.
[22/Apr/2009:23:05:32] ENGINE Started monitor thread 'Autoreloader'.
[22/Apr/2009:23:05:32] ENGINE Serving on 127.0.0.1:8080
[22/Apr/2009:23:05:32] ENGINE Bus STARTED
127.0.0.1 - - [22/Apr/2009:23:06:07] "GET /config HTTP/1.1" 401 1384
"" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070730
SUSE/2.0.0.6-25 Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:20] "GET /config HTTP/1.1" 200
2407 "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:20] "GET /media/style.css
HTTP/1.1" 304 - "http://127.0.0.1:8080/config" "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25
Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:20] "GET /media/jquery.js
HTTP/1.1" 304 - "http://127.0.0.1:8080/config" "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25
Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:20] "GET
/media/images/favicon.png HTTP/1.1" 304 - "" "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25
Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:20] "GET
/media/images/layout/temp_trans.png HTTP/1.1" 304 -
"http://127.0.0.1:8080/config" "Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:20] "GET
/media/images/layout/header1.png HTTP/1.1" 304 -
"http://127.0.0.1:8080/media/style.css" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25
Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:23] "GET / HTTP/1.1" 200 2109
"http://127.0.0.1:8080/config" "Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:23] "GET
/media/images/oses/os_other.png HTTP/1.1" 304 -
"http://127.0.0.1:8080/media/style.css" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25
Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:23] "GET
/media/images/oses/os_winxp.png HTTP/1.1" 304 -
"http://127.0.0.1:8080/media/style.css" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25
Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:24] "GET / HTTP/1.1" 200 2109
"http://127.0.0.1:8080/" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:26] "GET
/vm/info/{9b9e5fc5-1273-4955-a9ce-d7a7ec9902fe} HTTP/1.1" 200 4678
"http://127.0.0.1:8080/" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6"
127.0.0.1 - vboxweb [22/Apr/2009:23:06:26] "GET
/media/images/control/control_play_blue.png HTTP/1.1" 304 -
"http://127.0.0.1:8080/vm/info/%7B9b9e5fc5-1273-4955-a9ce-d7a7ec9902fe%7D"
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070730
SUSE/2.0.0.6-25 Firefox/2.0.0.6"
[22/Apr/2009:23:06:27] HTTP
Request Headers:
  AUTHORIZATION: Digest username="vboxweb", realm="Some site",
nonce="7a6940d74b7eead46b0a352f12d8bc18",
uri="/vm/control/power_up/%7B9b9e5fc5-1273-4955-a9ce-d7a7ec9902fe%7D",
algorithm=MD5, response="0032bcd9c457e66d9967d6025a3fc7c3", qop=auth,
nc=0000000d, cnonce="358144e400bea857"
  REFERER: http://127.0.0.1:8080/vm/info/%7B9b9e5fc5-1273-4955-a9ce-d7a7ec9902fe%7D
  HOST: 127.0.0.1:8080
  ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6
  CONNECTION: keep-alive
  Remote-Addr: 127.0.0.1
  ACCEPT-LANGUAGE: en-us,en;q=0.5
  ACCEPT-ENCODING: gzip,deflate
  KEEP-ALIVE: 300
[22/Apr/2009:23:06:27] HTTP 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 107, 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

127.0.0.1 - vboxweb [22/Apr/2009:23:06:27] "GET
/vm/control/power_up/{9b9e5fc5-1273-4955-a9ce-d7a7ec9902fe} HTTP/1.1"
500 1419 "http://127.0.0.1:8080/vm/info/%7B9b9e5fc5-1273-4955-a9ce-d7a7ec9902fe%7D"
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070730
SUSE/2.0.0.6-25 Firefox/2.0.0.6"

====================================
Josh Wright : Any ideas?

-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list