Bug 5412 (int-142848)

Summary: Unable to add Arxiv.org feed
Product: [Maemo Official Applications] RSS feed reader Reporter: Jeroen Wouters <woutersj>
Component: GeneralAssignee: unassigned <nobody>
Status: NEW QA Contact: rss-feed-reader-bugs
Severity: normal    
Priority: Low CC: andre_klapper
Version: 5.0/(1.2009.41-10)Keywords: upstream
Target Milestone: ---   
Hardware: N900   
OS: Linux   
URL: http://export.arxiv.org/rss/quant-ph

Description Jeroen Wouters (reporter) 2009-10-13 22:29:47 UTC
SOFTWARE VERSION:
(Control Panel > General > About product)
1.2009.41-10

STEPS TO REPRODUCE THE PROBLEM:
- Open RSS feed reader
- Click the plus sign to add a feed
- Enter address http://export.arxiv.org/rss/quant-ph and click 'Done'

EXPECTED OUTCOME:
The arxiv quant-ph feed should be added to the feed list

ACTUAL OUTCOME:
An error message is shown, saying 'Unable to add feed. Address invalid'
No feed is added to the list

REPRODUCIBILITY:
always

EXTRA SOFTWARE INSTALLED:
none

OTHER COMMENTS:
I've entered the feed address in feedvalidator and it validates.

User-Agent:       Mozilla/5.0 (X11; U; Linux armv7l; en-GB; rv:1.9.2a1pre)
Gecko/20090928 Firefox/3.5 Maemo Browser 1.4.1.15 RX-51 N900
Comment 1 Andre Klapper maemo.org 2009-10-14 01:52:35 UTC
Thanks for reporting this.

...as written according to
http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fexport.arxiv.org%2Frss%2Fquant-ph
it is a vaild feed.

Confirming.
Comment 2 Jeroen Wouters (reporter) 2009-11-12 21:17:04 UTC
This is what I have been able to find out about this bug:
- The error message I'm seeing is 'rss_ni_adding_failed', in callbacks.c, line
1134.
- This message is displayed, because errors in refreshing is set in ui_feed.c
line 1008, which means there is no data in request->data.
- when download_info_cb in net/download.c is called after attempting to
download the data, the result in finfo_res->result != GNOME_VFS_OK, so you end
up in the else part around line 230 ('error during information request')
- This led me to suspect gnomevfs. And indeed:
 > gnomevfs-info http://www.google.com/
Name              : /
Type              : Regular
MIME type         : text/html
Access time       : Thu Nov 12 17:34:24 2009
> gnomevfs-info http://export.arxiv.org/rss/quant-ph/
Error: File not found
> gnomevfs-info http://export.arxiv.org/rss/quant-ph/rss.xml
Error: File not found
> gnomevfs-info http://export.arxiv.org/rss/quant-ph/index.html
Error: File not found

I'll file an upstream bug report with gnomevfs.
Comment 3 Jeroen Wouters (reporter) 2009-11-13 10:52:10 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=601776