tb with ad_hoc + icq transport + email lookup + empty entry + cancel
stupid summary, i know... let me describe it:
- open ad-hoc commands for an icq transport
- choose "look up icq users via email"
- click "forward"
- don't enter an email adress.
- click "execute"
either you get a tb now already, or if you don't (happens sometimes too), click cancel and confirm which gives you the tb too:
Traceback (most recent call last):
File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events
obj.pollin()
File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 144, in pollin
self._do_receive()
File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 246, in _do_receive
self.on_receive(received)
File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 379, in WaitForData
resp(self._expected[self._witid])
File "/usr/share/gajim/src/adhoc_commands.py", line 493, in callback
self.stage3_next_form(response.getTag('command'))
File "/usr/share/gajim/src/adhoc_commands.py", line 313, in stage3_next_form
self.data_form_widget.data_form=self.dataform
File "/usr/share/gajim/src/dataforms_widget.py", line 67, in set_data_form
self.build_single_data_form()
File "/usr/share/gajim/src/dataforms_widget.py", line 127, in build_single_data_form
self.clean_data_form()
File "/usr/share/gajim/src/dataforms_widget.py", line 141, in clean_single_data_form
self.singleform.destroy()
AttributeError: 'DataFormWidget' object has no attribute 'singleform'
before sending the actual command, you should check if the entered string is a valid email adress (simple regex should do) and if it is not, give an error message but not send the command.
(btw, you should add ad-hoc to trac's "components" combobox)