Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing multiple key value pairs from setting strings #6

Closed
wants to merge 1 commit into from

Conversation

jpfeiffer
Copy link

Hi, I'm not sure if just my configuration is screwed but gdm3setup.py failed to start because
I had something like "SHELL_LOGO=USER_LIST=false" inside my setting string.

This was however not parsed the way needed. I just changed the get_setting function to return the value
just after the last '=' and only checking if 'name=' is at least somewhere in the string.

Setting strings in the format KEY1=KEY2=VALUE could not
be parsed correctly.
@Nano77 Nano77 closed this Jan 7, 2012
@Nano77
Copy link
Owner

Nano77 commented Jan 7, 2012

Hi jpfeiffer,

"SHELL_LOGO=USER_LIST=false" indicate a bug in the file generated by' /usr/bin/get_gdm.sh'

GnomeShell must be installed

In Ubuntu the last version (3.04) are too old ( no schema for org.gnome.login-screen)
In "/usr/bin/get_gdm.sh' replace :
'gsettings get org.gnome.login-screen logo >> /tmp/GET_GDM'
by
'gsettings get org.gnome.login-screen logo >> /tmp/GET_GDM || echo "" >> /tmp/GET_GDM'

@jpfeiffer
Copy link
Author

Ah thanks for the hint. Now its obvious, I should have looked at the whole project, not just the part producing the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants