Poler3000 / vboxweb

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

VBoxWebSrv Not Working #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
VBoxWebSrv Platform: win32
Traceback (most recent call last):
  File "VBoxWebSrv.py", line 863, in <module>
    main(sys.argv)
  File "VBoxWebSrv.py", line 750, in main
    g_vboxManager = vboxapi.VirtualBoxManager(None, None)
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 504, i
_
    exec "self.platform = Platform"+style+"(platparams)"
  File "<string>", line 1, in <module>
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 218, i
_
    win32com.client.gencache.EnsureDispatch('VirtualBox.Session')
  File "C:\Python26\lib\site-packages\win32com\client\gencache.py", lin
 EnsureDispatch
    disp = win32com.client.Dispatch(prog_id)
  File "C:\Python26\lib\site-packages\win32com\client\__init__.py", lin
Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,u
lsctx)
  File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line
_GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line
GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pyt
D_IDispatch)
pywintypes.com_error: (-2147221164, 'Class not registered', None, None)

C:\VirtualBox\vboxweb-read-only>python VBoxWebSrv.py install
VBoxWebSrv Platform: win32
Traceback (most recent call last):
  File "VBoxWebSrv.py", line 863, in <module>
    main(sys.argv)
  File "VBoxWebSrv.py", line 750, in main
    g_vboxManager = vboxapi.VirtualBoxManager(None, None)
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 504, i
_
    exec "self.platform = Platform"+style+"(platparams)"
  File "<string>", line 1, in <module>
  File "C:\Python26\lib\site-packages\vboxapi\__init__.py", line 218, i
_
    win32com.client.gencache.EnsureDispatch('VirtualBox.Session')
  File "C:\Python26\lib\site-packages\win32com\client\gencache.py", lin
 EnsureDispatch
    disp = win32com.client.Dispatch(prog_id)
  File "C:\Python26\lib\site-packages\win32com\client\__init__.py", lin
Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,u
lsctx)
  File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line
_GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line
GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pyt
D_IDispatch)
pywintypes.com_error: (-2147221164, 'Class not registered', None, None)

Original issue reported on code.google.com by bmcnif...@gmail.com on 18 Apr 2011 at 9:21

GoogleCodeExporter commented 8 years ago
same error here: 
Traceback (most recent call last):
  File "G:\Trabajo\EclipseWorkspace\UGROS\src\Gui.py", line 12, in <module>
    vbm = vboxapi.VirtualBoxManager(None,None)
  File "C:\Python 32bits\Python26\lib\site-packages\vboxapi\__init__.py", line 514, in __init__
    exec "self.platform = Platform"+style+"(platparams)"
  File "<string>", line 1, in <module>
  File "C:\Python 32bits\Python26\lib\site-packages\vboxapi\__init__.py", line 219, in __init__
    win32com.client.gencache.EnsureDispatch('VirtualBox.Session')
  File "C:\Python 32bits\Python26\lib\site-packages\win32com\client\gencache.py", line 529, in EnsureDispatch
    disp = win32com.client.Dispatch(prog_id)
  File "C:\Python 32bits\Python26\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
  File "C:\Python 32bits\Python26\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\Python 32bits\Python26\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147221164, 'Clase no registrada', None, None)

Original comment by hfazefi...@gmail.com on 14 Sep 2013 at 7:45