namida icon indicating copy to clipboard operation
namida copied to clipboard

[BUG] Indexer gets stuck while processing Non-English Titles

Open 010101-sans opened this issue 5 months ago • 3 comments

After starting re-indexing, the Indexer gets stuck while processing Non-English Titles (See screenshot)

Image

Expected Behavior

Should process all titles

Steps to Reproduce

Start re-indexing (Assuming you have an existing non English title, I've tested with only Japanese)

Logs

(Repeats a few times) │ Invalid argument: Cannot complete a future with itself: Instance of 'Future<AudioPlayerPlatform>' ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ │ #0 Future._chainCoreFuture (dart:async/future_impl.dart:664) │ #1 Future._chainFuture (dart:async/future_impl.dart:819) │ #2 Future._asyncCompleteUnchecked (dart:async/future_impl.dart:785) │ #3 ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ │ ⛔ ArgumentError

010101-sans avatar Aug 09 '25 08:08 010101-sans

i doubt it's caused by non ascii characters, can u try copying and renaming them? or send 1-2 files to test

MSOB7YY avatar Aug 09 '25 08:08 MSOB7YY

Sent to you. Check Discord. Put them in a folder -> include that folder -> re-index

010101-sans avatar Aug 09 '25 09:08 010101-sans

To add more info, when it's stuck at 1% for Japanese titles I force stop the app, then re-index again

It gets stuck at 33% again at another Japanese titles, force stop and re-index again

Then it gets stuck on 67% at another Japanese titles again, I then force stop the app again, re-index again then it goes to 100% after all non-English or semi-non-English title are processed (or skipped, I'm not sure due to force stop)

Edit: just recalled that once after force stop, the app was stuck on start up itself, so had clear app data and restore the latest backup

010101-sans avatar Aug 09 '25 12:08 010101-sans

it should be fixed in v5.4.7 https://github.com/namidaco/namida-snapshots/releases can u verify and lemme know ?

MSOB7YY avatar Nov 15 '25 17:11 MSOB7YY

Unfortunately, it is still not working.

Attempt 1 :

https://github.com/user-attachments/assets/fc57d2bb-4bb5-440a-9d06-83f6410bd329

Attempt 2 :

Screenshot_20251115_230443.jpg

Attempt 3 :

Screenshot_20251115_230132.jpg

Note I : After every indexing attempt gets stuck -

Option A

  • If I force stop the app, and restart indexing, it skips those songs and index more songs and gets stuck again.
  • It takes 3-4 force stops and reindexing to reach 100%

Option B

  • If I clear app data and restart indexing, it gets stuck again.

Note II : Indexer works flawlessly on windows. It gets stuck only in Android.

010101-sans avatar Nov 15 '25 17:11 010101-sans

the beta v5.4.7 is still building sry 😭 wait few minutes https://github.com/namidaco/namida/actions/workflows/dart.yml

MSOB7YY avatar Nov 15 '25 17:11 MSOB7YY

The latest v5.4.7 beta fixed the indexer, confirmed. It processed all non-english titles flawlessly without getting stuck. Thank you dev.

010101-sans avatar Nov 15 '25 23:11 010101-sans