emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nnrss-node-just-text: Wrong type argument: sequencep, 62


From: Katsumi Yamaoka
Subject: Re: nnrss-node-just-text: Wrong type argument: sequencep, 62
Date: Tue, 30 Nov 2004 21:38:15 +0900
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Hello,

In the address@hidden list, I found a bug report which is
attached below.  I don't know which of xml.el and nnrss.el is
wrong, but I found a strange behavior of xml.el.

(with-temp-buffer
  (insert "<rss><![CDATA[ding]]></rss>")
  (xml-parse-region (point-min) (point-max)))
 => ((rss nil "ding"))

(with-temp-buffer
  (insert "<rss> <![CDATA[ding]]> </rss>")
  (xml-parse-region (point-min) (point-max)))
 => ((rss nil " " 32 103 110 105 100))

The latter case seems to have returned a mirrored string as
characters:

(concat '(32 103 110 105 100))
 => " gnid"

Is it the intended behavior?

The problem Andrew M. Scott reported is not the same but similar
to this.  The same behavior that xml-parse-region returns a
mirrored character sequence can be reproduced as follows:

cd /tmp
wget 'http://www.lockergnome.com/rss/news.php'

(with-temp-buffer
  (insert-file-contents "/tmp/news.php")
  (xml-parse-region (point-min) (point-max)))

Regards,

>>>>> In <address@hidden> Andrew M. Scott wrote:

> I encountered an nnrss-node-just-text: Wrong type argument: sequencep, 62
> error in the 11/29/2004 CVS version of gnus, which precedes the
> Emacs-21.3.50 (11/29/2004) gnus in my load-path.

> Invocating a fresh emacs, then hitting M-x gnus, produced
> the following *Messages* and *Backtrace*

> Could nnrss be enhanced not to abort on this kind of error?

> My temporary workaround was to execute (gnus-no-server-1 1) and then
> "U" the offending group, save from the GNUS summary buffer, quit GNUS,
> and then restart via M-x gnus.

> No Gnus v0.3
> GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2004-11-29 on chlr4918
> 200 news01.intel.com InterNetNews NNRP server INN 2.3.3 ready (posting ok).

> *Messages*
> Opening nnrss server...done
> Opening nnrss server on syndic8.com...
> Loading /eng/eng10/ascott/News/rss/nnrss-syndic8.com.el (source)...done
> Opening nnrss server on syndic8.com...done
> Opening nnrss server...
> Loading /eng/eng10/ascott/News/rss/nnrss.el (source)...done
> Opening nnrss server...done
> nnrss-node-just-text: Wrong type argument: sequencep, 62

> *Backtrace*
> Debugger entered--Lisp error: (wrong-type-argument sequencep 62)
>   mapconcat(nnrss-node-just-text (62 112 47 60 62 97 47 60 39 101 108 98 111 
> 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 
> 32 114 111 102 32 115 107 110 105 76 32 100 101 116 97 ...) " ")
>   nnrss-node-just-text((description nil 62 112 47 60 62 97 47 60 39 101 108 
> 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 
> 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 ...))
>   nnrss-node-text(nil description (item nil "\n                       " 
> (title nil "Wi-Fi in Barnes and Noble") "\n                   " (description 
> nil 62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 
> 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 
> 105 76 32 100 101 ...) "\n               " (author nil "address@hidden (Meryl 
> Evans)") "\n                      " (category nil "Wi-Fi") "\n                
>     " (pubDate nil "Mon, 29 Nov 2004 11:32:42 -0800") "\n                   " 
> (link nil 
> "http://channels.lockergnome.com/news/archives/20041129_wifi_in_barnes_and_noble.phtml";)
>  "\n                        " (guid nil 
> "http://channels.lockergnome.com/news/archives/20041129_wifi_in_barnes_and_noble.phtml";)
>  "\n                        \n              "))
>   nnrss-check-group("Lockergnome's Technology News" "")
>   nnrss-request-group("Lockergnome's Technology News" "" nil)
>   gnus-activate-group("nnrss:Lockergnome's Technology News" scan)
>   gnus-get-unread-articles(nil)
>   gnus-setup-news(nil nil nil)
>   byte-code("




reply via email to

[Prev in Thread] Current Thread [Next in Thread]