The last commit (my-org-export-inline-image-p) fails with (wrong-type-argument stringp nil)
krasimir-vanev opened this issue · 1 comments
Debugger entered--Lisp error: (wrong-type-argument stringp nil) |
string-match(".(jpeg|jpg|png|gif|svg|svgz|swf)'" nil) |
#[(rule) "\302^HA "\205\f^@\303\304\305"\207" [rule link string-match throw exit t] 3](%28"file" .))
mapc(#[(rule) "\302^HA "\205\f^@\303\304\305"\207" [rule link string-match throw exit t] 3](%28"file" .) ("fuzzy" . ".(jpeg|jpg|png|gif|svg|svgz|swf)'") ("http" . ".(jpeg|jpg|png|gif|svg|svgz|swf)'") ("https" . ".(jpeg|jpg|png|gif|svg|svgz$
byte-code("\301\302^H"\210\303\207" [rules mapc #[(rule) "\302^HA "\205\f^@\303\304\305"\207" [rule link string-match throw exit t] 3] nil] 3)
my-org-export-inline-image-p(nil (("file" . ".(jpeg|jpg|png|gif|svg|svgz|swf)'") ("fuzzy" . ".(jpeg|jpg|png|gif|svg|svgz|swf)'") ("http" . ".(jpeg|jpg|png|gif|svg|svgz|swf)'") ("https" . ".(jpeg|jpg|png|gif|svg|svgz|swf)'")))
org-rst-link((link (:type "HTTP" :path "//localhost:8080/api/v2" :raw-link "HTTP://localhost:8080/api/v2" :application nil :search-option nil :begin 1363 :end 1391 :contents-begin nil :contents-end nil :post-blank 0 :parent (paragraph (:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blank 1 :post-affiliated 1285 :parent (section (:begin $
org-export-data((link (:type "HTTP" :path "//localhost:8080/api/v2" :raw-link "HTTP://localhost:8080/api/v2" :application nil :search-option nil :begin 1363 :end 1391 :contents-begin nil :contents-end nil :post-blank 0 :parent (paragraph (:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blank 1 :post-affiliated 1285 :parent (section (:beg$
#[(element) "\302^H "\207" [element info org-export-data] 3](%28link %28:type "HTTP" :path "//localhost:8080/api/v2" :raw-link "HTTP://localhost:8080/api/v2" :application nil :search-option nil :begin 1363 :end 1391 :contents-begin nil :contents-end nil :post-blank 0 :parent %28paragraph %28:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blan$
mapconcat%28#[%28element) "\302^H "\207" [element info org-export-data] 3] (#("The system is accessible via a REST API.\nThe base URL for all requests is " 0 40 (:parent (paragraph (:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blank 1 :post-affiliated 1285 :parent (section (:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :p$
org-export-data((paragraph (:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blank 1 :post-affiliated 1285 :parent (section (:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :post-blank 1 :parent (headline (:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outline :contents-begin 1285 :contents-end 12802 :lev$
#[(element) "\302^H "\207" [element info org-export-data] 3](%28paragraph %28:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blank 1 :post-affiliated 1285 :parent %28section %28:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :post-blank 1 :parent %28headline %28:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outli$
mapconcat%28#[%28element) "\302^H "\207" [element info org-export-data] 3] ((paragraph (:begin 1285 :end 1392 :contents-begin 1285 :contents-end 1392 :post-blank 1 :post-affiliated 1285 :parent (section (:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :post-blank 1 :parent (headline (:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hidd$
org-export-data((section (:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :post-blank 1 :parent (headline (:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outline :contents-begin 1285 :contents-end 12802 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :co$
#[(element) "\302^H "\207" [element info org-export-data] 3](%28section %28:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :post-blank 1 :parent %28headline %28:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outline :contents-begin 1285 :contents-end 12802 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-bl$
mapconcat%28#[%28element) "\302^H "\207" [element info org-export-data] 3] ((section (:begin 1285 :end 1393 :contents-begin 1285 :contents-end 1392 :post-blank 1 :parent (headline (:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outline :contents-begin 1285 :contents-end 12802 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil$
org-export-data((headline (:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outline :contents-begin 1285 :contents-end 12802 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :CATEGORY "howto" :title (#("REST API" 0 8 (:parent #0))) :parent (o$
#[(element) "\302^H "\207" [element info org-export-data] 3](%28headline %28:raw-value "REST API" :begin 1274 :end 12802 :pre-blank 0 :hiddenp outline :contents-begin 1285 :contents-end 12802 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :CATEGORY "howto" :t$
mapconcat%28#[%28element) "\302^H "\207" [element info org-export-data] 3] ((headline (:raw-value "Install" :begin 1 :end 810 :pre-blank 0 :hiddenp outline :contents-begin 19 :contents-end 810 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp 0 :quotedp nil :CATEGORY "howto" :titl$
org-export-data((org-data nil (headline (:raw-value "Install" :begin 1 :end 810 :pre-blank 0 :hiddenp outline :contents-begin 19 :contents-end 810 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp 0 :quotedp nil :CATEGORY "howto" :title (#("Install" 0 7 (:parent #1))) :parent #$
org-export-as(rst nil nil nil (:output-file "./howto.rst")) |
org-export-to-file(rst "./howto.rst" nil nil nil nil nil) |
org-rst-export-to-rst(nil nil nil nil) |
org-export-dispatch(nil) |
#(org-export-dispatch nil nil) |
funcall(# org-export-dispatch nil nil) |
(with-no-warnings (funcall ad--addoit-function function record-flag keys)) |
(setq ad-return-value (with-no-warnings (funcall ad--addoit-function function record-flag keys)))
(let ((ido-ubiquitous-next-override (ido-ubiquitous-get-command-override function))) (setq ad-return-value (with-no-warnings (funcall ad--addoit-function function record-flag keys))))
(ido-ubiquitous-with-override (ido-ubiquitous-get-command-override function) (setq ad-return-value (with-no-warnings (funcall ad--addoit-function function record-flag keys))))
(let (ad-return-value) (ido-ubiquitous-with-override (ido-ubiquitous-get-command-override function) (setq ad-return-value (with-no-warnings (funcall ad--addoit-function function record-flag keys)))) ad-return-value)
ad-Advice-call-interactively(# org-export-dispatch nil nil)
apply(ad-Advice-call-interactively # (org-export-dispatch nil nil))
call-interactively(org-export-dispatch nil nil) |
command-execute(org-export-dispatch)
Hi. Thank you for letting me know.