Skip to content
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

ox-wk-export-to-wiki generates error #10

Closed
excalamus opened this issue Aug 7, 2019 · 5 comments · Fixed by #11
Closed

ox-wk-export-to-wiki generates error #10

excalamus opened this issue Aug 7, 2019 · 5 comments · Fixed by #11

Comments

@excalamus
Copy link

Problem

Running ox-wk-export-to-wiki generates the error:

progn: Wrong type argument: symbolp, "utf-8"

Version(s)

I am running GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 on Windows 10. The org-mode version is Org mode version 9.2.3 (9.2.3-elpa @ c:/Users/<user>/.emacs.d/elpa/org-9.2.3/).

Steps to generate error

  1. Start emacs -Q
  2. C-x C-f ~/test.org
  3. Insert
* Header
Lorem ipsum dolor sit amet...
  1. C-x C-s
  2. M-: (package-initialize)
  3. ox-wk-export-to-wiki
  4. Answer 'yes' to "Buffer test.txt modified; kill anyway? (yes or no)"

This produces the following output in *Messages*:

basic-save-buffer-2: Wrong type argument: symbolp, "utf-8"

Workaround

Change (org-export-coding-system "utf-8") to (org-export-coding-system nil) in the ox-wk-export-to-wiki function in ox-wk.el.

At the moment, I'm not sure why the error happens or why this fixes it.

@w-vi
Copy link
Owner

w-vi commented Aug 16, 2019

Sorry for slow response but I was away and offline. Thanks a lot for the report I'll have a look.

@excalamus
Copy link
Author

excalamus commented Aug 17, 2019

You're fine! You released an entire library for free under the GPLv3! I appreciate your work and am curious about what you find.

@flowsta
Copy link

flowsta commented Oct 14, 2019

still failing

@w-vi
Copy link
Owner

w-vi commented Oct 15, 2019

@flowsta Please can you provide details on what emacs and org-mode version is it happening on?
M-x org-version
M-x emacs-version

@f279801
Copy link
Contributor

f279801 commented Dec 25, 2019

I'm facing the same issue.

Org mode version 9.2.6
GNU Emacs 26.3

f279801 pushed a commit to f279801/ox-wk.el that referenced this issue Dec 25, 2019
- org-export-coding-system expects a coding-system type, not a string
f279801 added a commit to f279801/ox-wk.el that referenced this issue Dec 25, 2019
- org-export-coding-system expects a coding-system type, not a string
f279801 added a commit to f279801/ox-wk.el that referenced this issue Dec 25, 2019
- org-export-coding-system expects a coding-system type, not a string
@f279801 f279801 mentioned this issue Dec 25, 2019
@w-vi w-vi closed this as completed in #11 Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants