cannnot add new tab or create new file

Bug #1607243 reported by freeaks
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Scratch
New
Undecided
Unassigned

Bug Description

at the moment (loki beta2, 28july2016) using scratch,
i cannot create a new file nor open a new tab.
i tried the "+" button, ctrl+t hotkey and rmb click on the tab bar and selected "new tab".
nothing happen.

i am forced to open a shell, touch a new file,
and only then from within scratch i can use 'open file' dialog.

Revision history for this message
Zisu Andrei (matzipan) wrote :

Hello,

Can you please run scratch-text-editor from the command line, reproduce the bug and paste the output here?

Revision history for this message
freeaks (freeeaks) wrote :
Download full text (5.6 KiB)

sure, here's the output:

------------
klaus76@nsbox:~$ scratch-text-editor
[INFO 23:39:34.426887] Application.vala:155: Scratch version: 2.2.1
[INFO 23:39:34.426924] Application.vala:157: Kernel version: 4.6.3-040603-generic
[DEBUG 23:39:34.436083] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.saved-state'
[DEBUG 23:39:34.436462] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.settings'
[DEBUG 23:39:34.437065] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.services'
[DEBUG 23:39:34.478323] [Gtk] Connecting to session manager
[WARNING 23:39:34.485711] [libpeas] Failed to enable unknown plugin loader 'gjs'
[WARNING 23:39:34.489061] [libpeas] Failed to enable unknown plugin loader 'gjs'
[FATAL 23:39:34.592618] [Gtk] gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed
[DEBUG 23:39:34.594616] SplitView.vala:178: WelcomeScreen shown successfully
[DEBUG 23:39:34.597370] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.folder-manager'
[DEBUG 23:39:40.251388] SplitView.vala:186: WelcomeScreen hidden successfully
[DEBUG 23:39:40.253435] SplitView.vala:124: View added successfully
[FATAL 23:39:40.253608] DocumentView.vala:109: Error opening file '/home/klaus76/.local/share/scratch-text-editor/unsaved/Text file from 2016-07-29 23:39:40': Permission denied
klaus76@nsbox:~$

klaus76@nsbox:~$ scratch-text-editor
[INFO 23:41:55.250339] Application.vala:155: Scratch version: 2.2.1
[INFO 23:41:55.250386] Application.vala:157: Kernel version: 4.6.3-040603-generic
[DEBUG 23:41:55.259834] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.saved-state'
[DEBUG 23:41:55.260321] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.settings'
[DEBUG 23:41:55.261071] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.services'
[DEBUG 23:41:55.303236] [Gtk] Connecting to session manager
[WARNING 23:41:55.308602] [libpeas] Failed to enable unknown plugin loader 'gjs'
[WARNING 23:41:55.311623] [libpeas] Failed to enable unknown plugin loader 'gjs'
[FATAL 23:41:55.410582] [Gtk] gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed
[DEBUG 23:41:55.412610] SplitView.vala:178: WelcomeScreen shown successfully
[DEBUG 23:41:55.415475] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.folder-manager'
[WARNING 23:42:03.298928] [GLib-GObject] invalid cast from 'GtkLabel' to 'GtkContainer'
[FATAL 23:42:03.298963] [Gtk] gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
[WARNING 23:42:03.298985] [GLib-GObject] invalid cast from 'GtkLabel' to 'GtkContainer'
[FATAL 23:42:03.299004] [Gtk] gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
[WARNING 23:42:03.299023] [GLib-GObject] invalid cast from 'GtkImage' to 'GtkContainer'
[FATAL 23:42:03.299041] [Gtk] gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
[DEBUG 23:42:06.791889] sql-schema.vala:204: schema_version is 10
[DEBUG 23:42:06.818701] Document.vala:743: Could not find mount location
[INFO 23:42:06.818811] Document.vala:169: Opening ".bashrc"
[DEBUG 23:42:06.86760...

Read more...

Revision history for this message
freeaks (freeeaks) wrote :

the first output was attempt at new file creation (result: fail)
the second output was attempt at opening new tab (result: fail)
the third output was to show there is nothing in the path scratch is searching for restoring an unsaved file.

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.