ReadYouApp / ReadYouApp/ReadYou

Can't add a source

Open
#1,313 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version: 0.16.2
Device: motorola moto g86 5G
System: Android 16 (API 36)

Stack trace:

	at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:310)
	at me.ash.reader.domain.service.OpmlService$saveToDatabase$2.invokeSuspend(OpmlService.kt:246)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:112)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:8)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:93)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1971dfe, Dispatchers.Default]
Caused by: org.xmlpull.v1.XmlPullParserException: Unexpected token (position:unknown @1:3 in java.io.InputStreamReader@a8ac003) 
	at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:428)
	at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
	at be.ceau.opml.OpmlParser.extract(OpmlParser.java:48)
	at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:16)
	... 6 more

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 reproducing the failed source import on Android 16 with version 0.16.2, then inspect OPMLDataSource.kt at lines 16 and 310, OpmlService.kt at line 246, and OpmlParser.extract at line 48. Determine what input reaches the XML parser and verify that adding the source completes without the reported OpmlParseException.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.