Crashs

67 views
Skip to first unread message

karam mohammed 1

unread,
Jul 17, 2026, 12:32:18 PM (5 days ago) Jul 17
to mementodatabase
Hi,
I'm experiencing a crash on the Android version of Memento Database. Latest
Whenever I edit  or add any field in my main library, the app immediately closes. This happens every time, making it impossible to edit lib.
Other liberies  work normally.  This library  crash even I copy  it 
Could you please help me investigate this issue?
Thank you.

Mmm

unread,
Jul 17, 2026, 1:04:49 PM (5 days ago) Jul 17
to mementodatabase
Пробуйте поочередно отключать триггеры и виджеты.
Если не выявите ошибку, отправьте шаблон библиотеки в поддержку с подробным описанием проблемы, версией программы и Андроид.

пятница, 17 июля 2026 г. в 19:32:18 UTC+3, kara...@gmail.com:

karam mohammed 1

unread,
Jul 17, 2026, 1:12:23 PM (5 days ago) Jul 17
to mementodatabase
This crash happened before, and your previous suggestion temporarily fixed it.
Now , I deleted all scripts, but the crash still occurs.
Also, when I try to export the library template, the app crashes.

Er Mo

unread,
Jul 17, 2026, 2:07:06 PM (5 days ago) Jul 17
to mementodatabase
Hallo
Wenn die Bibliothek in der Cloud ist kannst du Versuchen die Bibliothek auf deinen Handy zu Löschen , denn Parpiekorb von den Bibliotheken zu leeren und dann die Bibliothek erneut herunter zuladen .

Hello

If the library is in the cloud, you can try deleting the library on your phone, emptying the library's app drawer, and then downloading the library again.

Ernst

Mmm

unread,
Jul 17, 2026, 2:11:52 PM (5 days ago) Jul 17
to mementodatabase
Попробуйте очистить кеш приложения и перезагрузить устройство.

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

Если нельзя сохранить шаблон библиотеки (нулевой размер) создайте копию библиотеки, загрузите её в облако, разрешите полный доступ и копирование структуры. Ссылку на библиотеку отправьте в поддержку.

пятница, 17 июля 2026 г. в 21:07:06 UTC+3, ernst...@gmail.com:

karam mohammed 1

unread,
Jul 17, 2026, 4:35:23 PM (5 days ago) Jul 17
to mementodatabase
I tried to edit lib on another phone and the same issue

Flaviano

unread,
3:59 PM (4 hours ago) 3:59 PM
to karam mohammed 1, mementodatabase
Karam,

I have encountered this issue several times in Memento for Android and wanted to share a workaround that has consistently worked for me. It may also provide a clue about the underlying cause.

In my case, the Edit Library also screen opens normally. The crash only occurs when I tap one of the fields to edit it.

To recover from the problem, I go through the shared scripts in the library one by one:

1. Open a shared script.
2. Copy its entire source code to the clipboard.
3. Delete the shared script (not only the code)
4. Create a new shared script (it doesn't even have to have the same name).
5. Paste exactly the same source code into the new script.
6. Save it and try Edit Library again.

If the crash still occurs, I repeat the same process with another shared script. Eventually, after recreating one of the shared scripts, Edit Library starts working normally again.

In my experience, the problem has always been in a shared script, never in a trigger, an action or a widget.

What I find interesting is that the problem does not appear to be related to the shared script's source code itself. If I simply delete all the code from the original script and save it, the crash still occurs. The only thing that fixes it is deleting the script object and creating a new one, even if I immediately paste back exactly the same code.

This makes me suspect that, in some cases, the problem is caused by corruption in the internal metadata or structure of a shared script rather than in its source code.

I can't say whether this is the actual cause, but I've reproduced this workaround successfully multiple times, so I thought the observation might be useful for troubleshooting.

Flaviano

--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mementodatabase/1e37c4b4-148c-4458-9e93-4c3f6ee7c036n%40googlegroups.com.

Mmm

unread,
5:04 PM (2 hours ago) 5:04 PM
to mementodatabase
У меня есть несколько библиотек с высоким уровнем автоматизации.
Редактирование вызывает сбой приложения, экспорт выполняется с нулевым размером.
Я скопировал все общие скрипты в файлы *.js (один общий скрипт – один файл) и сохранил в персональном репозитарий на GitHub.
Потом я удалил все общие скрипты из библиотеки.
К сожалению, это не помогло.
Сделал копию библиотеки и начал поочередно удалять скрипты действия и триггеры.
В какой-то момент появилась возможность редактирования библиотеки и экспорт шаблона не нулевого размера.
После редактирования пришлось восстановить удаленные скрипты действия ручным копированием и повторной настройкой. Общие скрипты подключил как js-библиотеки.

Библиотека работает, но редактирование опять невозможно и шаблон с нулевым размером.

Предложил добавить импорт-экспорт скриптов с помощью отдельных файлов (шаблонов скриптов). Это позволит упростить процесс работы с правилами и скриптами.
К сожалению, использование GitHub подходит только для общих скриптов.
Правила и скрипты (триггеры и действия) имеют свои настройки.

Экспорт скриптов в файл => Редактирование библиотеки => Импорт скриптов в библиотеку.
Это один из вариантов использования, как временное решение до исправления проблемы.

Но это можно использовать и как способ поделиться скриптом для обучения или помощи при устранении ошибок автоматизации.

Кто считает предложение полезным, может проголосовать за его реализацию:
https://mementodb.fider.io/posts/161/import-export-scripts

среда, 22 июля 2026 г. в 22:59:24 UTC+3, fmo...@gmail.com:

Flaviano

unread,
5:59 PM (1 hour ago) 5:59 PM
to Mmm, mementodatabase
В какой-то момент появилась возможность редактирования библиотеки
"At some point, the ability to edit the library became available."

At that point, once I had identified exactly which script was causing the problem, I could simply go back to the original library (before creating a copy of it), delete and recreate just that script, and the issue would be resolved. In other words, my main task was to identify the shared script that had become "corrupted" (there was only one). Once I found it, recreating that single script - and no other - was enough to fix the problem. Perhaps it's worth trying just this one last thing. 


Reply all
Reply to author
Forward
0 new messages