Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1024192

Bug#969772: rabbitvcs: searches PATH for a program named "gio trash"

From Simon McVittie <smcv@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#969772: rabbitvcs: searches PATH for a program named "gio trash"
Date 2020-09-08 01:20 +0200
Message-ID <AMyAx-3Lo-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: rabbitvcs
Version: 0.18-2
Severity: normal

While searching codesearch.debian.net for references to the deprecated
gvfs-* utilities, I noticed that rabbitvcs seems to have been ported
from gvfs-trash to "gio trash" (good), but it seems to have been ported
incorrectly (less good).

It does this:

            retcode = subprocess.call(["gio trash", abspath])

which searches the PATH for a program named "gio trash", which probably
isn't going to exist.

I think this should be:

            retcode = subprocess.call(["gio", "trash", abspath])

Thanks,
    smcv

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#969772: rabbitvcs: searches PATH for a program named "gio trash" Simon McVittie <smcv@debian.org> - 2020-09-08 01:20 +0200

csiph-web