Gschema error if Marlin is installed too

Bug #1005604 reported by Daniel Kur
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Files
Fix Released
Low
Sergey "Shnatsel" Davidoff

Bug Description

When I installed pantheon-files (from elementary-daily) I received error with GSchema:
"/usr/share/glib-2.0/schemas/org.pantheon.files.gschema.xml: Error in line 4 with sign 1: <enum id='viewmode'> has already been determined. The entire file has been ignored." Moreover application crashes on start.

Related branches

Revision history for this message
Victor Martinez (victored) wrote :

I think you probably have Marlin installed. However, it's a bad practice to use that kind of generic IDs in setting schemas. "org.pantheon.files.view-mode" would be more correct in order to avoid conflicts.

Changed in pantheon-files:
status: New → Confirmed
Revision history for this message
Daniel Kur (daniel-m-kur) wrote :

You are right. I deleted Marlin and Files now works.

Revision history for this message
Sean Seago (speedkreature) wrote :

Updated pantheon-files, and install reports:
Processing triggers for libglib2.0-0:i386 ...
/usr/share/glib-2.0/schemas/org.pantheon.files.gschema.xml: Error on line 4 char 1: <enum id='viewmode'> already specified. This entire file has been ignored.
Processing triggers for libglib2.0-0 ...
/usr/share/glib-2.0/schemas/org.pantheon.files.gschema.xml: Error on line 4 char 1: <enum id='viewmode'> already specified. This entire file has been ignored.

However, I had not seen this bug previously (though I was notified about one I posted earlier being a duplicate) and so had Marlin still installed as backup in case Files broke horrible (which it appeared to be doing).

Since the two conflict with each other, should not the pantheon-files package be modified as such and thus remove marlin?

Revision history for this message
Victor Martinez (victored) wrote :

No that's not necessary. We only need to use different (and more specific) enum IDs in the settings schema, like I mentioned in the comment above.

Cody Garver (codygarver)
Changed in pantheon-files:
importance: Undecided → Low
summary: - Gschema error
+ Gschema error if Marlin is installed too
Changed in pantheon-files:
assignee: nobody → Sergey "Shnatsel" Davidoff (shnatsel)
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: none → luna-beta2
Cody Garver (codygarver)
Changed in pantheon-files:
status: In Progress → Fix Released
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.