hi guy, i have created an app why my beloved python. i have frozen it using cx_freeze for easy distribution but the problem is, on my development computer (win7) it runs perfectly but when i send it to a testing pc (windows XP sp3 32bit) it give me the error

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
File "timeTracker.py", line 555, in <module>
File "timeTracker.py", line 381, in __init__
File "timeTracker.py", line 427, in runTimeThread
File "timeTracker.py", line 494, in __init__
File "timeTracker.py", line 118, in __init__
File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\__init__.py", line 39, in init
File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\engine.py", line 45, in __init__
File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\driver.py", line 66, in __init__
File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\drivers\sapi5.py", line 37, in buildDriver
File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\drivers\sapi5.py", line 46, in __init__
File "C:\Python27\lib\site-packages\win32com\client\__init__.py", line 317, in WithEvents
AttributeError: 'NoneType' object has no attribute 'CLSID'

and there is the setup.py file that build the cx_freeze files

import sys

from cx_Freeze import setup, Executable

includes =['atexit']
packages = ['pyttsx','win32com.server','win32com.client']
base = None
if sys.platform == "win32":
    base = "Win32GUI"

        name = "timeTracker",
        version = "1.0.0",
        description = "Keep track of your time take control of your life",
        options = {"build_exe" : {"includes" : includes, "packages": packages }},
        executables = [Executable("timeTracker.py", base = base)])

help me out. i have searched and searched but no result Note i am new to setup.py and cx_freeze

3 Years
Discussion Span
Last Post by vegaseat
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.