Discussion:
Bug#860523: python-dogtail: /bin/sniff fails to start on a merged-/usr system
i***@debian.org
2017-04-18 07:20:58 UTC
Permalink
Package: python-dogtail
Version: 0.9.9-1
Severity: normal

Hi!

I have usrmerge installed so sniff will be started from /bin/sniff
by default. It fails like this:

Traceback (most recent call last):
File "/bin/sniff", line 783, in <module>
main()
File "/bin/sniff", line 780, in main
sniff = SniffApp()
File "/bin/sniff", line 65, in __init__
self.app.set_icon_from_file(os.path.join(path, 'share/icons/hicolor/scalable/apps/dogtail-head.svg'))
Error: g-file-error-quark: Failed to open file '/share/icons/hicolor/scalable/apps/dogtail-head.svg': No such file or directory (4)

But starting /usr/bin/sniff explicitly works.

It looks like sniff is assuming too much wrt. the location of icons
relatively to the location of the executable.


-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (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 /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-dogtail depends on:
ii at-spi2-core 2.22.0-5+b1
ii gir1.2-gtk-3.0 3.22.12-1
ii python 2.7.13-2
ii python-apt 1.4.0~beta2
ii python-gi 3.22.0-2
ii python-gi-cairo 3.22.0-2
ii python-pyatspi 2.20.3+dfsg-1
pn python:any <none>
ii xvfb 2:1.19.3-1

Versions of packages python-dogtail recommends:
ii imagemagick 8:6.9.7.4+dfsg-5
ii imagemagick-6.q16 [imagemagick] 8:6.9.7.4+dfsg-5
pn python-celementtree | python-elementtree <none>

python-dogtail suggests no packages.

-- no debconf information
--
intrigeri
Marco d'Itri
2018-08-06 12:28:54 UTC
Permalink
Control: severity -1 grave
Post by i***@debian.org
It looks like sniff is assuming too much wrt. the location of icons
relatively to the location of the executable.
Since merged-/usr is now the default, I am raising accordingly the
priority of this bug.
This is the last package in Debian still to be fixed.
--
ciao,
Marco
Debian Bug Tracking System
2018-08-06 12:33:06 UTC
Permalink
Post by Marco d'Itri
severity -1 grave
Bug #860523 [python-dogtail] python-dogtail: /bin/sniff fails to start on a merged-/usr system
Severity set to 'grave' from 'normal'
--
860523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860523
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2018-09-03 18:27:03 UTC
Permalink
tags -1 patch
Bug #860523 [python-dogtail] python-dogtail: /bin/sniff fails to start on a merged-/usr system
Added tag(s) patch.
--
860523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860523
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2018-12-01 10:51:07 UTC
Permalink
Your message dated Sat, 01 Dec 2018 10:49:00 +0000
with message-id <E1gT2pY-0002Zg-***@fasolo.debian.org>
and subject line Bug#860523: fixed in dogtail 0.9.9-2
has caused the Debian Bug report #860523,
regarding python-dogtail: /bin/sniff fails to start on a merged-/usr system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
860523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860523
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...