Nano77 / gdm3setup

An interface to configure GDM3, autologin options and change Shell theme
GNU General Public License v2.0
101 stars 29 forks source link

does not start in Ubuntu 12.04 #7

Closed cellstorm closed 12 years ago

cellstorm commented 12 years ago

/usr/bin/gdm3setup.py Traceback (most recent call last): File "/usr/bin/gdm3setup.py", line 697, in MainWindow().show_all() File "/usr/bin/gdm3setup.py", line 405, in init self.get_gdm() File "/usr/bin/gdm3setup.py", line 474, in get_gdm self.USER_LIST = str_to_bool(get_setting("USER_LIST",settings)) File "/usr/bin/gdm3setup.py", line 669, in get_setting return value UnboundLocalError: local variable 'value' referenced before assignment

gdm version from stock repository

cellstorm commented 12 years ago

fixed with adding

global value

at the beginning of the function

Nano77 commented 12 years ago

you have the same problem than jpfeiffer (issue #6)

'global value' hide the bug not resolve it