disclaimer: I'm still relatively new to Emacs.

When I open an Epub on MS Windows, Emacs opens it using Zip-Archive mode and displays its content (which is normal afaik).

enter image description here

However, when I start nov-mode, encoded characters are displayed and I got an error of Wrong type argument: stringp, nil in the minibuffer.

enter image description here

What should I do? Where should I look?

EDIT You can find sources of nov here

  • Please add a reference (with link) to something that describes nov-mode. Please turn on debug-on-error and show the backtrace you get. Preferably load the relevant source file first, so the backtrace is more detailed/clear.
    – Drew
    Aug 30 '19 at 16:55
  • The most common issue Windows users reported to me is that they haven't customized nov-unzip-program to the location of an unzip executable.
    – wasamasa
    Sep 1 '19 at 8:40

Two things were actually missing: - libxml2 dependency - proper setting of nov-unzip-program

I could add libxml2 the easy way by going to Emacs FTP, download the dependencies, and apply them in my Emacs installation directory.

For the set of nov-unzip-program I had to download Unzip for Windows, and set the path in init.el: (setq nov-unzip-program "C:\\My\\Path\\To\\unzip.exe")


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.