New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qvm-open-in-dvm something.txt fails with "Unable to handle mimetype of the requested file (exit status: 256)!" #1490

Closed
marmarek opened this Issue Dec 5, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Dec 5, 2015

It looks like Fedora 23 template on R3.1 (not sure about R3.0) have default editor for text/plain set to emacsclient. Which requires running emacs server and fails if it isn't running. The exact message is (the command is exactly what is called by qvm-open-in-dvm):

$ /usr/bin/mimeopen -n --database /usr/share/mime:/usr/local/share/mime:/home/user/.local/share/mime:/usr/share/qubes-mime-override /tmp/something.txt
Opening "/tmp/something.txt" with Emacs Client  (text/plain)
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: error executing alternative editor """"

Proposed workaround for R3.1 release: do not install emacs by default.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 5, 2015

Member

The same goes for R3.0.

Member

marmarek commented Dec 5, 2015

The same goes for R3.0.

marmarek added a commit to marmarek/old-qubes-core-agent-linux that referenced this issue Dec 6, 2015

open-in-vm: Fix path to mimeinfo database
There was missing "/mime" in entry for user home.

QubesOS/qubes-issues#1490

marmarek added a commit to QubesOS/qubes-core-agent-linux that referenced this issue Dec 20, 2015

open-in-vm: Fix path to mimeinfo database
There was missing "/mime" in entry for user home.

QubesOS/qubes-issues#1490

(cherry picked from commit 169c389)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment