Bug#771766: debian-goodies: behavior problem with debmany when using -z zenity option.

2016-08-04 Thread Axel Beckert
Control: notfound -1 0.63
Control: close -1

Hi Kevin,

Kevin C. wrote:
> When using "debmany -z somepackage"  such as: debmany -z debian-goodies .
> If double clicking a filename in the zenity dialog gives an error, but if
> you first just select the filename and click "ok" it works. This
> problem/annoyance seems to have started after an upgrade. I believe it used
> to work fine. When double clicking for example dblob, the Error is this: 
> /usr/bin/debmany: line 382: cd: 
> /usr/share/man/man1/dglob.1.gz|/usr/share/man: 
> No such file or directory
> 
> It seems zenity is returning a | delimited value, when double clicking the
> filename and only returning the file when hitting "ok".

This seems to have been a (now fixed) bug in zenity, not debmany:

* I can no more reproduce this issue.
* There is a zenity bug related to reporting items twice, pipe
  delimited: https://bugs.debian.org/717053
* The bug was found in 3.8.0-1 and fixed in 3.12.1-1. Your reported
  version is inbetween:

> ii  zenity  3.8.0-1ubuntu1

Hence, I'm now closing this bug report. Thanks for the bug report
nevertheless.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#771766: debian-goodies: behavior problem with debmany when using -z zenity option.

2014-12-01 Thread Kevin C.
Package: debian-goodies
Version: 0.63
Severity: normal
Tags: patch

Dear Maintainer,

When using debmany -z somepackage  such as: debmany -z debian-goodies .
If double clicking a filename in the zenity dialog gives an error, but if
you first just select the filename and click ok it works. This
problem/annoyance seems to have started after an upgrade. I believe it used
to work fine. When double clicking for example dblob, the Error is this: 
/usr/bin/debmany: line 382: cd: /usr/share/man/man1/dglob.1.gz|/usr/share/man: 
No such file or directory

It seems zenity is returning a | delimited value, when double clicking the
filename and only returning the file when hitting ok.

To fix this I added this line: after line 360:
return=$(echo $return | cut -d\| -f2)

This seems to work for me, I don't if there are any other ill effects.
 
Thanks,
Kevin Compton



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-39-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-goodies depends on:
ii  curl  7.35.0-1ubuntu2.2
ii  dctrl-tools [grep-dctrl]  2.23ubuntu1
ii  dialog1.2-20130928-1
ii  perl  5.18.2-2ubuntu1
ii  python2.7.5-5ubuntu3
ii  whiptail  0.52.15-2ubuntu5

Versions of packages debian-goodies recommends:
ii  lsof  4.86+dfsg-1ubuntu2

Versions of packages debian-goodies suggests:
pn  popularity-contest  none
ii  xdg-utils   1.1.0~rc1-2ubuntu7.1
ii  zenity  3.8.0-1ubuntu1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org