all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.1; Newsticker can't parse most XML feeds
@ 2009-12-18 11:33 Richard Lewis
  2009-12-18 18:01 ` Ulf Jasper
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Lewis @ 2009-12-18 11:33 UTC (permalink / raw)
  To: bug-gnu-emacs

Newsticker.el reports errors when trying to parse most of the feeds I
want to read.

Here's an example backtrace:

Debugger entered--Lisp error: (wrong-type-argument processp 85)
  process-id(85)
  #[(proc) "..." [proc id newsticker--process-ids new-list process-id] 3](85)
  mapc(#[(proc) "..." [proc id newsticker--process-ids new-list process-id] 3] "..." [status-ok newsticker--cache name-symbol newsticker--error-headline name event newsticker--cache-add format "%s: Newsticker could not retrieve news from %s.\nReturn status: `%s'\nCommand was `%s'" format-time-string "%A, %H:%M" current-time "" new 0 nil message "%s: Error while retrieving news from %s" throw oops utf-8 re-search-forward ">[ 	\n]+<" t replace-match "><" "<!DOCTYPE[ 	\n]+rdf:RDF" "<!DOCTYPE rdfColonRDF" search-forward "\n" "\n" "<!DOCTYPE[ 	\n]+rss[    \n]*>" "<!--" "-->" error "Can't find end of comment" "<description>\\(<img.*?\\)</description>" "<description><![CDATA[ \\1 ]]></description>" "\\(<[^>]*\\)=\"\"" "\\1=\" \"" set-buffer-modified-p "encoding=\"\\([^\"]+\\)\"" intern match-stri
 ng 1 (check-coding-system coding-system) ((coding-system-error ... nil)) decode-coding-region errordata (byte-code "ed\"" [xml-parse-region] 3) ...] 11)
  newsticker--sentinel-work(nil t "Planet Lisp" "url-retrieve" #<buffer  *newsticker-url-Planet Lisp*>)
  newsticker--get-news-by-url-callback(nil "Planet Lisp")
  apply(newsticker--get-news-by-url-callback (nil "Planet Lisp"))
  url-http-activate-callback()
  url-http-content-length-after-change-function(23585 27680 4095)
  url-http-generic-filter(#<process planet.lisp.org> "...")
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)


In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-11-02 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  diff-auto-refine-mode: t
  display-time-mode: t
  display-battery-mode: t
  jabber-activity-mode: t
  jabber-mode-line-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  iswitchb-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <left> <right> <left> <delete> <right> <right> 
<right> <right> <delete> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <down> <down> <down> <down> <down> <down> <up> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<left> <left> <right> <left> C-SPC <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<right> <right> <right> C-w M-> <return> <return> <return> 
<return> <return> C-y M-v <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <down> <down> <down> 
<down> <down> <down> <down> <down> <up> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <end> <left> <left> 
. . . <up> <up> <up> <up> <up> <up> <up> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <return> C-x u <up> <up> <up> <up> <up> <up> 
<up> <up> <home> C-SPC <C-down> M-w M-x r e p o <tab> 
r <tab> b u <tab> <return>

Recent messages:
error in process filter: Wrong type argument: processp, 85 [2 times]
Reading [application/xml]... 2k of 2k (101%)
Reading... done.
error in process filter: Wrong type argument: processp, 85 [2 times]
Mark set
Back to top level.
Mark set [8 times]
Undo!
Mark set
Making completion list...




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

* Re: 23.1; Newsticker can't parse most XML feeds
  2009-12-18 11:33 23.1; Newsticker can't parse most XML feeds Richard Lewis
@ 2009-12-18 18:01 ` Ulf Jasper
  2009-12-18 18:13   ` Richard Lewis
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Jasper @ 2009-12-18 18:01 UTC (permalink / raw)
  To: Richard Lewis; +Cc: bug-gnu-emacs

Richard Lewis <richardlewis@fastmail.co.uk> writes:

> Newsticker.el reports errors when trying to parse most of the feeds I
> want to read.
>
> Here's an example backtrace:

Could you please send the URL of (one of) those RSS feeds?  Could you
please set newsticker-retrieval-method to 'extern (so that feeds get
downloaded wget is used for downloading instead of emacs-internal
url-retrieve) -- does that help?

Thanks,
Ulf

-- 
Herzlichen Glückwunsch noch einmal, vergessen Sie Ihre Angaben,und dies 
für die Art und Weise von der öffentlichen Bekanntmachung.




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

* Re: 23.1; Newsticker can't parse most XML feeds
  2009-12-18 18:01 ` Ulf Jasper
@ 2009-12-18 18:13   ` Richard Lewis
  2009-12-19 12:22     ` bug#5246: " Ulf Jasper
  2010-01-04 18:27     ` bug#5244: " Ulf Jasper
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Lewis @ 2009-12-18 18:13 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: bug-gnu-emacs

At Fri, 18 Dec 2009 19:01:40 +0100,
Ulf Jasper wrote:
> 
> Richard Lewis <richardlewis@fastmail.co.uk> writes:
> 
> > Newsticker.el reports errors when trying to parse most of the feeds I
> > want to read.
> >
> > Here's an example backtrace:
> 
> Could you please send the URL of (one of) those RSS feeds?  Could you
> please set newsticker-retrieval-method to 'extern (so that feeds get
> downloaded wget is used for downloading instead of emacs-internal
> url-retrieve) -- does that help?
> 
Ah, OK. That works a lot better. I don't think I have any broken feeds
now, apart from some HTTPS ones.

One of the URLs that wasn't behaving with url-retrieve was
http://planet.lisp.org/rss20.xml.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
ISMS, Computing
Goldsmiths, University of London
Tel: +44 (0)20 7078 5134
Skype: richardjlewis
JID: ironchicken@jabber.earth.li
http://www.richard-lewis.me.uk/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+----------------------------------------------+
| Support open access to scholarship           |
| http://freeculture.org/ http://www.doaj.org/ |
+----------------------------------------------+




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

* bug#5246: 23.1; Newsticker can't parse most XML feeds
  2009-12-18 18:13   ` Richard Lewis
@ 2009-12-19 12:22     ` Ulf Jasper
  2010-01-04 18:27     ` bug#5244: " Ulf Jasper
  1 sibling, 0 replies; 6+ messages in thread
From: Ulf Jasper @ 2009-12-19 12:22 UTC (permalink / raw)
  To: Richard Lewis; +Cc: bug-gnu-emacs

Richard Lewis <richardlewis@fastmail.co.uk> writes:
> Ah, OK. That works a lot better. I don't think I have any broken feeds
> now, apart from some HTTPS ones.

Sounds like a wget issue.

> One of the URLs that wasn't behaving with url-retrieve was
> http://planet.lisp.org/rss20.xml.

I'll have a look.

Ulf

-- 
Herzlichen Glückwunsch noch einmal, vergessen Sie Ihre Angaben,und dies 
für die Art und Weise von der öffentlichen Bekanntmachung.







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

* bug#5244: 23.1; Newsticker can't parse most XML feeds
  2009-12-18 18:13   ` Richard Lewis
  2009-12-19 12:22     ` bug#5246: " Ulf Jasper
@ 2010-01-04 18:27     ` Ulf Jasper
  2011-07-11 21:20       ` Glenn Morris
  1 sibling, 1 reply; 6+ messages in thread
From: Ulf Jasper @ 2010-01-04 18:27 UTC (permalink / raw)
  To: Richard Lewis; +Cc: 5244

Richard Lewis <richardlewis@fastmail.co.uk> writes:

> At Fri, 18 Dec 2009 19:01:40 +0100,
> Ulf Jasper wrote:
>> 
>> Richard Lewis <richardlewis@fastmail.co.uk> writes:
>> 
>> > Newsticker.el reports errors when trying to parse most of the feeds I
>> > want to read.
>> >
>> > Here's an example backtrace:
>> 
>> Could you please send the URL of (one of) those RSS feeds?  Could you
>> please set newsticker-retrieval-method to 'extern (so that feeds get
>> downloaded wget is used for downloading instead of emacs-internal
>> url-retrieve) -- does that help?
>> 
> Ah, OK. That works a lot better. I don't think I have any broken feeds
> now, apart from some HTTPS ones.
>
> One of the URLs that wasn't behaving with url-retrieve was
> http://planet.lisp.org/rss20.xml.

Works for me (from 2009-12-19, 16:30 MET until now, 2010-01-04, 19:30
MET)! Maybe the feed contents were screwed and have been fixed in the
meantime. Could you please set newsticker-retrieval-method back to
'intern? Do you have another example?







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

* bug#5244: 23.1; Newsticker can't parse most XML feeds
  2010-01-04 18:27     ` bug#5244: " Ulf Jasper
@ 2011-07-11 21:20       ` Glenn Morris
  0 siblings, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2011-07-11 21:20 UTC (permalink / raw)
  To: 5244-done


In the absence of further info, I am closing this under the assumption
that it is fixed. If it still happens, please reply with details and we
can reopen this if needed.

You can view the whole report at http://debbugs.gnu.org/BUGNUMBER

Ulf Jasper wrote:

> Works for me (from 2009-12-19, 16:30 MET until now, 2010-01-04, 19:30
> MET)! Maybe the feed contents were screwed and have been fixed in the
> meantime. Could you please set newsticker-retrieval-method back to
> 'intern? Do you have another example?





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

end of thread, other threads:[~2011-07-11 21:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 11:33 23.1; Newsticker can't parse most XML feeds Richard Lewis
2009-12-18 18:01 ` Ulf Jasper
2009-12-18 18:13   ` Richard Lewis
2009-12-19 12:22     ` bug#5246: " Ulf Jasper
2010-01-04 18:27     ` bug#5244: " Ulf Jasper
2011-07-11 21:20       ` Glenn Morris

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.