GNOME Bugzilla – Bug 150760
The vte python module fails to import.
Last modified: 2005-03-17 06:52:11 UTC
1. Start up the python interpreter: $ python 2. Import the vte module: >>> import vte This results in the following error: Traceback (most recent call last):
+ Trace 49537
This bug appears to be caused by a change in version 1.2 of vte/python/vtemodule.c. For some reason, two suspicious underscores appeared in both the function name('initvte' to 'init_vte') and the first arg to Py_InitModule('vte' to '_vte'). I'm not a big python guy but I think the discrepancy between the function name and the name given to DL_EXPORT is to blame.
Yeah, this is pretty obviously a silly screwup. Just rename init_vte to initvte and all is well.
2005-03-16 Manish Singh <yosh@gimp.org> * python/vtemodule.c: Remove stray underscores so python module works again. Fixes bug #150760.