mockturtl / cinnamon-weather

DEPRECATED. Use linuxmint/cinnamon-spices-applets instead.
https://cinnamon-spices.linuxmint.com/applets/view/17
28 stars 35 forks source link

This makes ubuntu tweak crash on launch #45

Closed poliltimmy closed 11 years ago

poliltimmy commented 11 years ago

On my Mint 13 x64 install ubuntu tweak will shows splash and not start. Trying to launch in terminal shows error with: $ ubuntu-tweak

(ubuntu-tweak:3731): GConf-WARNING **: : You can't use a GConfEngine that has an active GConfClient wrapper object. Use GConfClient API instead.

(ubuntu-tweak:3731): GConf-WARNING : : You can't use a GConfEngine that has an active GConfClient wrapper object. Use GConfClient API instead. Checking if settings need to be migrated ...no Checking if internal files need to be migrated ...no Backend : gconf Integration : true Profile : default Adding plugins Initializing core options...done Traceback (most recent call last): File "/usr/bin/ubuntu-tweak", line 126, in window = UbuntuTweakWindow(feature=options.feature, module=options.module, splash_window=splash_window) File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 296, in init tweaks_page = FeaturePage('tweaks') File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 161, in init** self._setting = GSetting('com.ubuntu-tweak.tweak.%s' % feature_name) File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/gsettings.py", line 19, in init self.schema_default = self.default or Schema.load_schema(self.schema_id, self.key) File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/common.py", line 129, in load_schema tree = etree.parse(open(schema_path)) IOError: [Errno 13] Permission denied: '/usr/share/glib-2.0/schemas/org.cinnamon.applets.weather@mockturtl.gschema.xml'

If I uninstall and run cleanup ubuntu tweak will work again.

mockturtl commented 11 years ago

Are you running Cinnamon 1.8 from Maya backports?

If so, you can use cinnamon-settings to install the latest applet version -- it doesn't require a gsettings schema.

poliltimmy commented 11 years ago

$ apt policy cinnamon cinnamon: Installed: 1.8.8+maya Candidate: 1.8.8+maya Version table: *\ 1.8.8+maya 0 700 http://packages.linuxmint.com/ maya/backport amd64 Packages 100 /var/lib/dpkg/status 1.4-UP3 0 700 http://packages.linuxmint.com/ maya/main amd64 Packages 1.2.0-2ubuntu1~precise 0 500 http://ppa.launchpad.net/merlwiz79/cinnamon-ppa/ubuntu/ precise/main amd64 Packages

Weather not in default list. Tried to install by way of cinnamon applets/'get more online' tab

Got back this error: An error occurred while trying to access the server. Please try again in a little while. Details: HTTP Error 404: Not Found

On 07/27/2013 02:00 PM, mockturtl wrote:

Are you running Cinnamon 1.8 from Maya backports http://packages.linuxmint.com/list.php?release=Maya#backport?

If so, you can use |cinnamon-settings| to install the latest applet version -- it doesn't require a gsettings schema.

— Reply to this email directly or view it on GitHub https://github.com/mockturtl/cinnamon-weather/issues/45#issuecomment-21669704.

mockturtl commented 11 years ago

I saw the same behavior when I upgraded to Cinnamon 1.8. Try clicking the "Refresh list" button (cinnamon-settings -> Applets -> "Get more online" tab), and see if that fixes it.

linuxmint/Cinnamon#2215

poliltimmy commented 11 years ago

OK says it is installed. Does not show up in panel. Says there is an update, it produces the same error. Tried to run uninstall, same error. On 07/28/2013 02:47 PM, mockturtl wrote:

I saw the same behavior when I upgraded to Cinnamon 1.8. Try clicking the "Refresh list" button (|cinnamon-settings| -> /Applets/ -> /"Get more online"/ tab), and see if that fixes it.

linuxmint/Cinnamon#2215 https://github.com/linuxmint/Cinnamon/issues/2215

— Reply to this email directly or view it on GitHub https://github.com/mockturtl/cinnamon-weather/issues/45#issuecomment-21688560.

poliltimmy commented 11 years ago

Here is what I get in a fresh install as in yesterday. On 07/28/2013 02:47 PM, mockturtl wrote:

I saw the same behavior when I upgraded to Cinnamon 1.8. Try clicking the "Refresh list" button (|cinnamon-settings| -> /Applets/ -> /"Get more online"/ tab), and see if that fixes it.

linuxmint/Cinnamon#2215 https://github.com/linuxmint/Cinnamon/issues/2215

— Reply to this email directly or view it on GitHub https://github.com/mockturtl/cinnamon-weather/issues/45#issuecomment-21688560.

poliltimmy commented 11 years ago

I guess attachments are a no no.

An error occurred during installation or updating. You may want to report this incident....etc

If this was an update, the previous installation is unchanged.

Details: [Errno 2] No such file or directory.

On 07/28/2013 02:47 PM, mockturtl wrote:

I saw the same behavior when I upgraded to Cinnamon 1.8. Try clicking the "Refresh list" button (|cinnamon-settings| -> /Applets/ -> /"Get more online"/ tab), and see if that fixes it.

linuxmint/Cinnamon#2215 https://github.com/linuxmint/Cinnamon/issues/2215

— Reply to this email directly or view it on GitHub https://github.com/mockturtl/cinnamon-weather/issues/45#issuecomment-21688560.

mockturtl commented 11 years ago

Tried to run uninstall, same error.

Have a look at the uninstall script the applet used before cinnamon-settings was around. It would remove:

  1. gsettings schema
  2. applet directory
  3. symlink to old settings tool
  4. translation files

That will get you back to a clean slate. Log out and back in to make sure Cinnamon restarts. I can't see any reason the applet should fail to install after that.

Be advised: Cinnamon may have cleaned up some of these files in the 1.8 upgrade, and I'm not sure how dconf reset and glib-compile-schemas behave if there is a problem (missing argument, etc.). I don't recommend running the uninstall script steps unless you understand them.