qubes-open fails

14 views
Skip to first unread message

Sven Semmler

unread,
Nov 15, 2018, 5:03:27 PM11/15/18
to qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Since a day or two, I get the following error messages when attempting
to open a file in a DVM...

"Unable to handle mimetype of the requested file (exit status: 768)!"

So I started the VM that is the template for the DVM

qvm-run -a dvm-offline xterm &

and experimented...

1) calling xdg-open directly works
2) calling qubes-open does not

user@dvm-offline:~$ xdg-open test.pdf
user@dvm-offline:~$ qubes-open test.pdf
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
/usr/bin/xdg-open: line 881: x-www-browser: command not found
/usr/bin/xdg-open: line 881: firefox: command not found
/usr/bin/xdg-open: line 881: iceweasel: command not found
/usr/bin/xdg-open: line 881: seamonkey: command not found
/usr/bin/xdg-open: line 881: mozilla: command not found
/usr/bin/xdg-open: line 881: epiphany: command not found
/usr/bin/xdg-open: line 881: konqueror: command not found
/usr/bin/xdg-open: line 881: chromium: command not found
/usr/bin/xdg-open: line 881: chromium-browser: command not found
/usr/bin/xdg-open: line 881: google-chrome: command not found
/usr/bin/xdg-open: line 881: www-browser: command not found
/usr/bin/xdg-open: line 881: links2: command not found
/usr/bin/xdg-open: line 881: elinks: command not found
/usr/bin/xdg-open: line 881: links: command not found
/usr/bin/xdg-open: line 881: lynx: command not found
/usr/bin/xdg-open: line 881: w3m: command not found
xdg-open: no method available for opening 'test.pdf'

What could cause this? I haven't actually changed anything other than
running regular updates on the template. As far as I can see
qubes-open is a wrapper script around xdg-open setting some
environment variables.

/Sven
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE18ry22WNibwI1qeq2m4We49UH7YFAlvt7ScACgkQ2m4We49U
H7aPYg//SFC+7Rht1jrSVTjWhqzjYPIJnIevHMGyU+1b4UBaRKZoHHpUFU2fXiuW
2q4Q1wFw62kMp79Lr+Uz37RdODIZCe1LnJUugVgP8KtPpmIpQEhhQEofqQlvf65N
heZJxuLjaKn6fByR3beU1tdnmbKL6SR4DJ5RsgGOZ/N3otkQUN+0QtKB1+/wJmwC
GhJt/oeMsc8yB3i4wU192kCL1ombCduKkrPd2GY1hDN7bsE8jTyLNC29j2VsD126
5HCXUJLn6/CQRKf/1SRf7KZqKIWF3hhMFhLFjREdo/vkotO7/kV3oVqbUEBLBYzX
0ODwgII2h8BBCutoO7q7PsJch5eu+EQEYwVxWQwcF0K7sEvkekyhJHlC7cRXtIFO
Oa7CiP29BglG+danCv28RoqGpgZRdOqDJicJEZstIDxrjwBXAIfmMyHj8GU18Yj5
tpxAEprvTQPC44IRFYrlclFP08b+/v1tTo7VUhJZMSBzwlWb0HoQEhTOjvDp5X38
z9SkydwVnR8Km1EbAWYzdMlYPMdowxT6g9BSmx1EZNtjVUckpR6DK3wTPQl+d3N7
E9ibNBoFmbI7ybSHCZBmRZkDCk5TEFzmfSgowJ635LBZVsmZlR59SKSPqWIJ2ai2
SQXCwltNgyWa5NbKBNxv83b9vVDUoLurLGa9SRlKCoLgB6H+ZAE=
=bvaM
-----END PGP SIGNATURE-----

Sven Semmler

unread,
Nov 19, 2018, 3:52:50 PM11/19/18
to qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/15/18 4:03 PM, Sven Semmler wrote:
> What could cause this? I haven't actually changed anything other
> than running regular updates on the template. As far as I can see
> qubes-open is a wrapper script around xdg-open setting some
> environment variables.

I restored the template from backup and the issue is gone. My best bet
is that it was me running dnf autoremove and saying "yes" to something
that I shouldn't have.

/Sven
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE18ry22WNibwI1qeq2m4We49UH7YFAlvzIpoACgkQ2m4We49U
H7aLmhAAnnKRXBiGeTLegBNMDh2SWVGxkdQ8+ICA/eI0M0x38SVufqi/DeOwCjCg
by7gi6NIuupjGALH8jYSV4Nj/0eLuB2yYGGOh8C0JzLYob34E+srH77cgw8cz/jE
ZYlAjbcSp5N7CljoXBKYbz1pGUhOkfAFLj5kPIkT53e3qGqkpg+0l0EptoSJrH/x
glETTNfvwi8tQAJF2/BFZbdHy0L+wHGT6UJGsqVpnfXvQ16+FHzdb7crBMFTpAG/
S5ehqvmOunGgPCSAqZEUu/vIiY/RxGwYAclI9IDPXXi3dH8GP88tSRjUSV1Ym7k5
wl2E4Wm5+hfpNk5re73b47+rWrMW9jt5rE7/bbUqAIMOjGv5jcNwMW62JM+p15Lf
jE7S9OQ+LmHKG2atcyWTw+OOLcBCOugK6FN5RRUSBsxx/OPo6lx3ZAeJQdzGZeot
arFhVJVoPL7Z3Cg1riPAEvTptGthcMFQBJfO7L5R0AWWVQmWXNNVK6OFTqv1gv+k
nWzKOZhARph6kbflREHZwFOtIbNLUl0htwC7vRZqyYXZSuYaFjcdrKg8Bz3tJKfw
qTrZSYtoalWMNxPm9Per9m0tWXjRgqQihB6D1Afm/L+phBm9zMJWFQi9HbfzCqyZ
aYEI9FxQykcCDcQ+JvJLR8GBphgFclxJf8PHbhwm5WPRx7DPz9s=
=0rQZ
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages