elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
475 stars 113 forks source link

Critical warnings at start #23

Closed elementaryBot closed 4 years ago

elementaryBot commented 7 years ago

When I start scratch the following critical warnings are displayed:

[_LOG_LEVEL_FATAL 17:38:42.605297] [Gtk] gtk_header_bar_pack: assertion 'gtk_widget_get_parent (widget) == NULL' failed [_LOG_LEVEL_FATAL 17:38:42.605343] Scratch will not function properly. [_LOG_LEVEL_FATAL 17:38:42.708736] file /build/buildd/scratch-text-editor-2.0.2~r1430+pkg71~ubuntu0.3.1/obj-x86_64-linux-gnu/src/MainWindow.c: line 2150: uncaught error: No such file or directory (g-io-error-quark, 1) [_LOG_LEVEL_FATAL 17:38:42.708932] Scratch will not function properly. [_LOG_LEVEL_FATAL 17:38:42.709083] [Gtk] gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed [_LOG_LEVEL_FATAL 17:38:42.709214] Scratch will not function properly. [_LOG_LEVEL_FATAL 17:38:42.709604] file /build/buildd/scratch-text-editor-2.0.2~r1430+pkg71~ubuntu0.3.1/obj-x86_64-linux-gnu/src/MainWindow.c: line 2150: uncaught error: No such file or directory (g-io-error-quark, 1) [_LOG_LEVEL_FATAL 17:38:42.709796] Scratch will not function properly. [_LOG_LEVEL_DEBUG 17:38:42.723203] SplitView.vala:180: WelcomeScreen shown succefully [_LOG_LEVEL_DEBUG 17:38:42.723394] MainWindow.vala:477: create 'unsaved' directory: /home/cran/.local/share/scratch-text-editor/unsaved [_LOG_LEVEL_FATAL 17:38:42.725164] scratch_services_document_load_content: assertion 'self != NULL' failed [_LOG_LEVEL_FATAL 17:38:42.725217] Scratch will not function properly.

They should investigated and fixed in the code

Launchpad Details: #LP1402404 PerfectCarl - 2014-12-14 16:41:13 +0000

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44841661-critical-warnings-at-start?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github).
elementaryBot commented 7 years ago

With one tab and no plugins, only one FATAL warning is given. However, with plugins loaded and several tabs open, numerous warnings are given.

Launchpad Details: #LPC Jeremy Wootten - 2016-07-12 12:37:25 +0000

jeremypw commented 4 years ago

Closing as this no longer occurs.