Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#3009 closed bug (Fixed)

Can't Start deluge-console 2.0.0.dev7009

Reported by: jl303 Owned by:
Priority: critical Milestone: 2.0.0
Component: Console UI Version: develop
Keywords: Cc:


I installed the latest deluge from yakkety main However, I get an error when I run deluge-console. I can log into daemon using deluge-web though. How can I fix this? Here's the log, and thanks in advance!

$ deluged --version deluged 2.0.0.dev7009 libtorrent: Python: 2.7.12+ OS: Linux Ubuntu 16.10 yakkety $ deluge-console --version deluge-console 2.0.0.dev7009 libtorrent: Python: 2.7.12+ OS: Linux Ubuntu 16.10 yakkety $ deluged $ deluge-console Traceback (most recent call last):

File "/usr/bin/deluge-console", line 11, in <module>

load_entry_point('deluge==2.0.0.dev7009', 'console_scripts', 'deluge-console')()

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/", line 19, in start


File "/usr/lib/python2.7/dist-packages/deluge/ui/console/", line 120, in start


File "/usr/lib/python2.7/dist-packages/deluge/", line 1130, in run_profiled

return func(*args)

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/", line 114, in run

return c.start_ui()

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/", line 156, in start_ui


File "/usr/lib/python2.7/curses/", line 43, in wrapper

return func(stdscr, *args, kwds)

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/", line 222, in run

self.register_mode(ConnectionManager?(stdscr, self.encoding), set_mode=True)

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/modes/", line 40, in init

BaseMode?.init(self, stdscr, encoding=encoding)

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/modes/", line 143, in init


File "/usr/lib/python2.7/dist-packages/deluge/ui/console/modes/", line 195, in refresh


File "/usr/lib/python2.7/dist-packages/deluge/ui/console/modes/", line 48, in update_select_host_popup

popup = SelectablePopup?(self, _('Select Host'), self._host_selected, border_off_west=1, active_wrap=True)

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/widgets/", line 215, in init

BaseInputPane?.init(self, self, kwargs)

File "/usr/lib/python2.7/dist-packages/deluge/ui/console/widgets/", line 36, in init

super(BaseInputPane?, self).init()

TypeError?: init() takes at least 3 arguments (1 given)

Change History (5)

comment:1 Changed 7 years ago by Cas

  • Milestone changed from needs verified to 2.0

comment:2 Changed 7 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

My bad, should be fixed in [aa28d73f472a15] :)

comment:3 Changed 7 years ago by bro

Should have a comment on such lines to avoid breaking later on :-)

comment:4 Changed 7 years ago by Cas

True but super is really just a nicer forward-compatible way of doing the inheritance, it's not necessary and in this case it requires passing on args that are not needed to be passed on. Plus it insta-breaks console so my bad for not quickly testing changes ;)

Also just to say that when you have multiple inheritance and need to call both parent methods then super doesn't work.

comment:5 Changed 6 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.