immersion_reader icon indicating copy to clipboard operation
immersion_reader copied to clipboard

Can’t import new dictionary

Open miyamotoRyu opened this issue 9 months ago • 20 comments

Image

Все словари, которые я пытаюсь импортировать останавливаются на этапе «extracting dictionary 50%», и дальше не продвигаются, но некоторые словари останавливаются на этапе « extracting dictionary 1-10%»

miyamotoRyu avatar Apr 07 '25 04:04 miyamotoRyu

What kind of dictionaries are you importing?

Note that dictionaries with structured-content are not supported currently.

mathewthe2 avatar Apr 07 '25 04:04 mathewthe2

Я хотел загрузить несколько разных словарей (JP-JP), 4 новых словаря (JP-EN), и словари с pitch accent и словари с frequency. Сначала у меня все нормально грузились, но потом после того, как я загрузил несколько словарей у меня они перестали загружаться. Я пробовал перезаходить в приложение и перезагружать телефон, ничего не получилось. Среди словарей, которые я загружал, были и с structured-content (как их определить я не знаю, но вероятность того что они были высока), и обычные.

Не по теме. Также хочу добавить, что те JP-JP словари, которые я загрузил, плохо функционировали, даже те, что были без structured-content . Основные проблемы: не видят большинство слов, не выделяют слова, зачастую выбирали только кандзи, вместо слова. Но в йомитан все они нормально функционировали и видели все слова. Словари я загружал большие, которые были ориентированы именно на слова.

И что касается android версии, хотелось бы, чтобы в разделе “dictionary” можно было прокручивать страницу с словари вниз до конца. У меня на android устройстве эта вкладка показывала лишь первые словари, остальные я не мог видеть, потому что страница ниже не опускалась. Ииз-за того, что я не могу прокручивать вниз, я не могу видеть новые загруженные словари, не могу удалить или отключить их, а также убедиться, импортировались они или нет.

miyamotoRyu avatar Apr 07 '25 10:04 miyamotoRyu

There are differences in implementation, so I can't identify the issues without the dictionary data, or which dictionaries are causing issues.

The android version is getting an update soon once the play store approves the latest version.

mathewthe2 avatar Apr 07 '25 13:04 mathewthe2

Я удалил и скачал приложение заново, 2 словаря загрузил и проблема снова вернулась. Проблема касается абсолютно любого словаря, даже если они раньше у меня уже были импортированы. Проблема касается только iOS устройства

miyamotoRyu avatar Apr 07 '25 15:04 miyamotoRyu

What is your iOS version and device?

Can you add the dictionaries from this link? https://github.com/FooSoft/yomichan?tab=readme-ov-file#dictionaries

mathewthe2 avatar Apr 07 '25 16:04 mathewthe2

iPhone 8 ver. 16.7.10

И ещё, сейчас заметил, что на андроид устройстве перестали работать после последнего обновления JP-RU словари

miyamotoRyu avatar Apr 07 '25 17:04 miyamotoRyu

Попробовал добавить словарь из этой ссылки, проблема та же

miyamotoRyu avatar Apr 07 '25 17:04 miyamotoRyu

Можно ли скачать старую версию (январь-февраль 2025) на андроид?

miyamotoRyu avatar Apr 07 '25 17:04 miyamotoRyu

Я думаю, что все эти проблемы связаны с последними обновлениями. Я заметил вот что: JP-JP словари, даже без structured-content не работают нормально на IOS и на Android. JP-EN словари работают хорошо на IOS и Android. JP-RU хорошо работают на IOS, но на Android перестали работать, и сейчас не работают. Словари нормально добавляются на Android, но на IOS, как я говорил в ливерах выше, не добавляются.

Все эти проблемы появились после последних обновлений, раньше на обоих устройствах все нормально работало.

miyamotoRyu avatar Apr 07 '25 19:04 miyamotoRyu

Можно ли скачать старую версию (январь-февраль 2025) на андроид?

The current version on the play store is still the first version I released back in 2024. The updates have not been live yet.

iPhone 8 ver. 16.7.10

I'll have to install v16 on a new emulator to test it. I can try later this week.

mathewthe2 avatar Apr 08 '25 00:04 mathewthe2

[JA-EN Onomatopoeia [JA-EN] NEW 斎藤和英大辞典 [JA-EN] 新和英 [JA-EN] Babylon

Возможно эти словари являются причиной сбоя импорта на iOS

miyamotoRyu avatar Apr 08 '25 10:04 miyamotoRyu

新和英 working on iPhone 15 Pro (iOS 17.5)

It's possible the recent changes in the cleanup process have messed up the app's storage once a problematic dictionary is imported. I will release a new version soon that runs cleanup if there are errors.

Image Image

mathewthe2 avatar Apr 09 '25 05:04 mathewthe2

Hi, I assume you're still aware of the issue but some dictionaries are still hanging on 'parsing' when they import. It was working at one point, but the last couple of updates have been a no-go for some dictionaries, probably for the reasons you've mentioned above.

gamrah avatar May 09 '25 01:05 gamrah

Hi, I assume you're still aware of the issue but some dictionaries are still hanging on 'parsing' when they import. It was working at one point, but the last couple of updates have been a no-go for some dictionaries, probably for the reasons you've mentioned above.

If the issues still persist in the newer versions, unfortunately this may mean the database was corrupted by one of the updates and you will have to reinstall the app.

mathewthe2 avatar May 09 '25 01:05 mathewthe2

Just tried it on a fresh install and it's still hanging on parsing. This was with Pixiv, Pixiv light as well as a few of the other culprits that worked on a previous version.

gamrah avatar May 09 '25 01:05 gamrah

Which version of pixiv and pixiv light are you using? The latest ones contain structured-content, which are not supported currently.

mathewthe2 avatar May 09 '25 01:05 mathewthe2

Now that you mention it, it was a pretty hack-y way to get those dictionaries in to begin with (had to open, re-open the app). I missed the part about structured-content, not sure how to delineate without opening each dictionary but that’s a me problem. I’ll find some other dictionaries and get back to it, thanks!

gamrah avatar May 09 '25 22:05 gamrah

Will structured-content be ever supported? Jitendex is pretty popular with the learning community. I'm assuming it's structured-content because it parses indefinitely. Would love to buy the app in the future with this

curious-youna avatar May 14 '25 11:05 curious-youna

Will structured-content be ever supported? Jitendex is pretty popular with the learning community. I'm assuming it's structured-content because it parses indefinitely. Would love to buy the app in the future with this

I was planning to integrate the structured-content support that the newer jidoujisho would have, but it seems the author has gone awol. I would like to avoid doing repeated work if possible. There are other features I would like to work on, such as the search feature which no one prior to myself has tackled yet.

I wouldn't mind looking into it if someone raised a PR draft.

Also, when you mean buying the app...do you mean buying the feature for the browser? The app is FOSS currently. I do intend to add some optional paid services in the future.

mathewthe2 avatar May 14 '25 11:05 mathewthe2

No matter which dictionary I try, none of them will install. I’m using iOS, and it always gets stuck at "parsing dictionary" I don't know if there’s a concrete fix for this.

JDoga avatar Jun 06 '25 01:06 JDoga