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

TypeError #8

Open
muranyia opened this issue Aug 31, 2014 · 2 comments
Open

TypeError #8

muranyia opened this issue Aug 31, 2014 · 2 comments

Comments

@muranyia
Copy link

  File "/home/muranyia/.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

Gedit 1.10.4, Ubuntu 14.04.1

Changing line 54 in dialogs.py to:

def __new__(cls, *args):

solves the problem.
(Line 56 is not to be touched).

@NPN
Copy link

NPN commented Sep 9, 2014

Pull Request #3 is the same as this issue. Since it hasn't been merged yet, you have to apply the patch manually.

@ykne
Copy link

ykne commented Jan 31, 2023

I ported sessionsaver from an updated gedit-plugins and created gedit-plugins-sessionsaver rpm for CentOS 7 if anyone is interested.

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

3 participants