Closed dhjw closed 10 years ago
I'm not seeing any errors (maybe not looking in the right place?) but nothing happens when I select "file > saved sessions > save current session"
Useful plugin, but... Same behavior as dhjw, on: gedit - Version 3.8.3 | Python 3.3.2 | gnome 3.8.4 | Fedora 19 Please, help. Thanks!
I have fixed it (maybe wrong, but it works): in dialogs.py (line 54): def new(cls): replace with: def new(cls, *args):
Without it gedit 3.10.4 gives an error: plugins/sessionsaver/init.py", line 164, in on_manage_sessions_action SessionManagerDialog(self, self.sessions).run() TypeError: new() takes 1 positional argument but 3 were given
Change proposed by gaolong works. Thank you! Will it be updated in the project?
Awesome, thanks! I submitted a request to merge.
Seems the fix was not merged? link
Sorry to comment on closed issue, but I really love this plugin!
The Pull Request (#3) is still open - sphax3d hasn't approved it yet. You'll have to manually apply the fix or grab the copy from my repository.
The fix is working . Thanks :) Very useful plugin!
Thank's to @olehlong ! :)
I'm getting errors on ubuntu 13.10 / gedit 3.8.3 / python3:
Running from terminal, on Save, I get this:
Traceback (most recent call last): File "/home/user/.local/share/gedit/plugins/sessionsaver/init.py", line 161, in on_save_session_action SaveSessionDialog(self.window, self, self.sessions).run() TypeError: new() takes 1 positional argument but 4 were given
On Manage, I get this:
Traceback (most recent call last): File "/home/user/.local/share/gedit/plugins/sessionsaver/init.py", line 164, in on_manage_sessions_action SessionManagerDialog(self, self.sessions).run() TypeError: new() takes 1 positional argument but 3 were given
...and with both, nothing ever happens in gedit.
Thanks for any advice or fix.