| ||
| ° Home ° Forums ° Reply ° Statistics ° Sign Up ° Search ° Manual ° |
| PM forums / Developing GanttPV / Getting started |
| Author | Message |
| DJ Webre Member |
# Posted: 12 Feb 2008 08:07:49 - I downloaded gantpv.exe and have charted three projects with four or five tasks each. Printed a Gantt Chart. Neat and the price is right. I downloaded the six python files and was able to produce .pyc files for all except ganttpv which produced the following error message: Traceback (most recent call last): File "D:Python24Libsite-packagespythonwinpywinframeworkscriptutils.p y", line 310, in RunScript exec codeObject in __main__.__dict__ File "D:zProgramsChartsGanttPV PYGanttPV.py", line 592, in ? Data.App = GanttPVApp(0) File "D:Python24libsite-packageswx-2.6-msw-ansiwx\_core.py", line 7473, in __init__ self._BootstrapApp() File "D:Python24libsite-packageswx-2.6-msw-ansiwx\_core.py", line 7125, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "D:zProgramsChartsGanttPV PYGanttPV.py", line 557, in OnInit Main = ProjectReportFrame(1, None) File "D:zProgramsChartsGanttPV PYGanttPV.py", line 208, in __init__ self.main_list = ProjectReportList(self.Main_Panel) File "D:zProgramsChartsGanttPV PYGanttPV.py", line 75, in __init__ self.idx1 = self.images.Add(wx.Bitmap(path, wx.BITMAP_TYPE_BMP)) File "D:Python24libsite-packageswx-2.6-msw-ansiwx\_gdi.py", line 4799, in Add return _gdi_.ImageList_Add(*args, **kwargs) PyAssertionError: C++ assertion "wxAssertFailure" failed in ....srcmswitmap.cpp(1720): invalid bitmap in wxInvertMask Also, how is the exe file produced? Any assistance is appreciated. _______________________________________________________ OK, I have dowloaded and installed "py2exe-0.6.6.win32-py2.5.exe" and "isetup-5.2.2.exe" but when I run setup, I get "w9xpopen.exe" in liew of "ganttpv.exe". |
| Brian Member |
# Posted: 3 Mar 2008 16:08:39 - That error means that the "icon" folder is not where the program expects it to be. Be sure to carefully read the instructions for building GanttPV. The icon folder needs to be in a different location when executing the script directly vs. when building the ganttpv executable. |
|
Powered by mini BB forum software © 2001-2010 |