Open despens opened 1 week ago
Try this:
$HOME/.var/app/io.github.mrvladus.List/data/errands
data.json
file (and data.old.json
if it's there) somewhere like Downloads
$HOME/.var/app/io.github.mrvladus.List
directorydata.json
to $HOME/.var/app/io.github.mrvladus.List/data/errands
Thanks for your quick reaction @mrvladus!
I followed the steps you outlined, the exact same error messages appears on the console after I restored my data.json
file.
Maybe I should have mentioned that I am syncing tasks with my nextcloud server. Running the exact same version of Errands on another computer works without any problems.
I could try copying the data over from that other computer, but would like to help identifying the issue.
What it's trying to do is setting sub-title for task in trash with task list name, but can't find task list with this uid. Try to open data.json in the text editor and in the lists
section on top check if all of lists have uid's not empty.
The json item list
contains two entries, with uuids representing the calendar names the tasks are attached to. The other fields are color
, deleted
, name
, show_completed
, and synced
, all seem to show reasonable values.
Errands 46.2.3 installed via Flatpak starts up but never gets to show the main window. Python errors below:
Error log
```console $ flatpak run io.github.mrvladus.List ------------------------------------------------- Starting Errands 46.2.3 at "2024 26 Juni 08:16:54" ------------------------------------------------- [DEBUG] Application: Startup [DEBUG] Data: Initialize [DEBUG] Data: Read data [DEBUG] GSettings: Initialize [DEBUG] Application: Checking autostart [DEBUG] Main Window: Load [DEBUG] Today Page: Load [DEBUG] Today Page: Update UI [DEBUG] Trash Page: Load [DEBUG] Sidebar: Load Task Lists [DEBUG] Sidebar: Add Task List 'defaultcalendar' [INFO] Task List defaultcalendar: Load Tasks [DEBUG] Data: Write data [DEBUG] Task List 'defaultcalendar': Update title [DEBUG] Task List Row: Update UI 'defaultcalendar' [DEBUG] Sidebar: Add Task List 'schulferien' [INFO] Task List schulferien: Load Tasks [DEBUG] Data: Write data [DEBUG] Task List 'schulferien': Update title [DEBUG] Task List Row: Update UI 'schulferien' [DEBUG] Sidebar: Select last opened page Traceback (most recent call last): File "/app/share/errands/errands/application.py", line 157, in do_startup State.main_window = Window(application=State.application) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/share/errands/errands/widgets/window.py", line 41, in __init__ self.__finish_load() File "/app/share/errands/errands/widgets/window.py", line 140, in __finish_load State.trash_sidebar_row.update_ui() File "/app/share/errands/errands/widgets/trash/trash_sidebar_row.py", line 94, in update_ui State.trash_page.update_ui() File "/app/share/errands/errands/widgets/trash/trash.py", line 136, in update_ui item.update_ui() File "/app/share/errands/errands/widgets/trash/trash.py", line 199, in update_ui self.set_subtitle(UserData.get_list_prop(self.task_dict.list_uid, "name")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/share/errands/errands/lib/data.py", line 345, in get_list_prop return getattr(self.get_list(list_uid), prop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'name' [DEBUG] Application: Activate [DEBUG] Main Window: Load [DEBUG] Today Page: Load [DEBUG] Today Page: Update UI [DEBUG] Trash Page: Load [DEBUG] Sidebar: Load Task Lists [DEBUG] Sidebar: Add Task List 'defaultcalendar' [INFO] Task List defaultcalendar: Load Tasks [DEBUG] Data: Write data [DEBUG] Task List 'defaultcalendar': Update title [DEBUG] Task List Row: Update UI 'defaultcalendar' [DEBUG] Sidebar: Add Task List 'schulferien' [INFO] Task List schulferien: Load Tasks [DEBUG] Data: Write data [DEBUG] Task List 'schulferien': Update title [DEBUG] Task List Row: Update UI 'schulferien' [DEBUG] Sidebar: Select last opened page Traceback (most recent call last): File "/app/share/errands/errands/application.py", line 165, in do_activate State.main_window = Window(application=State.application) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/share/errands/errands/widgets/window.py", line 41, in __init__ self.__finish_load() File "/app/share/errands/errands/widgets/window.py", line 140, in __finish_load State.trash_sidebar_row.update_ui() File "/app/share/errands/errands/widgets/trash/trash_sidebar_row.py", line 94, in update_ui State.trash_page.update_ui() File "/app/share/errands/errands/widgets/trash/trash.py", line 136, in update_ui item.update_ui() File "/app/share/errands/errands/widgets/trash/trash.py", line 199, in update_ui self.set_subtitle(UserData.get_list_prop(self.task_dict.list_uid, "name")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/share/errands/errands/lib/data.py", line 345, in get_list_prop return getattr(self.get_list(list_uid), prop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'name' ^C ```