From: Umesh S. <ush...@gm...> - 2011-06-11 18:58:52
|
hi, after running my exe file i get error :: Traceback (most recent call last): File "ne.py", line 7, in <module> File "win32com\client\__init__.pyc", line 260, in DispatchWithEvents AttributeError: 'NoneType' object has no attribute 'CLSID' i modify my setup.py : ## # setup.py from distutils.core import setup import py2exe setup(console=['ne.py']) py2exe_options = dict( excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and includes = "dialogs.resources.dialogs,weakref", # Outlook dynamic dll_excludes = "dapi.dll,mapi32.dll", typelibs = [ ('{00062FFF-0000-0000-C000-000000000046}', 0, 11, 0), ('{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}', 0, 2, 1), ('{AC0714F2-3D04-11D1-AE7D-00A0C90F26F4}', 0, 1, 0), ] ) ## i am using outlook 2007 with office 12 . So can anybody tell me that what more change i should do in my setup.py so that the exe file can run without error. Thanks Umesh Kumar |