VirtualBox

Opened 7 years ago

Closed 4 years ago

#15926 closed defect (invalid)

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 (last modified by Frank Mehnert)

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

Change History (3)

comment:1 by Frank Mehnert, 7 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 7 years ago

Which Python version are you using? I guess it's older than 2.6?

comment:3 by aeichner, 4 years ago

Resolution: invalid
Status: newclosed

No response, closing as invalid.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use