Opened 14 years ago

Closed 14 years ago

Last modified 7 years ago

#1875 closed bug (Fixed)

NameError: name '_' is not defined

Reported by: Calum Owned by: s0undt3ch
Priority: blocker Milestone: 2.x
Component: Core Version: master
Keywords: Cc:

Description

When starting with deluge everything fine but with deluge-gtk this error occurs:

Traceback (most recent call last):
  File "/home/calum/delugeDev/deluge-gtk", line 9, in <module>
    load_entry_point('deluge==1.3.900-dev', 'gui_scripts', 'deluge-gtk')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 305, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2244, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/calum/Documents/Coding/Deluge Work/deluge/deluge/ui/gtkui/__init__.py", line 1, in <module>
    from gtkui import start
  File "/home/calum/Documents/Coding/Deluge Work/deluge/deluge/ui/gtkui/gtkui.py", line 61, in <module>
    from connectionmanager import ConnectionManager
  File "/home/calum/Documents/Coding/Deluge Work/deluge/deluge/ui/gtkui/connectionmanager.py", line 73, in <module>
    _("Offline"),
NameError: name '_' is not defined

Change History (2)

comment:1 by s0undt3ch, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in master.

comment:2 by Calum, 7 years ago

Milestone: 2.0.x2.x

Milestone renamed

Note: See TracTickets for help on using tickets.