VirtualBox

Ticket #15926 (new defect) — at Initial Version

Opened 3 years ago

Last modified 3 years ago

Python API on mac throwing syntax error

Reported by: nickpick Owned by:
Component: other Version: VirtualBox 5.1.6
Keywords: API MAC Python Cc:
Guest type: OSX Server Host type: Mac OS X

Description

API cannot be initialised because of a syntax error in the python bindings in xpcom/python/xpcom/init.py

File "/Users/nd/PycharmProjects/Poker/vboxapi/init.py", line 786, in init

import xpcom.vboxxpcom

File "/Applications/VirtualBox.app/Contents/MacOS/sdk/bindings/xpcom/python/xpcom/init.py", line 128

except IOError, why:

SyntaxError: invalid syntax

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use