Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7103 closed defect (fixed)

NameError: global name 'item' is not defined

Reported by: muelli Owned by:
Priority: normal Milestone: 0.15
Component: link-local messaging Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS: All

Description

I right clicked a link local contact and selected execute commands.

Traceback (most recent call last):

File "/usr/share/gajim/src/roster_window.py", line 3650, in on_execute_command

adhoc_commands.CommandWindow?(account, jid)

File "/usr/share/gajim/src/adhoc_commands.py", line 74, in init

self.initiate()

File "/usr/share/gajim/src/adhoc_commands.py", line 99, in initiate

self.stage1()

File "/usr/share/gajim/src/adhoc_commands.py", line 177, in stage1

self.request_command_list()

File "/usr/share/gajim/src/adhoc_commands.py", line 555, in request_command_list

self.account.connection.SendAndCallForResponse?(query, callback)

File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 816, in SendAndCallForResponse?

self.SendAndWaitForResponse?(stanza, 0, func, args)

File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 809, in SendAndWaitForResponse?

self.send(stanza, on_ok=on_ok)

File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 748, in send

on_ok(id_)

File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 801, in on_ok

elif itemaddress? in self.ip_to_hash:

NameError?: global name 'item' is not defined

Change History (2)

comment:1 Changed 5 years ago by Yann Leboulanger <asterix@…>

  • Milestone set to 0.15
  • Resolution set to fixed
  • Status changed from new to closed

(In [77544052e500]) fix traceback. Fixes #7103

comment:2 Changed 5 years ago by Yann Leboulanger <asterix@…>

(In [d124d2e5bdda]) fix traceback. Fixes #7103

Note: See TracTickets for help on using tickets.