Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#570 closed bug (Fixed)

gtkui fails to load due to non-ASCII character ∞

Reported by: danii Owned by: andar
Priority: major Milestone:
Component: GTK UI Version: 1.1.0_dev
Keywords: Cc:

Description

Deluge [4107] gtk ui fails to start with:

[INFO    ] 05:22:56 main:95 Deluge ui 1.1.0-devr4107
[DEBUG   ] 05:22:56 main:96 options: {'config': None, 'logfile': None, 'ui': None, 'args': None}
[DEBUG   ] 05:22:56 main:97 args: []
[DEBUG   ] 05:22:56 main:98 ui_args: []
[DEBUG   ] 05:22:56 configmanager:44 ConfigManager started..
[INFO    ] 05:22:56 main:101 Starting ui..
[DEBUG   ] 05:22:56 ui:44 UI init..
[DEBUG   ] 05:22:56 configmanager:88 Getting config 'ui.conf'
[DEBUG   ] 05:22:56 config:47 Config created with filename: ui.conf
[DEBUG   ] 05:22:56 config:48 Config defaults: {'default_ui': 'gtk'}
[INFO    ] 05:22:56 ui:60 Starting GtkUI..
[DEBUG   ] 05:22:56 client:54 CoreProxy init..
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.1.0-dev', 'console_scripts', 'deluge')()
  File "/usr/lib/python2.5/site-packages/deluge/main.py", line 102, in start_ui
    UI(options, args, options.args)
  File "/usr/lib/python2.5/site-packages/deluge/ui/ui.py", line 61, in __init__
    from deluge.ui.gtkui.gtkui import GtkUI
  File "/usr/lib/python2.5/site-packages/deluge/ui/gtkui/gtkui.py", line 52, in <module>
    from torrentview import TorrentView
  File "/usr/lib/python2.5/site-packages/deluge/ui/gtkui/torrentview.py", line 47, in <module>
    import deluge.ui.gtkui.listview as listview
  File "/usr/lib/python2.5/site-packages/deluge/ui/gtkui/listview.py", line 86
SyntaxError: Non-ASCII character '\xe2' in file /usr/lib/python2.5/site-packages/deluge/ui/gtkui/listview.py on line 86, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Change History (4)

comment:1 by andar, 16 years ago

Resolution: fixed
Status: newclosed

Fixed [4109]

comment:2 by danii, 16 years ago

Resolution: fixed
Status: closedreopened

statistics_tab.py also needs utf-8 statement

comment:3 by andar, 16 years ago

Resolution: fixed
Status: reopenedclosed

Fixed [4113]

comment:4 by (none), 16 years ago

Milestone: 1.1.0

Milestone 1.1.0 deleted

Note: See TracTickets for help on using tickets.