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

launch error #11

Closed gagalago closed 12 years ago

gagalago commented 12 years ago

I have this error

gksu gdm3setup.py Traceback (most recent call last): File "/usr/bin/gdm3setup.py", line 700, in MainWindow().show_all() File "/usr/bin/gdm3setup.py", line 398, in init self.get_gdm() File "/usr/bin/gdm3setup.py", line 476, in get_gdm self.SHELL_LOGO = unquote(get_setting("SHELL_LOGO",settings)) File "/usr/bin/gdm3setup.py", line 672, in get_setting return value UnboundLocalError: local variable 'value' referenced before assignment

gagalago commented 12 years ago

and for the command : get_gdm.sh No value set for /apps/gdm/simple-greeter/logo_icon_name' No value set for/apps/gdm/simple-greeter/disable_user_list' No value set for /apps/gdm/simple-greeter/disable_restart_buttons' No value set for/apps/gdm/simple-greeter/banner_message_enable' No value set for `/apps/gdm/simple-greeter/banner_message_text'

ignition42 commented 12 years ago

I've upgraded gnome to gnome 3.4 and I have the same problem.

wavded commented 12 years ago

+1

alucryd commented 12 years ago

Reproduced on several archlinux boxes.

wavded commented 12 years ago

i'm on archlinux as well

Nano77 commented 12 years ago

This error is caused by incompatibility with gnome 3.4.

Fixed.

daroczig commented 12 years ago

I am sorry to bug you, but I still get similar error msg after upgrading:

Traceback (most recent call last):
  File "/usr/bin/gdm3setup.py", line 737, in <module>
    MainWindow().show()
  File "/usr/bin/gdm3setup.py", line 404, in __init__
    self.get_gdm()
  File "/usr/bin/gdm3setup.py", line 484, in get_gdm
    self.FALLBACK_LOGO = unquote(get_setting("FALLBACK_LOGO",settings))
  File "/usr/bin/gdm3setup.py", line 709, in get_setting
    return value
UnboundLocalError: local variable 'value' referenced before assignment

I am running Arch Linux and built your pkgbuild from AUR.

ignition42 commented 12 years ago

I get exactly the same error message.

On archlinux too.

wavded commented 12 years ago

i'm on archlinux as well, get the same error plus this above:

(gdm3setup.py:5103): Gtk-WARNING **: Theme parsing error: gtk.css:62:33: Failed to import: Error opening file: No such file or directory
Nano77 commented 12 years ago

For all : It's a bug in get_gdm.sh

For wavded : it's a bug in your current gtk theme

alucryd commented 12 years ago

Works fine for me now^^ Thx!

wavded commented 12 years ago

can anyone tell me what you do to get_gdm.sh to fix?

Nano77 commented 12 years ago

get_gdm.sh generate a file which contain a list of parameters ( PARAMETER=VALUE ).

The bug caused an error in the generated file : LOGO_ICON=FALLBACK_LOGO=

When gdm3setup.py analyze informations, it consider 'FALLBACK_LOGO=' as a VALUE and not as PARAMETER.

The local variable 'value' are declared when the PARAMETER are found, but before correction, the PARAMETER FALLBACK_LOGO never found.

daroczig commented 12 years ago

Works fine now, thanks a lot!

wavded commented 12 years ago

works for me too, thanks!