Notes-up icon indicating copy to clipboard operation
Notes-up copied to clipboard

won't start

Open polynomialspac3 opened this issue 1 year ago • 7 comments

hi, the notes up crashes on start. i don't care for this to be fixed a the moment but i can't find the directory in which the program saved all the already existing notes. please i've lost everything i've written in the past 8 months.

polynomialspac3 avatar Sep 21 '23 14:09 polynomialspac3

Hey! I'm sorry to hear that you are having issues with the app crashing :( Your notes should be in a "database" file located on your home directory at .local/share/notes-up/

Do you mind running G_MESSAGES_DEBUG=all com.github.philip_scott.notes-up on a terminal and sharing the output here?

Philip-Scott avatar Sep 21 '23 14:09 Philip-Scott

Hey. I have the same problem and have run the command.

This is the output.

[INFO 22:41:55.512373] Application.vala:142: Notes-Up version: (null)
[INFO 22:41:55.512395] Application.vala:145: Kernel version: 6.1.53-1-MANJARO
(Notes-Up:97208): Gtk-DEBUG: 22:41:55.590: Connecting to session manager
(Notes-Up:97208): dconf-DEBUG: 22:41:55.593: watch_fast: "/org/notes/" (establishing: 0, active: 0)
(Notes-Up:97208): dconf-DEBUG: 22:41:55.594: change_fast
(Notes-Up:97208): dconf-DEBUG: 22:41:55.594: watch_established: "/org/notes/" (establishing: 1)
(Notes-Up:97208): dconf-DEBUG: 22:41:55.594: change_fast
(Notes-Up:97208): dconf-DEBUG: 22:41:55.755: watch_fast: "/org/gtk/settings/color-chooser/" (establishing: 0, active: 0)
(Notes-Up:97208): dconf-DEBUG: 22:41:55.755: watch_established: "/org/gtk/settings/color-chooser/" (establishing: 1)
(Notes-Up:97208): Gtk-DEBUG: 22:41:55.760: Using GtkColorPickerShell for picking colors
(Notes-Up:97208): dconf-DEBUG: 22:41:55.760: change_fast
(Notes-Up:97208): dconf-DEBUG: 22:41:55.760: change_fast
(process:97222): GLib-GIO-DEBUG: 22:41:55.823: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:97222): GLib-GIO-DEBUG: 22:41:55.826: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:97222): GLib-GIO-DEBUG: 22:41:55.827: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor?
Segmentation fault (core dumped)

Would be great if you could find a way to fix this.

7r33 avatar Sep 22 '23 13:09 7r33

Mmmm I think I need a bit more information.

  • I see that the log says MANJARO. What distro and version are you using?
  • How did you install notes-up?
  • When did it start breaking? (Or when was the last time you used it before it started breaking?

Philip-Scott avatar Sep 22 '23 15:09 Philip-Scott

I'm using manjaro and installed it from the Official repository (extra).

It broke around the time of the last manjaro update: https://forum.manjaro.org/t/stable-update-2023-09-18-kernels-mesa-pipewire-systemd-libreoffice-kde-thunderbird/148194

notes-up version 2.0.6-2

7r33 avatar Sep 22 '23 20:09 7r33

So I'm not actually the one hosting the one on the Manjaro repo. But there is a Flatpak hosted by the community which may work better: https://flathub.org/apps/com.github.philip_scott.notes-up

My guess is that Manjaro has updated dependencies that do not work with the current version of Notes-up. (Probably a new GKT version)

I'm not going to be able to debug & fix this super quickly, but do you mind trying out the Flatpak to see if it at least makes the app run?

Not sure how old that version also is, but you can always make a backup of .local/share/notes-up/ just in case :)

Philip-Scott avatar Sep 22 '23 20:09 Philip-Scott

I also have manjaro, so i think me and @7r33 have the same problem

polynomialspac3 avatar Sep 23 '23 10:09 polynomialspac3

Another Manjaro user: It starts as root, but not at user level

User level: $ G_MESSAGES_DEBUG=all com.github.philip_scott.notes-up [INFO 19:59:58.059012] Application.vala:142: Notes-Up version: (null) [INFO 19:59:58.059029] Application.vala:145: Kernel version: 6.5.5-1-MANJARO (Notes-Up:48899): Gtk-DEBUG: 19:59:58.109: Connecting to session manager (Notes-Up:48899): Gtk-DEBUG: 19:59:58.109: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned (Notes-Up:48899): Gtk-DEBUG: 19:59:58.109: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned (Notes-Up:48899): dconf-DEBUG: 19:59:58.111: watch_fast: "/org/notes/" (establishing: 0, active: 0) (Notes-Up:48899): dconf-DEBUG: 19:59:58.111: change_fast (Notes-Up:48899): dconf-DEBUG: 19:59:58.111: watch_established: "/org/notes/" (establishing: 1) (Notes-Up:48899): dconf-DEBUG: 19:59:58.111: change_fast (Notes-Up:48899): dconf-DEBUG: 19:59:58.247: watch_fast: "/org/gtk/settings/color-chooser/" (establishing: 0, active: 0) (Notes-Up:48899): dconf-DEBUG: 19:59:58.248: watch_established: "/org/gtk/settings/color-chooser/" (establishing: 1) (Notes-Up:48899): Gtk-DEBUG: 19:59:58.251: org.gnome.Shell.Screenshot not provided (Notes-Up:48899): Gtk-DEBUG: 19:59:58.269: Using GtkColorPickerKwin for picking colors (Notes-Up:48899): dconf-DEBUG: 19:59:58.269: change_fast (Notes-Up:48899): dconf-DEBUG: 19:59:58.269: change_fast (process:48917): GLib-GIO-DEBUG: 19:59:58.432: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals (process:48917): GLib-GIO-DEBUG: 19:59:58.434: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) (process:48917): GLib-GIO-DEBUG: 19:59:58.435: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor? Speicherzugriffsfehler (Speicherabzug geschrieben)

Successful launch as root: sudo G_MESSAGES_DEBUG=all com.github.philip_scott.notes-up [sudo] Passwort für jcci: [INFO 20:09:41.191268] Application.vala:142: Notes-Up version: (null) [INFO 20:09:41.191287] Application.vala:145: Kernel version: 6.5.5-1-MANJARO (Notes-Up:49425): dconf-DEBUG: 20:09:41.218: watch_fast: "/org/notes/" (establishing: 0, active: 0) (Notes-Up:49425): dconf-DEBUG: 20:09:41.218: change_fast (Notes-Up:49425): dconf-DEBUG: 20:09:41.218: change_notify: /org/notes/recent-files (Notes-Up:49425): dconf-DEBUG: 20:09:41.218: change_fast (Notes-Up:49425): dconf-DEBUG: 20:09:41.218: change_notify: /org/notes/notes-database (Notes-Up:49425): dconf-DEBUG: 20:09:41.221: change_fast (Notes-Up:49425): dconf-DEBUG: 20:09:41.221: change_notify: /org/notes/recent-files (Notes-Up:49425): dconf-DEBUG: 20:09:41.223: watch_established: "/org/notes/" (establishing: 1)

(Notes-Up:49425): dconf-WARNING **: 20:09:41.223: failed to commit changes to dconf: Fehler beim Erzeugen der Befehlszeile »dbus-launch --autolaunch=d5ecd6af469d4cdbafeb41e4e24e97b2 --binary-syntax --close-stderr«: Der Kindprozess wurde mit Status 1 beendet (Notes-Up:49425): dconf-DEBUG: 20:09:41.223: change_notify: /org/notes/recent-files

(Notes-Up:49425): dconf-WARNING **: 20:09:41.223: failed to commit changes to dconf: Fehler beim Erzeugen der Befehlszeile »dbus-launch --autolaunch=d5ecd6af469d4cdbafeb41e4e24e97b2 --binary-syntax --close-stderr«: Der Kindprozess wurde mit Status 1 beendet (Notes-Up:49425): dconf-DEBUG: 20:09:41.223: change_notify: /org/notes/ (Notes-Up:49425): dconf-DEBUG: 20:09:41.359: watch_fast: "/org/gtk/settings/color-chooser/" (establishing: 0, active: 0) (Notes-Up:49425): dconf-DEBUG: 20:09:41.359: watch_established: "/org/gtk/settings/color-chooser/" (establishing: 1) (Notes-Up:49425): Gtk-DEBUG: 20:09:41.367: Failed to create shell screenshot proxy (Notes-Up:49425): Gtk-DEBUG: 20:09:41.374: Failed to create kwin colorpicker proxy (Notes-Up:49425): Gtk-DEBUG: 20:09:41.374: No suitable GtkColorPicker implementation (process:49443): GLib-GIO-DEBUG: 20:09:41.476: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals (process:49443): GLib-GIO-DEBUG: 20:09:41.478: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) (process:49443): GLib-GIO-DEBUG: 20:09:41.480: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor? (process:49443): GLib-GIO-DEBUG: 20:09:41.482: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals (process:49443): GLib-GIO-DEBUG: 20:09:41.482: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? (process:49443): GLib-GIO-DEBUG: 20:09:41.484: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?

JCCIKL avatar Oct 29 '23 19:10 JCCIKL