Evidently the error appears only in internationalised versions of mountconfig (module called by my systemsettings is in Czech and has the error, module called directly from console is in English and works fine).
original:
def slotUUIDCheckboxClicked(self):
if self.uuidlineedit.text() == "":
label = microhal.getUUIDByDevice(str(self.devicelineedit.text())) self.uuidlineedit.setText(label) self.devicecheckbox.setChecked(False) self.devicelineedit.setEnabled(False) self.labelcheckbox.setChecked(False) self.labellineedit.setEnabled(False) self.uuidlineedit.setEnabled(True)
dirty workaround (set the states of text/checkboxes before the crash could occur) :
Evidently the error appears only in internationalised versions of mountconfig (module called by my systemsettings is in Czech and has the error, module called directly from console is in English and works fine). xClicked( self): it.text( ) == "": getUUIDByDevice (str(self. devicelineedit. text()) )
self. uuidlineedit. setText( label)
self.deviceche ckbox.setChecke d(False)
self.devicelin eedit.setEnable d(False)
self.labelchec kbox.setChecked (False)
self.labelline edit.setEnabled (False)
self.uuidlinee dit.setEnabled( True)
original:
def slotUUIDCheckbo
if self.uuidlineed
label = microhal.
dirty workaround (set the states of text/checkboxes before the crash could occur) :
def slotUUIDCheckbo xClicked( self):
self.deviceche ckbox.setChecke d(False)
self.devicelin eedit.setEnable d(False)
self.labelchec kbox.setChecked (False)
self.labelline edit.setEnabled (False)
self.uuidlinee dit.setEnabled( True) it.text( ) == "": getUUIDByDevice (str(self. devicelineedit. text()) )
self. uuidlineedit. setText( label)
if self.uuidlineed
label = microhal.
and likewise for the label slot
Works OK on my machine.