After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 387201 - Would be nice to be able to copy text from traceroute
Would be nice to be able to copy text from traceroute
Status: RESOLVED NOTGNOME
Product: gnome-nettool
Classification: Applications
Component: general
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: Germán Poo-Caamaño
Rodrigo Moya
Depends on:
Blocks:
 
 
Reported: 2006-12-18 16:47 UTC by Sebastien Bacher
Modified: 2007-08-07 20:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2006-12-18 16:47:40 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gnome-nettool/+bug/55607

"1.Access "system->network tools->Tracerouter";
2.Input network address,and the clicking of the "tracking";
3.Can not copy result in text reproduction.
..."
Comment 1 Germán Poo-Caamaño 2007-08-05 04:33:52 UTC
1. Open Nettool
2. Input an IP or hostname.
3. Press 'Trace'.
4. Edit -> Copy

5. Open gEdit
6. Edit -> Paste.
Comment 2 Sebastien Bacher 2007-08-06 23:33:47 UTC
nothing is copied when using those steps, reopening
Comment 3 Germán Poo-Caamaño 2007-08-06 23:52:06 UTC
Interesting.

If I try the Ubuntu Feisty version, it doesn't work.

If I try svn trunk version, it works.

I don't remember anyone have touched that piece of code in a while.

May you try the svn trunk's version?
Comment 4 Germán Poo-Caamaño 2007-08-07 20:47:50 UTC
I've tested it using gnome-nettool 2.14 from Debian Etch, and it also works.

traceroute.c didn't change between 2.14 to 2.18. My guess the bug was introduced by the Ubuntu customization (it uses tracepath instead tcptraceroute/traceroute).

In Ubuntu Feisty, at the moment of paste, the output is the following:

(gnome-nettool:29446): Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid byte sequence in conversion input

So, I guess strip_line (traceroute.c) is filled with some garbage.