news icon indicating copy to clipboard operation
news copied to clipboard

OPML import failure, reason: NULL

Open glacambre opened this issue 1 year ago • 0 comments

Dear maintainer,

Thanks a lot for creating this app. The one I was using recently became unusable for me, so I'm hunting for a replacement. Yours looks like a potentially great candidate :)

Checklist

  • [x] I am using the latest version (installed through F-Droid)
  • [x] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo (https://github.com/bubelov/news/issues/81 and https://github.com/bubelov/news/issues/55 seem related though).
  • [x] This issue contains only one bug. I will open one issue for every bug report I want to file.

Steps to reproduce the bug

Load the following OPML file in News:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
  <head>
    <title>
      Feeder
    </title>
  </head>
  <body>
    <outline title="Gagallium" text="Gagallium" type="rss" xmlUrl="http://gallium.inria.fr/blog/index.rss"/>
    <outline title="Evan Jones - Software Engineer | Computer Scientist" text="Evan Jones - Software Engineer | Computer Scientist" type="rss" xmlUrl="http://www.evanjones.ca/index.rss"/>
    <outline title="MDN recent changes to documents tagged Release" text="MDN recent changes to documents tagged Release" type="rss" xmlUrl="https://developer.mozilla.org/en-US/docs/feeds/rss/tag/Release"/>
    <outline title="David Malcolm – Red Hat Developer" text="David Malcolm – Red Hat Developer" type="rss" xmlUrl="https://developers.redhat.com/blog/author/rhdmalcolm/feed/"/>
    <outline title="D. Kriesel" text="D. Kriesel" type="rss" xmlUrl="https://feeds.feedburner.com/dkriesel-en"/>
    <outline title="research!rsc" text="research!rsc" type="rss" xmlUrl="https://research.swtch.com/feed.atom"/>
    <outline title="The Hacker Blog" text="The Hacker Blog" type="rss" xmlUrl="https://thehackerblog.com/feed/index.html"/>
    <outline title="Vincent Canfield&apos;s Blog" text="Vincent Canfield&apos;s Blog" type="rss" xmlUrl="https://vc.gg/blog/feed/"/>
    <outline title="Myon&apos;s Blog" text="Myon&apos;s Blog" type="rss" xmlUrl="https://www.df7cb.de/blog/index.rss"/>
  </body>
</opml>

Actual behavior

News fails to import the feeds with the following message: Failed to import feed $URL . Reason: NULL.

Expected behavior

Ideally, News should be able to import the feeds (they work fine in a couple of other readers I tried). If there really is something wrong with the feeds, it would be nicer to have a more descriptive reason, like a lot of other failure messages have (e.g. error 404, broken XML...).

Logs

Somehow, the log button is not available. Could it be because the OPML file did not get imported?

Device info

  • Android version/Custom ROM version: Stock, android 13
  • Device model: Pixel 4A

glacambre avatar Oct 17 '22 07:10 glacambre