~ Mayank Johri’s Tips ~

May 29, 2008

Tips : wx.Python : Close button not working.

Filed under: Python, Tips — mayankjohri @ 4:33 pm

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()

May 13, 2008

PitHole: MAV: Error code: 0000C81D

Filed under: Microsoft SoftGrid Application Virtualization, PitHole — mayankjohri @ 7:04 pm

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.

May 8, 2008

FAQ: Resolving the “ImportError: No module named decimal” Error

Filed under: FAQ's, PitHole, Python — mayankjohri @ 3:04 pm

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

Blog at WordPress.com.