emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil"
@ 2013-08-01 15:50 Vijayender
  2013-08-02  9:32 ` Nicolas Goaziou
  2013-08-02  9:34 ` Noorul Islam K M
  0 siblings, 2 replies; 4+ messages in thread
From: Vijayender @ 2013-08-01 15:50 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 4420 bytes --]

Hi All

After the commit of 
http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2
Looks like long urls for eg, the following doc are failing to html 
export. It happens without any customization on emacs-24.3-3

* queue to stack
   - http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg

Are failing to export to html. The problem disappears on enclosing url 
with [[]] or for a jpg url which is shorter for eg: 
http://img22.fansshare.com/photos/livtyler/jtvr-armageddon-1577984889.jpg

The debug stack trace is:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   string-match("width=" nil)
   org-html-handle-links(#("  - [[http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg][http://img22.fansshare.com/celebrity/photos/934\\_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg]]" 0 3 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t) 3 4 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil) 4 6 (face org-link) 6 10 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 10 11 (face org-link org-protected t org-no-description nil) 11 100 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 100 101 (face org-link fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 101 102 (face org-link fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 102 103 (face org-link) 103 104 (face org-link) 104 107 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 107 108 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 108 109 (face org-link) 109 150 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 150 151 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 151 152 (face org-link) 152 153 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 153 199 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 199 200 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) fontified t face org-link) 200 201 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) fontified t face org-link) 201 202 (face org-link) 202 203 (face org-link)) (:latex-image-options nil :exclude-tags ("noexport") :select-tags ("export") :publishing-directory nil :timestamp nil :expand-quoted-html t :html-table-tag "<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" :xml-declaration (("html" . "<?xml version=\"1.0\" encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>")) :html-postamble auto :html-preamble t :html-extension "html" :inline-images maybe :convert-org-links t :agenda-style nil :style-extra "" :style "" :style-include-scripts t :style-include-default t :table-auto-headline t :tables t :time-stamp-file t :creator-info t :email-info nil :author-info t :email "vkarnaty@localhost" ...))
   byte-code("\b\203 .............. )
   org-export-as-html(nil)
   call-interactively(org-export-as-html)
   org-export(nil)
   call-interactively(org-export nil nil)

-- 
Regards
Vijayender	


[-- Attachment #2: Type: text/html, Size: 5470 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil"
  2013-08-01 15:50 Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil" Vijayender
@ 2013-08-02  9:32 ` Nicolas Goaziou
  2013-08-02  9:34 ` Noorul Islam K M
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2013-08-02  9:32 UTC (permalink / raw)
  To: Vijayender; +Cc: emacs-orgmode

Hello,

Vijayender <kvijayender@gmail.com> writes:

> After the commit of
> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2
> Looks like long urls for eg, the following doc are failing to html
> export. It happens without any customization on emacs-24.3-3
>
> * queue to stack
>   - http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg
>
> Are failing to export to html. The problem disappears on enclosing url
> with [[]] or for a jpg url which is shorter for eg:
> http://img22.fansshare.com/photos/livtyler/jtvr-armageddon-1577984889.jpg

It looks like the problem doesn't appear in latest Org version. You may want to upgrade Org, or just
wait for next Emacs release.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil"
  2013-08-01 15:50 Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil" Vijayender
  2013-08-02  9:32 ` Nicolas Goaziou
@ 2013-08-02  9:34 ` Noorul Islam K M
  2013-08-04  5:24   ` Vijayender
  1 sibling, 1 reply; 4+ messages in thread
From: Noorul Islam K M @ 2013-08-02  9:34 UTC (permalink / raw)
  To: Vijayender; +Cc: emacs-orgmode

Vijayender <kvijayender@gmail.com> writes:

> Hi All
>
> After the commit of
> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2
> Looks like long urls for eg, the following doc are failing to html export. It
> happens without any customization on emacs-24.3-3
>
> * queue to stack
>   - http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg
>

I am not getting this stack trace.

Org-mode version 8.0.6 (release_8.0.6-377-ga3375f @ /home/noorul/.emacs.d/site-lisp/org-mode/lisp/)
GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2013-07-18 on noman

Thanks and Regards
Noorul

> Are failing to export to html. The problem disappears on enclosing url with [[]]
> or for a jpg url which is shorter for eg:
> http://img22.fansshare.com/photos/livtyler/jtvr-armageddon-1577984889.jpg
>
> The debug stack trace is:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   string-match("width=" nil)
>   org-html-handle-links(#("  - [[http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg][http://img22.fansshare.com/celebrity/photos/934\\_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg]]" 0 3 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t) 3 4 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil) 4 6 (face org-link) 6 10 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 10 11 (face org-link org-protected t org-no-description nil) 11 100 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 100 101 (face org-link fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 101 102 (face org-link fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 102 103 (face org-link) 103 104 (face org-link) 104 107 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 107 108 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 108 109 (face org-link) 109 150 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 150 151 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 151 152 (face org-link) 152 153 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 153 199 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 199 200 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) fontified t face org-link) 200 201 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) fontified t face org-link) 201 202 (face org-link) 202 203 (face org-link)) (:latex-image-options nil :exclude-tags ("noexport") :select-tags ("export") :publishing-directory nil :timestamp nil :expand-quoted-html t :html-table-tag "<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" :xml-declaration (("html" . "<?xml version=\"1.0\" encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>")) :html-postamble auto :html-preamble t :html-extension "html" :inline-images maybe :convert-org-links t :agenda-style nil :style-extra "" :style "" :style-include-scripts t :style-include-default t :table-auto-headline t :tables t :time-stamp-file t :creator-info t :email-info nil :author-info t :email "vkarnaty@localhost" ...))
>   byte-code("\b\203 .............. )
>   org-export-as-html(nil)
>   call-interactively(org-export-as-html)
>   org-export(nil)
>   call-interactively(org-export nil nil)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil"
  2013-08-02  9:34 ` Noorul Islam K M
@ 2013-08-04  5:24   ` Vijayender
  0 siblings, 0 replies; 4+ messages in thread
From: Vijayender @ 2013-08-04  5:24 UTC (permalink / raw)
  To: Noorul Islam K M; +Cc: emacs-orgmode

I'm on 7.9.3f. Let me wait up.

Thank you!

-- 
Regards
Vijayender


On 08/02/2013 03:04 PM, Noorul Islam K M wrote:
> Vijayender <kvijayender@gmail.com> writes:
>
>> Hi All
>>
>> After the commit of
>> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2
>> Looks like long urls for eg, the following doc are failing to html export. It
>> happens without any customization on emacs-24.3-3
>>
>> * queue to stack
>>    - http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg
>>
> I am not getting this stack trace.
>
> Org-mode version 8.0.6 (release_8.0.6-377-ga3375f @ /home/noorul/.emacs.d/site-lisp/org-mode/lisp/)
> GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
>   of 2013-07-18 on noman
>
> Thanks and Regards
> Noorul
>
>> Are failing to export to html. The problem disappears on enclosing url with [[]]
>> or for a jpg url which is shorter for eg:
>> http://img22.fansshare.com/photos/livtyler/jtvr-armageddon-1577984889.jpg
>>
>> The debug stack trace is:
>>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>    string-match("width=" nil)
>>    org-html-handle-links(#("  - [[http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg][http://img22.fansshare.com/celebrity/photos/934\\_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg]]" 0 3 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t) 3 4 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil) 4 6 (face org-link) 6 10 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 10 11 (face org-link org-protected t org-no-description nil) 11 100 (face org-link fontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 100 101 (face org-link fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 101 102 (face org-link fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-context nil org-protected t org-no-description nil) 102 103 (face org-link) 103 104 (face org-link) 104 107 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 107 108 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 108 109 (face org-link) 109 150 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 150 151 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 151 152 (face org-link) 152 153 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 153 199 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-link) 199 200 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) fontified t face org-link) 200 201 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) fontified t face org-link) 201 202 (face org-link) 202 203 (face org-link)) (:latex-image-options nil :exclude-tags ("noexport") :select-tags ("export") :publishing-directory nil :timestamp nil :expand-quoted-html t :html-table-tag "<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" :xml-declaration (("html" . "<?xml version=\"1.0\" encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>")) :html-postamble auto :html-preamble t :html-extension "html" :inline-images maybe :convert-org-links t :agenda-style nil :style-extra "" :style "" :style-include-scripts t :style-include-default t :table-auto-headline t :tables t :time-stamp-file t :creator-info t :email-info nil :author-info t :email "vkarnaty@localhost" ...))
>>    byte-code("\b\203 .............. )
>>    org-export-as-html(nil)
>>    call-interactively(org-export-as-html)
>>    org-export(nil)
>>    call-interactively(org-export nil nil)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-04  5:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-01 15:50 Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil" Vijayender
2013-08-02  9:32 ` Nicolas Goaziou
2013-08-02  9:34 ` Noorul Islam K M
2013-08-04  5:24   ` Vijayender

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).