ReadYouApp / ReadYouApp/ReadYou

We can't upload an OPML file

Open
#831 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
7.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

1. Environment

  • Device: Galaxy S23
  • OS: Android 14
  • APP: 0.10.1

2. Describe the bug

When I try to subscribe a feed by uploading a OPML file, I see this error code:

Version: 0.10.1
Device: samsung SM-S911B
System: Android 14 (API 34)

Stack trace:

be.ceau.opml.OpmlParseException: encountered non-namespaced element instead of
at be.ceau.opml.OpmlInitHandler.startTag(OpmlInitHandler.java:80)
at be.ceau.opml.OpmlParser.extract(OpmlParser.java:166)
at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:20)
at me.ash.reader.domain.service.OpmlService$saveToDatabase$2.invokeSuspend(OpmlService.kt:176)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:111)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:4)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:96)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@566992e, Dispatchers.Default]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading OPMLDataSource.kt at line 20 and OpmlService.kt at line 176, then reproduce the Android 14 upload failure using the reported OPML input. Done means the reported OPML file can be uploaded without the be.ceau.opml parser rejecting it as a non-OPML element.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.