ioam / topographica

A general-purpose neural simulator focusing on topographic maps.
topographica.org
BSD 3-Clause "New" or "Revised" License
53 stars 32 forks source link

Quitting gives errors if progress bar open #97

Open sf-issues opened 11 years ago

sf-issues commented 11 years ago

Converted from SourceForge issue 2191521, submitted by jbednar Submit Date: 2008-10-24 09:43 GMT

Quitting from the GUI while Topographica is working on something (with a progress bar window up) gives an error like the one below. This isn't a serious problem, but would be good to fix.

Jim

topo_t000000.00_c1>>> Quit selected; exiting Exception in Tkinter callback Traceback (most recent call last): File "/disk/scratch/jbednar/topographica//lib/python2.5/lib-tk/Tkinter.py", line 1403, in call return self.func(*args) File "/disk/scratch/jbednar/topographica/topo/tkgui/projectionpanel.py", line 207, in refresh super(PlotMatrixPanel,self).refresh(update) File "/disk/scratch/jbednar/topographica/topo/tkgui/plotgrouppanel.py", line 487, in refresh self.refresh_plots() File "/disk/scratch/jbednar/topographica/topo/tkgui/plotgrouppanel.py", line 65, in busy_fn if 'cursor' in widget.configure(): File "/disk/scratch/jbednar/topographica//lib/python2.5/lib-tk/Tkinter.py", line 1197, in configure return self._configure('configure', cnf, kw) File "/disk/scratch/jbednar/topographica//lib/python2.5/lib-tk/Tkinter.py", line 1181, in _configure self.tk.call(_flatten((self._w, cmd)))): TclError: invalid command name ".178102956.178105132.178158508.178166540.178165100.178163756.178165420.178164076.178165548"

sf-issues commented 11 years ago

Submitted by ceball Date: 2009-07-30 13:38 GMT

The progress window was causing this error. After fixing it, though, I found the same kind of error was generated by something else (an auto_refresh() call, I think). Probably need to clean up (and implement missing) 'destroy()' methods.

ceball commented 4 years ago

Quitting gives errors if progress bar open ghost assigned ceball

Won't fix: Why would you ever want to quit topographica, I say :)