From: Andy T. <an...@ha...> - 2005-02-09 08:25:50
|
Andy Todd wrote: > Simon, > > There are a number of issues here, I'll try to deal with them in turn; > > Simon Hibbs wrote: > >> I'm getting a similar problem to Dan. The Windows >> installer bombed out about 80% of the way through. > > > The .exe installer was built with Python 2.3 and this may be why it > bombs out when installing with version 2.4. According to my not very > extensive testing the error occurs when we try and create the start menu > program group and icons. As far as I can tell PythonCard installs properly. > > It's not very good though. For the next release we probably need to > build two versions of the .exe, one for Python 2.3 and another for > Python 2.4. If anyone would like to investigate and explain why this is > a problem it would be more than welcome. > >> >> However Pythoncard does seem to be installed and the >> sample apps seem to work ok. >> > > Yup, you just probably won't have a 'PythonCard' program group in your > start menu. > >> However I've been workig through the first two tutorials, >> and neither work. The sample apps aren't as described. > > > Err, correct. The documentation and supporting materials are a bit out > of date. Sorry. > >> >> The function you're told to modify in the first tutorial isn't >> in the script, and I've modified the Minimal app as described >> in the second tutorial (the Counter app) but it doesn't work. > > > I'll update the first tutorial and sample script a.s.a.p. > [snip] I've updated the sample application and walkthrough documentation. These are in CVS now for anyone who wants to verify my changes and will appear in the next release. As an aside, I had to change the event handler because on_menuFileExit_select doesn't seem to work on OSX. I suspect it's something to do with the way wxWidgets binds to the native menus. For starters the menu option appears as 'Quit' rather than 'Exit'. The message watcher doesn't show any events when the exit option is selected either. I added an 'About' menu item and the handler is invoked when this is selected, as expected. I noticed that I get a free 'help' menu on OSX as well, which I don't seem to be able to add items to with the resource file. I'm presuming this is known behaviour with wx, but would appreciate someone else confirming it for me. I can't verify if this behaviour is platform specific as my Windows/Linux machine currently has a rather poorly screen. Can someone please run the 'starter1' application in the docs/GettingStarted folder from CVS and let me know if the FileExit event handler is working or not, and whether a 'help' menu is created. Thanks in advance, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |