{"action":"created","issue":{"url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers/issues/42","repository_url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers","labels_url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers/issues/42/comments","events_url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers/issues/42/events","html_url":"https://github.com/khalim19/gimp-plugin-export-layers/issues/42","id":165557395,"number":42,"title":"Export fails on AttributeError","user":{"login":"jonaslan","id":7376172,"avatar_url":"https://avatars.githubusercontent.com/u/7376172?v=3","gravatar_id":"","url":"https://api.github.com/users/jonaslan","html_url":"https://github.com/jonaslan","followers_url":"https://api.github.com/users/jonaslan/followers","following_url":"https://api.github.com/users/jonaslan/following{/other_user}","gists_url":"https://api.github.com/users/jonaslan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonaslan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonaslan/subscriptions","organizations_url":"https://api.github.com/users/jonaslan/orgs","repos_url":"https://api.github.com/users/jonaslan/repos","events_url":"https://api.github.com/users/jonaslan/events{/privacy}","received_events_url":"https://api.github.com/users/jonaslan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-14T13:05:14Z","updated_at":"2016-10-18T04:18:05Z","closed_at":null,"body":"Hi! I'm ran into this while trying to export on fresh GIMP install:\r\n\r\n`Traceback (most recent call last):\r\n  File \"/usr/lib/gimp/2.0/python/gimpplugin.py\", line 58, in _run\r\n    return apply(getattr(self, name), params)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers.py\", line 85, in procedure_wrapper\r\n    report_uri_list=constants.BUG_REPORT_URI_LIST)(procedure)(run_mode, *args)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pggui.py\", line 377, in func_wrapper\r\n    func(self, *args, **kwargs)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers.py\", line 135, in plug_in_export_layers\r\n    self._run_export_layers_interactive(image)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers.py\", line 169, in _run_export_layers_interactive\r\n    gui_plugin.export_layers_gui(image, self.settings, self.session_source, self.persistent_source)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/gui_plugin.py\", line 658, in export_layers_gui\r\n    _ExportLayersGui(image, settings, session_source, persistent_source)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/gui_plugin.py\", line 239, in __init__\r\n    self._init_gui()\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/gui_plugin.py\", line 286, in _init_gui\r\n    'advanced_settings_expanded': [pgsetting.SettingGuiTypes.expander, self.expander_advanced_settings],\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettinggroup.py\", line 251, in initialize_gui\r\n    setting.create_gui()\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsetting.py\", line 375, in create_gui\r\n    old_setting_presenter=self._gui, auto_update_gui_to_setting=auto_update_gui_to_setting)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenters_gtk.py\", line 63, in __init__\r\n    super(GtkSettingPresenter, self).__init__(*args, **kwargs)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenter.py\", line 134, in __init__\r\n    self._copy_state(old_setting_presenter)\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenter.py\", line 250, in _copy_state\r\n    self._set_value(old_setting_presenter._get_value())\r\n  File \"/home/jonas/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenters_gtk.py\", line 143, in _set_value\r\n    self._element.set_text(value.encode(GTK_CHARACTER_ENCODING))\r\nAttributeError: 'NoneType' object has no attribute 'encode'`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers/issues/comments/254402725","html_url":"https://github.com/khalim19/gimp-plugin-export-layers/issues/42#issuecomment-254402725","issue_url":"https://api.github.com/repos/khalim19/gimp-plugin-export-layers/issues/42","id":254402725,"user":{"login":"expenses","id":13566135,"avatar_url":"https://avatars.githubusercontent.com/u/13566135?v=3","gravatar_id":"","url":"https://api.github.com/users/expenses","html_url":"https://github.com/expenses","followers_url":"https://api.github.com/users/expenses/followers","following_url":"https://api.github.com/users/expenses/following{/other_user}","gists_url":"https://api.github.com/users/expenses/gists{/gist_id}","starred_url":"https://api.github.com/users/expenses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expenses/subscriptions","organizations_url":"https://api.github.com/users/expenses/orgs","repos_url":"https://api.github.com/users/expenses/repos","events_url":"https://api.github.com/users/expenses/events{/privacy}","received_events_url":"https://api.github.com/users/expenses/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T04:18:05Z","updated_at":"2016-10-18T04:18:05Z","body":"Getting the same problem here:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/gimp/2.0/python/gimpplugin.py\", line 58, in _run\r\n    return apply(getattr(self, name), params)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers.py\", line 85, in procedure_wrapper\r\n    report_uri_list=constants.BUG_REPORT_URI_LIST)(procedure)(run_mode, *args)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pggui.py\", line 377, in func_wrapper\r\n    func(self, *args, **kwargs)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers.py\", line 135, in plug_in_export_layers\r\n    self._run_export_layers_interactive(image)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers.py\", line 169, in _run_export_layers_interactive\r\n    gui_plugin.export_layers_gui(image, self.settings, self.session_source, self.persistent_source)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/gui_plugin.py\", line 658, in export_layers_gui\r\n    _ExportLayersGui(image, settings, session_source, persistent_source)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/gui_plugin.py\", line 239, in __init__\r\n    self._init_gui()\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/gui_plugin.py\", line 286, in _init_gui\r\n    'advanced_settings_expanded': [pgsetting.SettingGuiTypes.expander, self.expander_advanced_settings],\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettinggroup.py\", line 251, in initialize_gui\r\n    setting.create_gui()\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsetting.py\", line 375, in create_gui\r\n    old_setting_presenter=self._gui, auto_update_gui_to_setting=auto_update_gui_to_setting)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenters_gtk.py\", line 63, in __init__\r\n    super(GtkSettingPresenter, self).__init__(*args, **kwargs)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenter.py\", line 134, in __init__\r\n    self._copy_state(old_setting_presenter)\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenter.py\", line 250, in _copy_state\r\n    self._set_value(old_setting_presenter._get_value())\r\n  File \"/home/expenses/.gimp-2.8/plug-ins/export_layers/pygimplib/pgsettingpresenters_gtk.py\", line 143, in _set_value\r\n    self._element.set_text(value.encode(GTK_CHARACTER_ENCODING))\r\nAttributeError: 'NoneType' object has no attribute 'encode'\r\n```"}}
{"actor":{"display_login":"expenses"}}