After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 674424 - Calendar server crashes when Evolution (and its schema) is not installed
Calendar server crashes when Evolution (and its schema) is not installed
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: calendar
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-19 19:18 UTC by Owen Taylor
Modified: 2012-04-25 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Mirror Evolution calendar settings into our own schema (3.99 KB, patch)
2012-04-20 14:54 UTC, Owen Taylor
none Details | Review
Mirror Evolution calendar settings into our own schema (3.93 KB, patch)
2012-04-20 15:23 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2012-04-19 19:18:15 UTC
See: 

 https://bugzilla.redhat.com/show_bug.cgi?id=814401

Shows a crash:

  • #0 g_logv
    at gmessages.h line 101
  • #8 g_settings_new
    at gsettings.c line 857

Comment 1 Gökcen Eraslan 2012-04-20 10:34:35 UTC
In addition, when I click to "Open Calendar", "Execution of evolution -c calendar command failed: Command not found" notification appears. That button may not be shown if evolution is not installed.
Comment 2 Florian Müllner 2012-04-20 11:21:28 UTC
(In reply to comment #1)
> That button may not be shown if evolution is not installed.

The button does not hardcode evolution, so if at all, it should be hidden only when evolution is not installed *and* configured as the preferred calendar application. Though I tend to only hide the button if the preference is unset (which we currently don't do iirc), so distributions that do not install any calendar application by default can use an appropriate override ...
Comment 3 Owen Taylor 2012-04-20 14:54:38 UTC
Created attachment 212427 [details] [review]
Mirror Evolution calendar settings into our own schema

Right now, we are hard-depending on the presence of Evolution by
using its settings schemas. This is likely to be unpopular, and
also causes instability if someone happens not to have Evolution
installed, so install a schema that has the same data path as
the Evolution schema, but a different name and install that
for the keys we need.

To avoid a string-freeze break, we skip translating this new
schema.
Comment 4 Owen Taylor 2012-04-20 15:23:27 UTC
Created attachment 212431 [details] [review]
Mirror Evolution calendar settings into our own schema

New version - the descriptions exactly match what is in
Evolution so as to pick up Evolution's translations properly

====
Right now, we are hard-depending on the presence of Evolution by
using its settings schemas. This is likely to be unpopular, and
also causes instability if someone happens not to have Evolution
installed, so install a schema that has the same data path as
the Evolution schema, but a different name and install that
for the keys we need.

To avoid a string-freeze break, we rely on the translations in
Evolution - if Evolution isn't installed, the key descriptions
will be untranslated in dconf-editor.
Comment 5 Florian Müllner 2012-04-23 19:15:28 UTC
Review of attachment 212431 [details] [review]:

Looks "good" (as a workaround), so go ahead.
Comment 6 Owen Taylor 2012-04-25 18:39:57 UTC
Pushed to master and gnome-3-4

Attachment 212431 [details] pushed as a64c843 - Mirror Evolution calendar settings into our own schema