emacs-love / weblorg

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

Blocker: weblorg doesn't work any more after upgrading to the latest version of org-mode #78

Closed markokocic closed 5 months ago

markokocic commented 6 months ago

After upgrading org-mode to the latest release (9.7.2) I am not able to to publish my web site anymore, using the same script that was working before.

When trying to publish, I get the following error:

...
  weblorg--route-collect-and-aggregate(#<hash-table eql 16/65 0x15591df2ab17>)
  weblorg--route-posts(#<hash-table eql 16/65 0x15591df2ab17>)
  weblorg-export-templates(#<hash-table eql 16/65 0x15591df2ab17>)
  #f(compiled-function (_ route) #<bytecode 0x60d16dd25608c91>)("home" #<hash-table eql 16/65 0x15591df2ab17>)
  maphash(#f(compiled-function (_ route) #<bytecode 0x60d16dd25608c91>) #<hash-table equal 6/65 0x15591df2a2e3>)
  #f(compiled-function (_ site) #<bytecode -0x4ae29a8e3e43e58>)("https://marko.euptera.com" #<hash-table eql 5/6 0x15591df2a28d>)
  maphash(#f(compiled-function (_ site) #<bytecode -0x4ae29a8e3e43e58>) #<hash-table equal 1/65 0x15591df0958f>)
  weblorg-export()
  #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_99>(#<buffer  *load*> "/home/marko/src/marko.euptera.com/publish.el")
  load-with-code-conversion("/home/marko/src/marko.euptera.com/publish.el" "/home/marko/src/marko.euptera.com/publish.el" nil t #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_99>)
  command-line--load-script("/home/marko/src/marko.euptera.com/publish.el")
  command-line-1(("-scriptload" "publish.el"))
  command-line()
  normal-top-level()
Wrong type argument: stringp, [org-element-deferred org-element--headline-raw-value (3 19) nil]
marko@fine ~/s/marko.euptera.com (master) [255]>
markokocic commented 6 months ago

I can verify that this issue is fixed for me with the pull request #75