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

AttributeError(s) in Gedit 3.12.1 #5

Open
fedelibre opened this issue May 27, 2014 · 1 comment
Open

AttributeError(s) in Gedit 3.12.1 #5

fedelibre opened this issue May 27, 2014 · 1 comment

Comments

@fedelibre
Copy link

I read that this plugin is for Gnome 3.0-3.8. I'm on debian testing (currently gnome 3.8), but Gedit is version 3.12.1.
I can activate the plugin, but when I launch Gedit I'm getting the following error:

$ gedit
Traceback (most recent call last):
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 65, in do_activate
    self._insert_menu()
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 74, in _insert_menu
    ui_manager = self.window.get_ui_manager()
AttributeError: 'Window' object has no attribute 'get_ui_manager'
Traceback (most recent call last):
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 71, in do_update_state
    self._action_group.get_action("FileSessionSave").set_sensitive(self.window.get_active_document() != None)
AttributeError: 'SessionSaverPlugin' object has no attribute '_action_group'
Traceback (most recent call last):
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 71, in do_update_state
    self._action_group.get_action("FileSessionSave").set_sensitive(self.window.get_active_document() != None)
AttributeError: 'SessionSaverPlugin' object has no attribute '_action_group'
Traceback (most recent call last):
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 71, in do_update_state
    self._action_group.get_action("FileSessionSave").set_sensitive(self.window.get_active_document() != None)
AttributeError: 'SessionSaverPlugin' object has no attribute '_action_group'
Traceback (most recent call last):
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 68, in do_deactivate
    self._remove_menu()
  File "/home/fede/.local/share/gedit/plugins/sessionsaver/__init__.py", line 97, in _remove_menu
    ui_manager = self.window.get_ui_manager()
AttributeError: 'Window' object has no attribute 'get_ui_manager'
@denpanosekai
Copy link

Same here. Using gedit 3.10.4

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

No branches or pull requests

2 participants