xxtbg / vboxweb

Automatically exported from code.google.com/p/vboxweb
MIT License
0 stars 0 forks source link

Errror when starting vboxwebsrv.py #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy latest code from svn
2. run 'python vboxwebsrv.py'
3. Get error

What is the expected output? What do you see instead?

Here is the error

Traceback (most recent call last):
  File "VBoxWebSrv.py", line 516, in <module>
    g_virtualBoxManager = vboxapi.VirtualBoxManager(None, None)
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 471, in
__init__
    exec "self.platform = Platform"+style+"(platparams)"
  File "<string>", line 1, in <module>
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 220, in
__init__
    win32com.client.gencache.EnsureDispatch('VirtualBox.CallbackWrapper')
  File "C:\Python26\lib\site-packages\win32com\client\gencache.py", line
540, in EnsureDispatch
    disp_class = CLSIDToClass.GetClass(str(disp_clsid))
  File "C:\Python26\lib\site-packages\win32com\client\CLSIDToClass.py",
line 46, in GetClass
    return mapCLSIDToClass[clsid]
KeyError: '{308FF42A-DC45-49D4-A950-B1EEE5E00BB5}'

What version of the product are you using? On what operating system?

Windows XP 32 bit, Python 2.6 (All setup done exactly as in wiki install page)

Please provide any additional information below.

Original issue reported on code.google.com by church.d...@gmail.com on 21 Sep 2009 at 7:55

GoogleCodeExporter commented 9 years ago
I had this problem after upgrading to VirtualBox 3.1, but not before.

Original comment by pro...@gmail.com on 1 Dec 2009 at 8:59

GoogleCodeExporter commented 9 years ago
Since I upgraded from r88 to r92 I'm getting the same error.  I'm also running
Windows XP SP3 and Python 2.6 

Here are the error messages when I try to start the web server.

Traceback (most recent call last):
  File "VBoxWebSrv.py", line 535, in <module>
    g_vboxManager = vboxapi.VirtualBoxManager(None, None)
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 470, in __init__
    exec "self.platform = Platform"+style+"(platparams)"
  File "<string>", line 1, in <module>
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 219, in __init__
    win32com.client.gencache.EnsureDispatch('VirtualBox.VirtualBox')
  File "C:\Python26\lib\site-packages\win32com\client\gencache.py", line 540, in
EnsureDispatch
    disp_class = CLSIDToClass.GetClass(str(disp_clsid))
  File "C:\Python26\lib\site-packages\win32com\client\CLSIDToClass.py", line 46, in
GetClass
    return mapCLSIDToClass[clsid]
KeyError: '{2158464A-F706-414B-A8C4-FB589DFC6B62}' 

Original comment by McKennaJ...@gmail.com on 9 Dec 2009 at 6:07

GoogleCodeExporter commented 9 years ago
Is there a resolution to this problem?  I uninstalled Vbox, Subverion, Python, 
and
Python extensions and did a clean install per the instructions.  I still can not
start the web server (vboxwebsrv.py) getting:

Traceback (most recent call last):
  File "VBoxWebSrv.py", line 535, in <module>
    g_vboxManager = vboxapi.VirtualBoxManager(None, None)
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 470, in __init__
    exec "self.platform = Platform"+style+"(platparams)"
  File "<string>", line 1, in <module>
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 219, in __init__
    win32com.client.gencache.EnsureDispatch('VirtualBox.VirtualBox')
  File "C:\Python26\lib\site-packages\win32com\client\gencache.py", line 540, in
EnsureDispatch
    disp_class = CLSIDToClass.GetClass(str(disp_clsid))
  File "C:\Python26\lib\site-packages\win32com\client\CLSIDToClass.py", line 46, in
GetClass
    return mapCLSIDToClass[clsid]
KeyError: '{2158464A-F706-414B-A8C4-FB589DFC6B62}'

The host is Windows XP SP3 with current windows updates, Python 2.6.4 and 
VirtualBox
3.1.2

Please respond with possible resolution

Original comment by McKennaJ...@gmail.com on 20 Dec 2009 at 6:15

GoogleCodeExporter commented 9 years ago
I'm seeing the same error after upgrading from 3.0.12 to 3.1.2.  Host is Vista 
SP1 with 
all updates and Python 2.6 - and advice?

Original comment by ctle...@gmail.com on 23 Dec 2009 at 9:31

GoogleCodeExporter commented 9 years ago
I had a similar problem after updating on Windows. The solution was to delete 
the folder "%temp%\gen_py" which contains generated wrappers for the com 
object(s), which become incompatible when Virtual box is updated and are not 
updated automatically.

Original comment by MrReo...@googlemail.com on 2 Jul 2010 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by achim.ha...@gmail.com on 26 Aug 2010 at 2:18