From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vijayender Subject: Re: Publishing long jpg urls fails with "org-html-handle-links: Wrong type argument: stringp, nil" Date: Sun, 04 Aug 2013 10:54:40 +0530 Message-ID: <51FDE598.5020101@gmail.com> References: <51FA83D5.4020102@gmail.com> <87r4ecmo5w.fsf@noman.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5qnx-0003Nu-4t for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 01:24:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5qns-0001FK-8Y for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 01:24:33 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:57099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5qnr-0001E4-Uv for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 01:24:28 -0400 Received: by mail-pa0-f46.google.com with SMTP id fa1so2103170pad.19 for ; Sat, 03 Aug 2013 22:24:27 -0700 (PDT) In-Reply-To: <87r4ecmo5w.fsf@noman.maa.corp.collab.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noorul Islam K M Cc: emacs-orgmode@gnu.org I'm on 7.9.3f. Let me wait up. Thank you! --=20 Regards Vijayender On 08/02/2013 03:04 PM, Noorul Islam K M wrote: > Vijayender writes: > >> Hi All >> >> After the commit of >> http://orgmode.org/w/?p=3Dorg-mode.git;a=3Dcommitdiff;h=3D55f4f921835b= bf5d7b8e9dd82fe8dcfef2fac4e2 >> Looks like long urls for eg, the following doc are failing to html exp= ort. It >> happens without any customization on emacs-24.3-3 >> >> * queue to stack >> - http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-l= ord-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= =2Ed/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=3D" nil) >> org-html-handle-links(#(" - [[http://img22.fansshare.com/celebrity= /photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg][http://img2= 2.fansshare.com/celebrity/photos/934\\_liv-tyler-arwen-lord-of-the-rings-= 2103158475.jpg]]" 0 3 (list-context nil list-prevs ((18)) list-struct ((1= 8 2 "- " nil nil nil 119)) list-item 18 fontified t) 3 4 (face org-link f= ontified t list-item 18 list-struct ((18 2 "- " nil nil nil 119)) list-pr= evs ((18)) list-context nil) 4 6 (face org-link) 6 10 (face org-link font= ified 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 (f= ace org-link org-protected t org-no-description nil) 11 100 (face org-lin= k 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= 0 101 (face org-link fontified t rear-nonsticky (mouse-face highlight key= map invisible intangible help-echo org-linked-text htmlize-link) list-ite= m 18 list-struct ((18 2 "- " nil nil nil 119)) list-prevs ((18)) list-con= text nil org-protected t org-no-description nil) 101 102 (face org-link f= ontified t rear-nonsticky (mouse-face highlight keymap invisible intangib= le 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-cont= ext 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)) l= ist-item 18 fontified t face org-link) 150 151 (list-context nil list-pre= vs ((18)) list-struct ((18 2 "- " nil nil nil 119)) list-item 18 fontifie= d 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 font= ified t face org-link) 153 199 (list-context nil list-prevs ((18)) list-s= truct ((18 2 "- " nil nil nil 119)) list-item 18 fontified t face org-lin= k) 199 200 (list-context nil list-prevs ((18)) list-struct ((18 2 "- " ni= l 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 highl= ight 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 ("ex= port") :publishing-directory nil :timestamp nil :expand-quoted-html t :ht= ml-table-tag "" :xml-declaration (("html" . "<= ?xml version=3D\"1.0\" encoding=3D\"%s\"?>") ("php" . "\"; ?>")) :html-postamble = auto :html-preamble t :html-extension "html" :inline-images maybe :conver= t-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 "vkar= naty@localhost" ...)) >> byte-code("=08\203 .............. ) >> org-export-as-html(nil) >> call-interactively(org-export-as-html) >> org-export(nil) >> call-interactively(org-export nil nil)