Opened 8 years ago

Closed 8 years ago

Last modified 6 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 by Doadin, 8 years ago

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 unlike the webui(?) getpid is something we can run on windows but the check doesnt run for some reason? so we dont want to windows check this probably.?

Last edited 8 years ago by Doadin (previous) (diff)

comment:2 by Bro, 8 years ago

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

comment:3 by Calum, 8 years ago

Resolution: Fixed
Status: newclosed

My bad, fixed [5d0359331bfb1]

comment:4 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.