kliment/Printrun — Issue #76: Setting infill solidity to zero produces error in quick settings
Author: sdevijver
Created: 2011-11-04 15:15:57+00:00
State: open

Original value is 0.35, setting this value to 0 in quick settings is not possible.

Error:

Saving ... Infill Solidity (ratio): = 0
Traceback (most recent call last):
File "C:\dev\PrintrunFork\SkeinforgeQuickEditDialog.py", line 134, in OnSave
settings.saveRepository(repo)
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 4
66, in saveRepository
setting.setToDisplay()
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 1
718, in setToDisplay
self.value = ( self.latentStringVar.getString() == self.radiobutton['value']
)
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 1
382, in getString
return self.getVar().get()
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 1
377, in getVar
self.stringVar = Tkinter.StringVar()
File "C:\Python27\lib\lib-tk\Tkinter.py", line 251, in __init__
Variable.__init__(self, master, value, name)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 182, in __init__
self._tk = master.tk
AttributeError: 'NoneType' object has no attribute 'tk'