Ashinch / ReadYou

An Android RSS reader presented in Material You style.
GNU General Public License v3.0
5.11k stars 202 forks source link

We can't upload an OPML file #831

Open danielysilva opened 2 months ago

danielysilva commented 2 months ago

1. Environment

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]