From gmane.20.evilspam at spamgourmet.com Wed May 25 06:25:37 2005 From: gmane.20.evilspam at spamgourmet.com (Chris Spencer) Date: Wed, 25 May 2005 00:25:37 -0400 Subject: [spe.pycs.net] Bug Report Message-ID: When I select and try to open multiple file simultaneously, I get the error: Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/_spe/Menu.py", line 429, in menu_open_files self.parentPanel.open(event) File "/usr/lib/python2.3/site-packages/_spe/Parent.py", line 235, in open self.openList(fileList) File "/usr/lib/python2.3/site-packages/_spe/Parent.py", line 526, in openList return child UnboundLocalError: local variable 'child' referenced before assignment Also, after cutting and pasting class methods within a file, SPE will crash when you save the file. Other than this, SPE has handled great. Keep up the good work. Chris From gmane.20.evilspam at spamgourmet.com Sat May 28 06:11:39 2005 From: gmane.20.evilspam at spamgourmet.com (Chris Spencer) Date: Sat, 28 May 2005 00:11:39 -0400 Subject: [spe.pycs.net] Re: Bug Report In-Reply-To: References: Message-ID: Chris Spencer wrote: > When I select and try to open multiple file simultaneously, I get the > error: In fact, it seems SPE is unable to open any files whatsoever unless they're passed in via the command prompt. This is a critical bug. Chris From gmane.20.evilspam at spamgourmet.com Sat May 28 06:37:55 2005 From: gmane.20.evilspam at spamgourmet.com (Chris Spencer) Date: Sat, 28 May 2005 00:37:55 -0400 Subject: [spe.pycs.net] Re: Bug Report In-Reply-To: References: Message-ID: Chris Spencer wrote: > In fact, it seems SPE is unable to open any files whatsoever unless > they're passed in via the command prompt. This is a critical bug. > > Chris dlg.GetPaths(), on line 235 of Parent.py, returns nothing even if multiple files are selected. However, GetPath() does return the first selected file, so this can be used as a temporary fix. I haven't been able to trace the problem any further. You appear to be using wx.FileDialog correctly. This might almost be a wx issue. Chris