scratch doesn't create new notes

Bug #1630062 reported by Alberto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
New
Undecided
Unassigned

Bug Description

Can't create a new note, it just gets loading forever. Autosave is disabled.

This is what I get when I open it from the Terminal:

alberto ~
→ scratch-text-editor
[INFO 00:39:06.810859] Application.vala:155: Scratch version: 2.3
[INFO 00:39:06.810937] Application.vala:157: Kernel version: 4.4.0-38-generic
[DEBUG 00:39:06.828358] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.saved-state'
[DEBUG 00:39:06.829117] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.settings'
[DEBUG 00:39:06.830723] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.services'
[DEBUG 00:39:06.918688] [Gtk] Connecting to session manager
[WARNING 00:39:06.930733] [libpeas] Failed to enable unknown plugin loader 'gjs'
[DEBUG 00:39:06.939941] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.spell'
[WARNING 00:39:06.940565] [libpeas] Failed to enable unknown plugin loader 'gjs'
[FATAL 00:39:07.162574] [Gtk] gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed
[DEBUG 00:39:07.168537] SplitView.vala:178: WelcomeScreen shown successfully
[DEBUG 00:39:07.179230] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.folder-manager'
[DEBUG 00:39:09.139943] SplitView.vala:186: WelcomeScreen hidden successfully
[DEBUG 00:39:09.144432] SplitView.vala:124: View added successfully
[FATAL 00:39:09.144791] DocumentView.vala:109: Error al abrir el archivo «/home/alberto/.local/share/scratch-text-editor/unsaved/Archivo de texto de 2016-10-04 00:39:09»: Permiso denegado

I navigated to the file and looks like it's created by root.

After a quick sudo chmod 777 /home/alberto/.local/share/scratch-text-editor && sudo chmod 777 /home/alberto/.local/share/scratch-text-editor/unsaved/ everything works fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.