Thursday, May 29, 2008

Tips : wx.Python : Close button not working.

If the close button does not work then add the following entries

self.Bind(wx.EVT_CLOSE, self.quit)


under the __init__ function and create a new function as

def quit(self, event):
self.Destroy()

Wednesday, May 14, 2008

PitHole: MAV: Error code: 0000C81D

Error:

Unable to import OSD file. The file specified is not a valid SoftGrid OSD file. Please ensure the file conforms to the SoftGrid OSD file schema and contains well formed XML. Error code: 0000C81D

When:

When importing the package using SPRJ or OSD file:

Cause:

OSD File is missing or NAME Tag inside OSD File is greater then 64 Char length.

Thursday, May 8, 2008

FAQ: Resolving the "ImportError: No module named decimal" Error

Error Message:

ImportError: No module named decimal


Description:

Error occurs when executable created using pyinstaller is executed which uses pymssql module


Resolution:

import decimal in the python program


If you are using pymssql module in python program and creating