id summary reporter owner description type status component version resolution keywords cc guest host 4072 Python 2.6 produces DeprecationWarnings on XPCOM exception class => Fixed in SVN Benjamin Gilbert Nikolay Igotti "When using the Python bindings on a system with Python 2.6 (e.g. Fedora 11), Python produces !DeprecationWarning messages the first time the bindings throw an exception. This can be reproduced by using vboxshell.py to create a machine with an invalid OS type (after applying the fix in #4071): {{{ [sample]$ export VBOX_PROGRAM_PATH=/usr/lib/virtualbox/ [sample]$ export PYTHONPATH=../:/usr/lib/virtualbox/ [sample]$ python vboxshell.py Running VirtualBox version 2.2.2 vbox> create foo bar baz /home/bgilbert/sdk/bindings/xpcom/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message /home/bgilbert/sdk/bindings/xpcom/python/xpcom/__init__.py:57: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message Unknown OS type: bar }}}" defect closed other VirtualBox 2.2.2 fixed python bgilbert@… other other