From: Andy T. <an...@ha...> - 2005-01-24 08:23:59
|
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. I ran through the second tutorial and everything *seemed* to work (under both Python 2.3 and 2.4). Can you give a bit more detail, did the scripts for both of the buttons not work? What happens when you put some simple print statements in the methods? For instance, try adding a line to the provided incrBtn method, changing it from; def on_incrBtn_mouseClick(self, event): startValue = int(self.components.field1.text) endValue = startValue + 1 self.components.field1.text = str(endValue) To def on_incrBtn_mouseClick(self, event): print "I am in the incrBtn handler" startValue = int(self.components.field1.text) endValue = startValue + 1 self.components.field1.text = str(endValue) And then running your application from the command line. Report any errors, warnings or output to the command line that you see. > > Yet as I said, the sample apps all seem to run ok, very > odd. > > Simon > _____________________________ > Simon Hibbs > Senior Support Engineer (Marconi) > Indeed they do for me too. But if you find any more problems please report them to the list. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |