After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650189 - Session Saver plugin won't save sessions
Session Saver plugin won't save sessions
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-14 16:27 UTC by Jeremy Bicha
Modified: 2019-03-23 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2011-05-14 16:27:13 UTC
The Session Saver plugin doesn't work in Gedit 3.0.2. I've tested this on Ubuntu 11.10 development and Arch.


Traceback (most recent call last):
  • File "/usr/lib/gedit/plugins/sessionsaver/__init__.py", line 64 in __init__
    self.sessions = XMLSessionStore()
  • File "/usr/lib/gedit/plugins/sessionsaver/store.py", line 105 in __init__
    self.load()
  • File "/usr/lib/gedit/plugins/sessionsaver/store.py", line 143 in load
    parser.ParseFile(open(self.filename, 'rb'))
xml.parsers.expat.ExpatError: no element found: line 2, column 0
Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/sessionsaver/__init__.py", line 67, in do_activate
    self._insert_menu()
  File "/usr/lib/gedit/plugins/sessionsaver/__init__.py", line 118, in _insert_menu
    self._update_session_menu()
  File "/usr/lib/gedit/plugins/sessionsaver/__init__.py", line 80, in _update_session_menu
    for i, session in enumerate(self.sessions):
AttributeError: 'SessionSaverPlugin' object has no attribute 'sessions'
Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/sessionsaver/__init__.py", line 157, in on_save_session_action
    SaveSessionDialog(window, self.plugin_info, self.sessions, self).run()
AttributeError: 'SessionSaverPlugin' object has no attribute 'sessions'
Comment 1 Mathew de Detrich 2011-05-16 06:03:12 UTC
I can confirm I am having the same problem on Arch x86_64
Comment 2 el 2011-05-26 15:02:32 UTC
Same here on Fedora 15 (x86), gedit 3.0.2.
Comment 3 Ignacio Casal Quinteiro (nacho) 2011-05-26 15:30:48 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.