emacs-love / weblorg

Static Site Generator for Emacs
https://emacs.love/weblorg
GNU General Public License v3.0
280 stars 21 forks source link

fails to generate site when weblorg installed via straight.el #65

Closed cmchittom closed 2 years ago

cmchittom commented 2 years ago

This is under Emacs 27.2 on OpenBSD 7.1. The site's publish.el is the one from the examples/ subdirectory, with the boilerplate at the top to install weblorg removed.

When I install weblorg via straight.el site generation errors out with Wrong type argument: stringp, nil and generates no files in output/. I checked by runningM-x eval-buffer on publish.el directly to see if I'd get a better error (I didn't, I got the same), and I do see that it gets as far as htmlifying the text.

However, when I do emacs -Q, manually install the MELPA repository, manually install weblorg via M-x package-install, and then try, the site is successfully generated.

I'm really not sure what's going on here. As far as I know, straight.el is just pulling from this repository, which should be the same as what the MELPA server is presenting, I assume. It's not a big deal for me (I can just have one package installed differently than all the others), it's just kind of strange, so I thought I'd mention it.

cmchittom commented 2 years ago

Still not sure why this happened, but I was able to work around whatever it is by simply specifying this repository directly, i.e.,

(straight-use-package '(weblorg :type git :host github :repo "emacs-love/weblorg"))

This lets me use straight.el across the board, which is what I cared about.