Ticket #3603 (closed defect: fixed)

Opened 8 months ago

Last modified 3 months ago

file transfer doesn't work (A file got dropped on the roster)

Reported by: Dicson Assigned to: asterix
Priority: normal Milestone:
Component: None Version: svn
Severity: normal Keywords:
Cc: OS: Unix

Description

Traceback (most recent call last):

File "/home/test/gajim/src/roster_window.py", line 4994, in drag_data_received_data

dialogs.ErrorDialog?(_('Invalid file URI:'), '\n'.join(bad_uris))

File "/home/test/gajim/src/dialogs.py", line 1100, in init

gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, pritext, sectext)

File "/home/test/gajim/src/dialogs.py", line 925, in init

self.format_secondary_text(sectext)

TypeError?: GtkMessageDialog?.format_secondary_text() argument 1 must be string without null bytes or None, not str

Attachments

patch (468 bytes) - added by Dicson on 12/04/07 17:45:12.

Change History

12/04/07 17:45:12 changed by Dicson

  • attachment patch added.

12/04/07 19:32:13 changed by asterix

could you explain why you remove the last uri of the list ?

12/04/07 19:58:38 changed by Dicson

last uri is \x00 . i drag 1 file,but gajim try send 2 files. uri_splitted= ["1","\x00"]

12/04/07 21:03:04 changed by Dicson

There can be problem into gtk?Version GTK+: 2.12.1 Version PyGTK: 2.12.0

12/04/07 22:14:30 changed by asterix

I have the same version as you, and FT by DND works ...

12/05/07 13:52:15 changed by anonymous

Problem in KDE, in GNOME all works wonderfully

12/05/07 13:55:08 changed by Dicson

I install GNOME and verified this

(follow-up: ↓ 8 ) 12/05/07 17:56:30 changed by asterix

ok, so that sounds a KDE bug ...

(in reply to: ↑ 7 ) 12/15/07 15:23:33 changed by anonymous

Replying to asterix:

ok, so that sounds a KDE bug ...

Works perfectly for me: KDE 3.5.7 "release 69.1" GTK+-Version: 2.10.6 PyGTK-Version 2.10.3

12/15/07 15:48:17 changed by asterix

someone with KDE 3.5.7, GTK2.12.1 PyGTK2.10.4 Gajim svn has the traceback

so that sounds a GTK2.12 bug. But I use GTK2.12.3 with XFCE and that works ...

05/11/08 04:16:08 changed by js

  • status changed from new to closed.
  • resolution set to fixed.

This should also be fixed by r2398, which fixed FT DnD on Windows which also has \0 as the last element.

05/11/08 04:17:00 changed by anonymous

Erm, sorry, r9610 I mean. Stupid clipboard ;)


Add/Change #3603 (file transfer doesn't work (A file got dropped on the roster))




Change Properties
Action