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

Create new config doesn't work #13

Closed
SweBarre opened this issue Jun 22, 2018 · 0 comments
Closed

Create new config doesn't work #13

SweBarre opened this issue Jun 22, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@SweBarre
Copy link
Owner

SweBarre commented Jun 22, 2018

When launching the application without a ~/.mqttclient.yaml present the program crashes and throws the following error:

Traceback (most recent call last):
File "./mqttclient", line 358, in
CONFIG = read_config(CONFIG_FILE)
File "./mqttclient", line 313, in read_config
Gtk.DIALOG_DESTROY_WITH_PARENT,
File "/usr/lib64/python3.6/site-packages/gi/overrides/init.py", line 39, in getattr
return getattr(self._introspection_module, name)
File "/usr/lib64/python3.6/site-packages/gi/module.py", line 137, in getattr
self.name, name))
AttributeError: 'gi.repository.Gtk' object has no attribute 'DIALOG_DESTROY_WITH_PARENT'

A workaround is to manually copy the default_mqttclient.yaml to ~/.mqttclient.yaml and make your changes in that.

This function was missed when merging this pull request, #11

@SweBarre SweBarre added the bug Something isn't working label Jun 22, 2018
SweBarre added a commit that referenced this issue Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant