From: Liam C. <cy...@gm...> - 2005-06-03 11:57:28
|
On 6/3/05, Alex Tweedly <al...@tw...> wrote: >=20 > kim...@ya... wrote: >=20 > >Hello list, > > > >I am having touble with textfield objects in > >Pythoncard - I am using the latest version downloaded > >from www.pythoncard.org <http://www.pythoncard.org> (ver 0.81?). > > > >I have a no-brainer application and when I run it, the > >moment I hit a key when inside a textfield, I get an > >exception in class point within _core.py, method > >__getitem__. The code says: > > > > def __getitem__(self, index): > > return self.Get()[index] > > > >and it's choking on indexing out-of-range. > > > >I've checked and the size of self.Get() is 2 and the > >value of index is 2 and that's why it crashed. > > > >As I said, this is a no-brainer ap (just a textfield > >and nothing else). What's wrong? > > > > > > > What's the platform ? Version of wxPython, and of Python ? > Do the Pythoncard samples work OK ? > How about the wxPython demos ? >=20 > -- > Alex Tweedly http://www.tweedly.net >=20 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.5.2 - Release Date: 03/06/2005 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net <http://SF.Net> email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22= 005 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users >=20 Ai, please post the whole error message, is _core.py part of the Pythoncard= =20 package? I get the feeling it's a part of wxPython. --=20 'There is only one basic human right, and that is to do as you damn well=20 please. And with it comes the only basic human duty, to take the consequences.' |