varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.2k stars 143 forks source link

Variety not changing wallpaper #182

Closed rickstaa closed 5 years ago

rickstaa commented 5 years ago

Your wallpaper changer, unfortunately, stopped working today on my ubuntu 18.04 system. This morning I noticed that the wallpaper was black and that I couldn't' get variety to change it to the next wallpaper. The strange thing is that when I click next variety in the menu changes to another wallpaper but it doesn't change the system background.

System info

What I already tried

jlu5 commented 5 years ago

What DE are you using? Are there any errors in ~/.config/variety/variety.log?

rickstaa commented 5 years ago

@jlu5 I had to reinstalled ubuntu anyway so now it works again. :)

Josh-Zirena commented 5 years ago

System Info Elementary 5.0 (runs Ubuntu 18.04) Installed through the Appcenter Store 0.6.7 I tried to update by adding the PPA and successfully updated to 0.7.1, but I still faced the same problem.

I've got the same issue as the previous user. I'm assuming that if I clear the files that are not deleted by uninstalling it would work again. In my case, it looks like it's downloading wallpapers, but it's not able to change my wallpaper for some reason.

Here is my log. variety.log

Any idea on what I can do?

Josh-Zirena commented 5 years ago

Some additional information, it seems to change my wallpaper at least once a day. So maybe it's only changing it at startup. It's definitely not changing my wallpaper everyday. I've also tried to make it work by uninstalling and clearing my ./.config folder but that also didn't seem to help.

rickstaa commented 5 years ago

I now appear to again have the same problem as @JoshEk. As I'm not up to fully installing my system again I would like to participate in the troubleshooting. In my case, It will never change the wallpaper anymore not even at startup. I now just have a blue screen. This is the output of my variety --verbose 2> ~/variety_log.txt command:

INFO: 2019-07-12 10:18:40,538: perform_upgrade() 'Last run version was 0.7.1 or earlier, current version is 0.7.1'
INFO: 2019-07-12 10:18:40,627: process_command() 'Received command: ['--verbose']'
GLib-GIO-Message: 10:18:40.634: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:40,634: load() 'Jumble loading'
INFO: 2019-07-12 10:18:40,635: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/__init__.py'
INFO: 2019-07-12 10:18:40,636: _walk_modules() 'Jumble loading module in GoodreadsSource from /usr/share/variety/plugins/quotes/GoodreadsSource.py'
INFO: 2019-07-12 10:18:40,639: load() 'Jumble found plugin class: <class 'GoodreadsSource.GoodreadsSource'>: {'name': 'Goodreads', 'description': 'Fetches quotes from Goodreads.com', 'author': 'Peter Levi', 'version': '0.1'}'
INFO: 2019-07-12 10:18:40,639: _walk_modules() 'Jumble loading module in QuotesDaddySource from /usr/share/variety/plugins/quotes/QuotesDaddySource.py'
INFO: 2019-07-12 10:18:40,640: load() 'Jumble found plugin class: <class 'QuotesDaddySource.QuotesDaddySource'>: {'name': 'QuotesDaddy', 'description': "Fetches quotes from QuotesDaddy's daily quotes RSS feed.\nDoes not support searching by tags or authors.", 'author': 'Peter Levi', 'version': '0.1'}'
INFO: 2019-07-12 10:18:40,640: _walk_modules() 'Jumble loading module in LocalFilesSource from /usr/share/variety/plugins/quotes/LocalFilesSource.py'
INFO: 2019-07-12 10:18:40,640: load() 'Jumble found plugin class: <class 'LocalFilesSource.LocalFilesSource'>: {'name': 'Local text files', 'description': 'Displays quotes, defined in local text files.\nPut your own txt files in: ~/.config/variety/pluginconfig/quotes/.\nThe file format is:\n\nquote -- author\n.\nsecond quote -- another author\n.\netc...\n\nExample: http://rvelthuis.de/zips/quotes.txt', 'author': 'Peter Levi', 'version': '0.1'}'
INFO: 2019-07-12 10:18:40,641: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/quotes/__init__.py'
INFO: 2019-07-12 10:18:40,641: _walk_modules() 'Jumble loading module in QuotationsPageSource from /usr/share/variety/plugins/quotes/QuotationsPageSource.py'
INFO: 2019-07-12 10:18:40,641: load() 'Jumble found plugin class: <class 'QuotationsPageSource.QuotationsPageSource'>: {'name': 'TheQuotationsPage.com', 'description': 'Fetches quotes from TheQuotationsPage.com', 'author': 'Peter Levi', 'version': '0.1'}'
INFO: 2019-07-12 10:18:40,643: reload_config() 'Creating new downloader for type 6, location Random wallpapers from Desktoppr.co'
INFO: 2019-07-12 10:18:40,643: reload_config() 'Creating new downloader for type 15, location Bing Photo of the Day'
INFO: 2019-07-12 10:18:40,643: reload_config() 'Creating new downloader for type 16, location High-resolution photos from Unsplash.com'
INFO: 2019-07-12 10:18:40,643: reload_config() 'Creating new downloader for type 8, location NASA's Astronomy Picture of the Day'
INFO: 2019-07-12 10:18:40,643: reload_config() 'Creating new downloader for type 7, location user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;'
INFO: 2019-07-12 10:18:40,644: log_options() 'Loaded options:'
INFO: 2019-07-12 10:18:40,644: log_options() 'change_enabled = True'
INFO: 2019-07-12 10:18:40,644: log_options() 'change_interval = 14400'
INFO: 2019-07-12 10:18:40,644: log_options() 'change_on_start = True'
INFO: 2019-07-12 10:18:40,644: log_options() 'clipboard_enabled = False'
INFO: 2019-07-12 10:18:40,644: log_options() 'clipboard_hosts = ['wallhaven.cc', 'wallpapers.net', 'flickr.com', 'imgur.com', 'deviantart.com', 'interfacelift.com', 'vladstudio.com', 'imageshack.us', 'deviantart.net', 'imageshack.com']'
INFO: 2019-07-12 10:18:40,644: log_options() 'clipboard_use_whitelist = True'
INFO: 2019-07-12 10:18:40,644: log_options() 'clock_date_font = Ubuntu Condensed, 30'
INFO: 2019-07-12 10:18:40,644: log_options() 'clock_enabled = False'
INFO: 2019-07-12 10:18:40,644: log_options() 'clock_filter = -density 100 -font `fc-match -f '%{file[0]}' '%CLOCK_FONT_NAME'` -pointsize %CLOCK_FONT_SIZE -gravity SouthEast -fill '#00000044' -annotate 0x0+[%HOFFSET+58]+[%VOFFSET+108] '%H:%M' -fill white -annotate 0x0+[%HOFFSET+60]+[%VOFFSET+110] '%H:%M' -font `fc-match -f '%{file[0]}' '%DATE_FONT_NAME'` -pointsize %DATE_FONT_SIZE -fill '#00000044' -annotate 0x0+[%HOFFSET+58]+[%VOFFSET+58] '%A, %B %d' -fill white -annotate 0x0+[%HOFFSET+60]+[%VOFFSET+60] '%A, %B %d''
INFO: 2019-07-12 10:18:40,644: log_options() 'clock_font = Ubuntu Condensed, 70'
INFO: 2019-07-12 10:18:40,644: log_options() 'configfile = /home/ricks/.config/variety/variety.conf'
INFO: 2019-07-12 10:18:40,644: log_options() 'copyto_enabled = False'
INFO: 2019-07-12 10:18:40,644: log_options() 'copyto_folder = Default'
INFO: 2019-07-12 10:18:40,644: log_options() 'desired_color = [160, 160, 160]'
INFO: 2019-07-12 10:18:40,644: log_options() 'desired_color_enabled = False'
INFO: 2019-07-12 10:18:40,644: log_options() 'download_enabled = True'
INFO: 2019-07-12 10:18:40,644: log_options() 'download_folder = /home/ricks/.config/variety/Downloaded'
INFO: 2019-07-12 10:18:40,644: log_options() 'download_interval = 600'
INFO: 2019-07-12 10:18:40,645: log_options() 'favorites_folder = /home/ricks/.config/variety/Favorites'
INFO: 2019-07-12 10:18:40,645: log_options() 'favorites_operations = [['Downloaded', 'Copy'], ['Fetched', 'Move'], ['Others', 'Copy']]'
INFO: 2019-07-12 10:18:40,645: log_options() 'fetched_folder = /home/ricks/.config/variety/Fetched'
INFO: 2019-07-12 10:18:40,645: log_options() 'filters = [[False, 'Keep original', ''], [False, 'Grayscale', '-type Grayscale'], [False, 'Heavy blur', '-blur 120x40'], [False, 'Soft blur', '-blur 20x7'], [False, 'Oil painting', '-paint 8'], [False, 'Pencil sketch', '-colorspace gray \\( +clone -tile ~/.config/variety/pencil_tile.png -draw "color 0,0 reset" +clone +swap -compose color_dodge -composite \\) -fx \'u*.2+v*.8\''], [False, 'Pointilism', '-spread 10 -noise 3'], [False, 'Pixellate', '-scale 3% -scale 3333%']]'
INFO: 2019-07-12 10:18:40,645: log_options() 'icon = Light'
INFO: 2019-07-12 10:18:40,645: log_options() 'lightness_enabled = False'
INFO: 2019-07-12 10:18:40,645: log_options() 'lightness_mode = 0'
INFO: 2019-07-12 10:18:40,645: log_options() 'min_rating = 4'
INFO: 2019-07-12 10:18:40,645: log_options() 'min_rating_enabled = False'
INFO: 2019-07-12 10:18:40,645: log_options() 'min_size = 80'
INFO: 2019-07-12 10:18:40,645: log_options() 'min_size_enabled = False'
INFO: 2019-07-12 10:18:40,645: log_options() 'quota_enabled = True'
INFO: 2019-07-12 10:18:40,645: log_options() 'quota_size = 500'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_authors = '
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_bg_color = [80, 80, 80]'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_bg_opacity = 55'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_change_enabled = False'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_change_interval = 300'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_disabled_sources = ['QuotesDaddy']'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_enabled = False'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_favorites_file = /home/ricks/.config/variety/favorite_quotes.txt'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_font = Bitstream Charter 30'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_hpos = 100'
INFO: 2019-07-12 10:18:40,645: log_options() 'quotes_tags = '
INFO: 2019-07-12 10:18:40,646: log_options() 'quotes_text_color = [255, 255, 255]'
INFO: 2019-07-12 10:18:40,646: log_options() 'quotes_text_shadow = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'quotes_vpos = 40'
INFO: 2019-07-12 10:18:40,646: log_options() 'quotes_width = 70'
INFO: 2019-07-12 10:18:40,646: log_options() 'safe_mode = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_custom_enabled = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_custom_folder = /home/ricks/Pictures'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_downloads_enabled = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_fade = 0.4'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_favorites_enabled = True'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_mode = Fullscreen'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_monitor = All'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_pan = 0.05'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_seconds = 6.0'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_sort_order = Random'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_sources_enabled = True'
INFO: 2019-07-12 10:18:40,646: log_options() 'slideshow_zoom = 0.2'
INFO: 2019-07-12 10:18:40,646: log_options() 'smart_enabled = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'smart_notice_shown = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'smart_register_shown = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'sources = [[True, 3, 'The Favorites folder'], [True, 4, 'The Fetched folder'], [True, 2, '/usr/share/backgrounds'], [True, 6, 'Random wallpapers from Desktoppr.co'], [True, 15, 'Bing Photo of the Day'], [True, 16, 'High-resolution photos from Unsplash.com'], [True, 8, "NASA's Astronomy Picture of the Day"], [False, 11, 'World Sunlight Map - live wallpaper from Die.net'], [True, 7, 'user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;']]'
INFO: 2019-07-12 10:18:40,646: log_options() 'stats_enabled = True'
INFO: 2019-07-12 10:18:40,646: log_options() 'stats_notice_shown = False'
INFO: 2019-07-12 10:18:40,646: log_options() 'sync_enabled = True'
INFO: 2019-07-12 10:18:40,646: log_options() 'use_landscape_enabled = True'
INFO: 2019-07-12 10:18:40,647: reload_config() 'No need to clear prepared queue'
INFO: 2019-07-12 10:18:40,647: load_last_change_time() 'Change interval < 6 hours, ignore persisted last_change_time, wait initially the whole interval: 14400'
INFO: 2019-07-12 10:18:40,647: update_indicator() 'Setting file info to: /usr/share/backgrounds/warty-final-ubuntu.png'
INFO: 2019-07-12 10:18:40,648: regular_change_thread() 'regular_change thread running'
INFO: 2019-07-12 10:18:40,648: prepare_thread() 'Prepare thread running'
INFO: 2019-07-12 10:18:40,649: prepare_thread() 'Prepared buffer contains 0 images'
INFO: 2019-07-12 10:18:40,649: prepare_thread() 'Preparing some images'
INFO: 2019-07-12 10:18:40,650: update_indicator_icon() 'Creating indicator'
INFO: 2019-07-12 10:18:40,685: prepare_thread() 'After search prepared buffer contains 15 images'
WARNING: 2019-07-12 10:18:40,690: create_menu() 'Variety Slideshow is not installed. This is an optional extension adding pan-and-zoom slideshows to Variety: see https://github.com/peterlevi/variety-slideshow for details'
INFO: 2019-07-12 10:18:40,691: create_indicator() 'indicator backend: AyatanaAppIndicator3'
INFO: 2019-07-12 10:18:40,705: set_from_theme_icon() 'Showing indicator icon variety-indicator from GTK theme'
INFO: 2019-07-12 10:18:40,705: update_indicator() 'Setting file info to: /usr/share/backgrounds/warty-final-ubuntu.png'
INFO: 2019-07-12 10:18:40,747: do_set_wp() 'Calling do_set_wp with /usr/share/backgrounds/warty-final-ubuntu.png, time: 1562919520.7476506'
GLib-GIO-Message: 10:18:40.754: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:40,754: update_indicator() 'Setting file info to: /usr/share/backgrounds/warty-final-ubuntu.png'
GLib-GIO-Message: 10:18:40.766: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:41,949: reload() 'Reloading preferences dialog'

(variety:13325): Gtk-WARNING **: 10:18:41.967: Failed to measure available space: Error getting filesystem info for /media/root/Extra SSD: Permission denied
INFO: 2019-07-12 10:18:45,649: set_wallpaper() 'Calling set_wallpaper with /usr/share/backgrounds/Crocus_Wallpaper_by_Roy_Tanck.jpg'
INFO: 2019-07-12 10:18:45,649: prepare_thread() 'Prepared buffer contains 14 images'
INFO: 2019-07-12 10:18:45,650: do_set_wp() 'Calling do_set_wp with /usr/share/backgrounds/Crocus_Wallpaper_by_Roy_Tanck.jpg, time: 1562919525.650804'

** (variety:13325): CRITICAL **: 10:18:45.657: XMP Toolkit error 203: Duplicate property or field node

** (variety:13325): WARNING **: 10:18:45.658: Failed to decode XMP metadata.

GLib-GIO-Message: 10:18:45.671: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:45,674: update_indicator() 'Setting file info to: /usr/share/backgrounds/Crocus_Wallpaper_by_Roy_Tanck.jpg'

** (variety:13325): CRITICAL **: 10:18:45.676: XMP Toolkit error 203: Duplicate property or field node

** (variety:13325): WARNING **: 10:18:45.676: Failed to decode XMP metadata.

GLib-GIO-Message: 10:18:45.710: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:48,223: set_wallpaper() 'Calling set_wallpaper with /usr/share/backgrounds/Spices_in_Athens_by_Makis_Chourdakis.jpg'
INFO: 2019-07-12 10:18:48,224: prepare_thread() 'Prepared buffer contains 13 images'
INFO: 2019-07-12 10:18:48,225: do_set_wp() 'Calling do_set_wp with /usr/share/backgrounds/Spices_in_Athens_by_Makis_Chourdakis.jpg, time: 1562919528.2258651'

** (variety:13325): WARNING **: 10:18:48.227: Directory Pentax, entry 0x0004: Data area exceeds data buffer, ignoring it.

** (variety:13325): CRITICAL **: 10:18:48.233: XMP Toolkit error 203: Duplicate property or field node

** (variety:13325): WARNING **: 10:18:48.233: Failed to decode XMP metadata.

GLib-GIO-Message: 10:18:48.246: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:48,262: update_indicator() 'Setting file info to: /usr/share/backgrounds/Spices_in_Athens_by_Makis_Chourdakis.jpg'

** (variety:13325): WARNING **: 10:18:48.262: Directory Pentax, entry 0x0004: Data area exceeds data buffer, ignoring it.

** (variety:13325): CRITICAL **: 10:18:48.263: XMP Toolkit error 203: Duplicate property or field node

** (variety:13325): WARNING **: 10:18:48.263: Failed to decode XMP metadata.

GLib-GIO-Message: 10:18:48.277: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
INFO: 2019-07-12 10:18:51,665: check_quit() 'Terminating signal received, quitting...'
INFO: 2019-07-12 10:18:51,667: on_quit() 'Quitting'
rickstaa commented 5 years ago

@JohshEK After some debugging, I found the root of my problem. For me, this behavior appears to be caused by a broken or missing environmental variable (see this issue). The problem disappears when you add the following environmental variable before starting variety using the terminal.

export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/

Unfortunately adding this environmental variable in the .bashrc script doesn't help.

My solution

For me the solution was to reset the ubuntu profile as is explained by Frantique in this topic.

Temporary workaround

If none of the options explained in the topic above do work a temporary work around for this problem is to:

  1. Disable the varity>preferences>Start Variety when the computer starts
  2. Add a new startup task with the following command in the ubuntu startup applications tool:
bash -c "export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/;variety"

Related topics

jlu5 commented 5 years ago

How on Earth does this sort of thing even happen o_O

In any case, this seems to be a GLib issue and not one in Variety per se?

rickstaa commented 5 years ago

@jlu5 I think your right. I will wait for @JoshEk to see if his problem has also been resolved and then close the issue. If more users start to experience this problem more frequently in the future, I will contact the GLib maintainer.