Opened 5 years ago

Closed 5 years ago

Last modified 2 years ago

#2821 closed bug (Fixed)

[GtkUI] AttributeError starting GtkUI on windows

Reported by: Doadin Owned by:
Priority: major Milestone: 2.0.0
Component: GTK UI Version: develop
Keywords: Cc:

Description

E:\Program Files (x86)\Deluge>deluge-debug
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__deluge-debug__.py", line 9, in <module>
  File "deluge\ui\ui_entry.py", line 57, in start_ui
  File "deluge\ui\baseargparser.py", line 150, in parse_args
AttributeError: 'BaseArgParser' object has no attribute 'process_group'

Change History (4)

comment:1 Changed 5 years ago by Doadin

If you windows check that portion you then get:

Traceback (most recent call last):
  File "C:\Python27\Scripts\deluge-debug-script.py", line 9, in <module>
    load_entry_point('deluge', 'console_scripts', 'deluge-debug')()
  File "c:\users\doadin\desktop\deluge-develop\deluge\ui\ui_entry.py", line 57,
in start_ui
    options = parser.parse_args(deluge.common.unicode_argv()[1:])
  File "c:\users\doadin\desktop\deluge-develop\deluge\ui\baseargparser.py", line
 164, in parse_args
    if options.pidfile:
AttributeError: 'Namespace' object has no attribute 'pidfile'

Windows check that and it starts fine. No clue if that is how it should be done but...gotta check those windows errors guys! :)

In this case though onlike the webui getpid is something we can run on windows but the check doesnt run for some reason?

Version 0, edited 5 years ago by Doadin (next)

comment:2 Changed 5 years ago by bro

Looks like we need some tests on this code...

comment:3 Changed 5 years ago by Cas

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

My bad, fixed [5d0359331bfb1]

comment:4 Changed 2 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.