varietywalls / variety

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

Wrong address for QuotationsPage #223

Closed adimishra1 closed 5 years ago

adimishra1 commented 5 years ago

Version of Variety image

Describe the bug The random quote is not getting the data from the website. image

Context It happens every time variety starts

To Reproduce Are there reliable steps to reproduce the behavior?

  1. Just start variety.

Attach Variety's log file

>INFO: 2019-09-19 05:56:30,213: perform_upgrade() 'Last run version was 0.6.7 or earlier, current version is 0.6.7'
INFO: 2019-09-19 05:56:30,214: process_command() 'Received command: [u'-v']'
INFO: 2019-09-19 05:56:30,218: load_banned() 'Missing or invalid banned URLs list, no URLs will be banned'
INFO: 2019-09-19 05:56:30,230: load() 'Jumble loading'
INFO: 2019-09-19 05:56:30,230: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/__init__.py'
INFO: 2019-09-19 05:56:30,231: _walk_modules() 'Jumble loading module in QuotationsPageSource from /usr/share/variety/plugins/quotes/QuotationsPageSource.py'
INFO: 2019-09-19 05:56:30,237: load() 'Jumble found plugin class: <class 'QuotationsPageSource.QuotationsPageSource'>: {'author': 'Peter Levi', 'name': 'TheQuotationsPage.com', 'version': '0.1', 'description': u'Fetches quotes from TheQuotationsPage.com'}'
INFO: 2019-09-19 05:56:30,237: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/quotes/__init__.py'
INFO: 2019-09-19 05:56:30,237: _walk_modules() 'Jumble loading module in QuotesDaddySource from /usr/share/variety/plugins/quotes/QuotesDaddySource.py'
INFO: 2019-09-19 05:56:30,237: load() 'Jumble found plugin class: <class 'QuotesDaddySource.QuotesDaddySource'>: {'author': 'Peter Levi', 'name': 'QuotesDaddy', 'version': '0.1', 'description': u"Fetches quotes from QuotesDaddy's daily quotes RSS feed.\nDoes not support searching by tags or authors."}'
INFO: 2019-09-19 05:56:30,238: _walk_modules() 'Jumble loading module in LocalFilesSource from /usr/share/variety/plugins/quotes/LocalFilesSource.py'
INFO: 2019-09-19 05:56:30,238: load() 'Jumble found plugin class: <class 'LocalFilesSource.LocalFilesSource'>: {'author': 'Peter Levi', 'name': 'Local text files', 'version': '0.1', 'description': u'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'}'
INFO: 2019-09-19 05:56:30,238: _walk_modules() 'Jumble loading module in GoodreadsSource from /usr/share/variety/plugins/quotes/GoodreadsSource.py'
INFO: 2019-09-19 05:56:30,239: load() 'Jumble found plugin class: <class 'GoodreadsSource.GoodreadsSource'>: {'author': 'Peter Levi', 'name': 'Goodreads', 'version': '0.1', 'description': u'Fetches quotes from Goodreads.com'}'
INFO: 2019-09-19 05:56:30,245: reload_config() 'Creating new downloader for type 19, location Recommended by Variety. Adapts to your taste as you mark images as favorite or trash.'
ERROR: 2019-09-19 05:56:30,245: reload_config() 'Could not create Downloader for type 19, location Recommended by Variety. Adapts to your taste as you mark images as favorite or trash.'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 420, in reload_config
    dlr = self.create_downloader(type, location)
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 555, in create_downloader
    raise Exception('No Smart user yet, not a problem')
Exception: No Smart user yet, not a problem
INFO: 2019-09-19 05:56:30,247: log_options() 'Loaded options:'
INFO: 2019-09-19 05:56:30,247: log_options() 'change_enabled = True'
INFO: 2019-09-19 05:56:30,247: log_options() 'change_interval = 18000'
INFO: 2019-09-19 05:56:30,247: log_options() 'change_on_start = True'
INFO: 2019-09-19 05:56:30,247: log_options() 'clipboard_enabled = False'
INFO: 2019-09-19 05:56:30,247: log_options() 'clipboard_hosts = [u'wallhaven.cc', u'ns223506.ovh.net', u'wallpapers.net', u'flickr.com', u'imgur.com', u'deviantart.com', u'interfacelift.com', u'vladstudio.com', u'imageshack.us']'
INFO: 2019-09-19 05:56:30,247: log_options() 'clipboard_use_whitelist = True'
INFO: 2019-09-19 05:56:30,247: log_options() 'clock_date_font = Sawasdee 30'
INFO: 2019-09-19 05:56:30,247: log_options() 'clock_enabled = True'
INFO: 2019-09-19 05:56:30,248: 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-09-19 05:56:30,248: log_options() 'clock_font = Sawasdee 70'
INFO: 2019-09-19 05:56:30,248: log_options() 'configfile = /home/alphatrance/.config/variety/variety.conf'
INFO: 2019-09-19 05:56:30,248: log_options() 'copyto_enabled = True'
INFO: 2019-09-19 05:56:30,248: log_options() 'copyto_folder = Default'
INFO: 2019-09-19 05:56:30,248: log_options() 'desired_color = [160, 160, 160]'
INFO: 2019-09-19 05:56:30,248: log_options() 'desired_color_enabled = False'
INFO: 2019-09-19 05:56:30,248: log_options() 'download_enabled = True'
INFO: 2019-09-19 05:56:30,248: log_options() 'download_folder = /home/alphatrance/.config/variety/Downloaded'
INFO: 2019-09-19 05:56:30,248: log_options() 'download_interval = 600'
INFO: 2019-09-19 05:56:30,248: log_options() 'facebook_message = '
INFO: 2019-09-19 05:56:30,249: log_options() 'facebook_show_dialog = True'
INFO: 2019-09-19 05:56:30,249: log_options() 'favorites_folder = /home/alphatrance/.config/variety/Favorites'
INFO: 2019-09-19 05:56:30,249: log_options() 'favorites_operations = [[u'Downloaded', u'Copy'], [u'Fetched', u'Move'], [u'Others', u'Copy']]'
INFO: 2019-09-19 05:56:30,249: log_options() 'fetched_folder = /home/alphatrance/.config/variety/Fetched'
INFO: 2019-09-19 05:56:30,249: log_options() 'filters = [[False, u'Keep original', u''], [False, u'Grayscale', u'-type Grayscale'], [False, u'Heavy blur', u'-blur 120x40'], [True, u'Soft blur', u'-blur 20x7'], [False, u'Oil painting', u'-paint 8'], [False, u'Pencil sketch', u'-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, u'Pointilism', u'-spread 10 -noise 3'], [False, u'Pixellate', u'-scale 3% -scale 3333%']]'
INFO: 2019-09-19 05:56:30,249: log_options() 'icon = Light'
INFO: 2019-09-19 05:56:30,249: log_options() 'lightness_enabled = False'
INFO: 2019-09-19 05:56:30,249: log_options() 'lightness_mode = 0'
INFO: 2019-09-19 05:56:30,249: log_options() 'min_rating = 4'
INFO: 2019-09-19 05:56:30,249: log_options() 'min_rating_enabled = False'
INFO: 2019-09-19 05:56:30,249: log_options() 'min_size = 80'
INFO: 2019-09-19 05:56:30,249: log_options() 'min_size_enabled = False'
INFO: 2019-09-19 05:56:30,250: log_options() 'quota_enabled = True'
INFO: 2019-09-19 05:56:30,250: log_options() 'quota_size = 500'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_authors = '
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_bg_color = [80, 80, 80]'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_bg_opacity = 55'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_change_enabled = False'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_change_interval = 300'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_disabled_sources = [u'QuotesDaddy']'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_enabled = True'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_favorites_file = /home/alphatrance/.config/variety/favorite_quotes.txt'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_font = Chilanka 24'
INFO: 2019-09-19 05:56:30,250: log_options() 'quotes_hpos = 98'
INFO: 2019-09-19 05:56:30,251: log_options() 'quotes_tags = '
INFO: 2019-09-19 05:56:30,251: log_options() 'quotes_text_color = [255, 255, 255]'
INFO: 2019-09-19 05:56:30,251: log_options() 'quotes_text_shadow = False'
INFO: 2019-09-19 05:56:30,251: log_options() 'quotes_vpos = 21'
INFO: 2019-09-19 05:56:30,251: log_options() 'quotes_width = 58'
INFO: 2019-09-19 05:56:30,251: log_options() 'safe_mode = False'
INFO: 2019-09-19 05:56:30,251: log_options() 'slideshow_custom_enabled = False'
INFO: 2019-09-19 05:56:30,251: log_options() 'slideshow_custom_folder = /home/alphatrance/Pictures'
INFO: 2019-09-19 05:56:30,251: log_options() 'slideshow_downloads_enabled = False'
INFO: 2019-09-19 05:56:30,251: log_options() 'slideshow_fade = 0.4'
INFO: 2019-09-19 05:56:30,251: log_options() 'slideshow_favorites_enabled = True'
INFO: 2019-09-19 05:56:30,251: log_options() 'slideshow_mode = Fullscreen'
INFO: 2019-09-19 05:56:30,252: log_options() 'slideshow_monitor = All'
INFO: 2019-09-19 05:56:30,252: log_options() 'slideshow_pan = 0.05'
INFO: 2019-09-19 05:56:30,252: log_options() 'slideshow_seconds = 6.0'
INFO: 2019-09-19 05:56:30,252: log_options() 'slideshow_sort_order = Random'
INFO: 2019-09-19 05:56:30,252: log_options() 'slideshow_sources_enabled = True'
INFO: 2019-09-19 05:56:30,252: log_options() 'slideshow_zoom = 0.2'
INFO: 2019-09-19 05:56:30,252: log_options() 'smart_enabled = True'
INFO: 2019-09-19 05:56:30,252: log_options() 'smart_notice_shown = True'
INFO: 2019-09-19 05:56:30,252: log_options() 'smart_register_shown = True'
INFO: 2019-09-19 05:56:30,252: log_options() 'sources = [[False, 3, u'The Favorites folder'], [False, 4, u'The Fetched folder'], [True, 19, u'Recommended by Variety. Adapts to your taste as you mark images as favorite or trash.'], [False, 20, u'Latest favorites by the other users of Variety. [May contain NSFW images]'], [True, 2, u'/usr/share/backgrounds'], [False, 6, u'Random wallpapers from Desktoppr.co'], [False, 15, u'Bing Photo of the Day'], [False, 16, u'High-resolution photos from Unsplash.com'], [False, 8, u"NASA's Astronomy Picture of the Day"], [False, 11, u'World Sunlight Map - live wallpaper from Die.net'], [False, 7, u'user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;'], [True, 2, u'/home/alphatrance/SpotBright']]'
INFO: 2019-09-19 05:56:30,252: log_options() 'stats_enabled = True'
INFO: 2019-09-19 05:56:30,252: log_options() 'stats_notice_shown = True'
INFO: 2019-09-19 05:56:30,253: log_options() 'sync_enabled = True'
INFO: 2019-09-19 05:56:30,253: log_options() 'use_landscape_enabled = True'
INFO: 2019-09-19 05:56:30,253: reload_config() 'No need to clear prepared queue'
INFO: 2019-09-19 05:56:30,253: clock_thread_method() 'clock thread running'
INFO: 2019-09-19 05:56:30,253: start() 'Starting QuotesEngine'
INFO: 2019-09-19 05:56:30,254: load() 'Loading quotes file /usr/share/variety/plugins/quotes/quotes.txt'
INFO: 2019-09-19 05:56:30,272: prepare_thread() 'Quotes prepare thread running'
INFO: 2019-09-19 05:56:30,273: regular_change_thread() 'Quotes regular change thread running'
INFO: 2019-09-19 05:56:30,273: on_options_updated() 'Quotes: clearing prepared and updating plugins'
INFO: 2019-09-19 05:56:30,273: prepare_thread() 'Quotes prepared buffer contains 0 quotes, fetching a quote'
INFO: 2019-09-19 05:56:30,278: load_last_change_time() 'Change interval < 6 hours, ignore persisted last_change_time, wait initially the whole interval: 18000'
INFO: 2019-09-19 05:56:30,278: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg'
INFO: 2019-09-19 05:56:30,280: do_set_wp() 'Calling do_set_wp with /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg, time: 1568852790.28'
INFO: 2019-09-19 05:56:30,280: regular_change_thread() 'regular_change thread running'
INFO: 2019-09-19 05:56:30,280: prepare_thread() 'Prepare thread running'
INFO: 2019-09-19 05:56:30,281: prepare_thread() 'Prepared buffer contains 0 images'
INFO: 2019-09-19 05:56:30,281: prepare_thread() 'Preparing some images'
INFO: 2019-09-19 05:56:30,282: build_imagemagick_filter_cmd() 'Applying filter: -blur 20x7'
INFO: 2019-09-19 05:56:30,283: build_imagemagick_filter_cmd() 'ImageMagick filter cmd: convert '/home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg' -scale 1920x1080^ -blur 20x7 /home/alphatrance/.config/variety/wallpaper/wallpaper-filter-4539c6c98aea39b727e01b540730df49.jpg'
INFO: 2019-09-19 05:56:30,285: _run() 'sync: Started, hash a185ad108d9c9a99acc4f280ef66ea5d'
INFO: 2019-09-19 05:56:30,286: update_indicator_icon() 'Creating indicator'
INFO: 2019-09-19 05:56:30,285: load_user() 'smart: Missing smart_user.json, creating new smart user'
INFO: 2019-09-19 05:56:30,407: new_user() 'smart: Creating new smart user'
WARNING: 2019-09-19 05:56:30,443: 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-09-19 05:56:30,473: set_from_theme_icon() 'Showing indicator icon variety-indicator from GTK theme'
INFO: 2019-09-19 05:56:30,473: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg'
ERROR: 2019-09-19 05:56:30,653: image_ok() 'Error in image_ok for file /home/alphatrance/SpotBright/Mu Cang Chai, Vietnam 1920x1080.jpg'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 1527, in image_ok
    i = PILImage.open(img)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2590, in open
    % (filename if filename else fp))
IOError: cannot identify image file u'/home/alphatrance/SpotBright/Mu Cang Chai, Vietnam 1920x1080.jpg'
INFO: 2019-09-19 05:56:30,762: prepare_thread() 'After search prepared buffer contains 99 images'
INFO: 2019-09-19 05:56:30,785: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:56:30,824: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:56:30,824: build_imagemagick_clock_cmd() 'Applying clock filter: -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:56' -fill white -annotate 0x0+60+110 '05:56' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19''
INFO: 2019-09-19 05:56:30,824: build_imagemagick_clock_cmd() 'ImageMagick clock cmd: convert /home/alphatrance/.config/variety/wallpaper/wallpaper-quote-4bf47c1efb7a305ddf564b9efc0079b5.jpg -scale 1920x1080^ -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:56' -fill white -annotate 0x0+60+110 '05:56' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19' /home/alphatrance/.config/variety/wallpaper/wallpaper-clock-6502f35dc33a37e146d37f53ad786307.jpg'
INFO: 2019-09-19 05:56:30,970: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg'
INFO: 2019-09-19 05:56:31,255: clock_thread_method() 'clock_thread updates wallpaper'
INFO: 2019-09-19 05:56:31,280: do_set_wp() 'Calling do_set_wp with /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg, time: 1568852791.28'
INFO: 2019-09-19 05:56:31,314: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:56:31,353: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:56:31,354: build_imagemagick_clock_cmd() 'Applying clock filter: -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:56' -fill white -annotate 0x0+60+110 '05:56' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19''
INFO: 2019-09-19 05:56:31,354: build_imagemagick_clock_cmd() 'ImageMagick clock cmd: convert /home/alphatrance/.config/variety/wallpaper/wallpaper-quote-d5167a5ead8416551ac18b9d31dcce67.jpg -scale 1920x1080^ -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:56' -fill white -annotate 0x0+60+110 '05:56' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19' /home/alphatrance/.config/variety/wallpaper/wallpaper-clock-0877d19371df041d8b7953c07a9842c2.jpg'
INFO: 2019-09-19 05:56:31,562: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg'
INFO: 2019-09-19 05:56:31,836: reload() 'Reloading preferences dialog'
INFO: 2019-09-19 05:56:32,278: prepare_thread() 'Quotes prepared buffer contains 0 quotes, fetching a quote'
INFO: 2019-09-19 05:56:32,279: get_for_keyword() 'Fetching quotes from Goodreads for keyword=inspirational'
INFO: 2019-09-19 05:56:35,281: set_wallpaper() 'Calling set_wallpaper with /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg'
INFO: 2019-09-19 05:56:35,281: prepare_thread() 'Prepared buffer contains 98 images'
INFO: 2019-09-19 05:56:35,283: do_set_wp() 'Calling do_set_wp with /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg, time: 1568852795.28'
INFO: 2019-09-19 05:56:35,287: build_imagemagick_filter_cmd() 'Applying filter: -blur 20x7'
INFO: 2019-09-19 05:56:35,288: build_imagemagick_filter_cmd() 'ImageMagick filter cmd: convert '/home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg' -scale 1920x1080^ -blur 20x7 /home/alphatrance/.config/variety/wallpaper/wallpaper-filter-5b422436829d0239e3a5c9b948b45912.jpg'
INFO: 2019-09-19 05:56:37,686: get_from_soup() 'Used Goodreads url https://www.goodreads.com/quotes/tag?utf8=%E2%9C%93&id=inspirational&page=40'
INFO: 2019-09-19 05:56:39,718: prepare_thread() 'Quotes prepared buffer contains 1 quotes, fetching a quote'
INFO: 2019-09-19 05:56:39,718: get_for_search_url() 'Fetching quotes from Goodreads for search url=http://www.quotationspage.com/random.php3'
INFO: 2019-09-19 05:56:40,427: load_user() 'smart: Missing smart_user.json, creating new smart user'
INFO: 2019-09-19 05:56:40,428: new_user() 'smart: Creating new smart user'
ERROR: 2019-09-19 05:56:40,425: _run() 'sync: Could not load or create smart user'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 516, in _run
    self.load_user(create_if_missing=True)
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 128, in load_user
    self.new_user()
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 136, in new_user
    self.user = Util.fetch_json(Smart.API_URL + '/newuser')
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 529, in fetch_json
    return Util.request(url, data).json()
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 506, in request
    verify=False)
  File "/usr/lib/python2.7/dist-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 520, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 630, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='vrty.org', port=443): Max retries exceeded with url: /api/newuser (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f28a0c2b390>: Failed to establish a new connection: [Errno -2] Name or service not known',))
INFO: 2019-09-19 05:56:40,547: get_for_search_url() 'Used QuotationsPage url http://www.quotationspage.com/random.php3'
WARNING: 2019-09-19 05:56:40,556: get_from_html() 'QuotationsPage: no quotes found at http://www.quotationspage.com/random.php3'
WARNING: 2019-09-19 05:56:40,557: get_one_quote() 'No quotes for '' for plugin TheQuotationsPage.com'
INFO: 2019-09-19 05:56:42,558: prepare_thread() 'Quotes prepared buffer contains 2 quotes, fetching a quote'
INFO: 2019-09-19 05:56:44,481: load_user() 'smart: Missing smart_user.json, creating new smart user'
INFO: 2019-09-19 05:56:44,482: new_user() 'smart: Creating new smart user'
INFO: 2019-09-19 05:56:44,485: load_user() 'smart: Missing smart_user.json, creating new smart user'
INFO: 2019-09-19 05:56:44,485: new_user() 'smart: Creating new smart user'
INFO: 2019-09-19 05:56:44,487: _run() 'sync: Started, hash 4638d6f576aa8cb0df09a2558d2d88e5'
INFO: 2019-09-19 05:56:44,487: load_user() 'smart: Missing smart_user.json, creating new smart user'
INFO: 2019-09-19 05:56:44,488: new_user() 'smart: Creating new smart user'
ERROR: 2019-09-19 05:56:44,491: _run() 'sync: Could not load or create smart user'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 516, in _run
    self.load_user(create_if_missing=True)
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 128, in load_user
    self.new_user()
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 136, in new_user
    self.user = Util.fetch_json(Smart.API_URL + '/newuser')
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 529, in fetch_json
    return Util.request(url, data).json()
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 506, in request
    verify=False)
  File "/usr/lib/python2.7/dist-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 520, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 630, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='vrty.org', port=443): Max retries exceeded with url: /api/newuser (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f288b3a0a10>: Failed to establish a new connection: [Errno -2] Name or service not known',))
INFO: 2019-09-19 05:56:44,520: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Tuscany, Italy 1920x1080.jpg'
INFO: 2019-09-19 05:56:44,561: prepare_thread() 'Quotes prepared buffer contains 3 quotes, fetching a quote'
INFO: 2019-09-19 05:56:44,596: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:56:44,629: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:56:44,630: build_imagemagick_clock_cmd() 'Applying clock filter: -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:56' -fill white -annotate 0x0+60+110 '05:56' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19''
INFO: 2019-09-19 05:56:44,630: build_imagemagick_clock_cmd() 'ImageMagick clock cmd: convert /home/alphatrance/.config/variety/wallpaper/wallpaper-quote-e0b4597cfaf1c95ab0e336a8a4261c9d.jpg -scale 1920x1080^ -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:56' -fill white -annotate 0x0+60+110 '05:56' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19' /home/alphatrance/.config/variety/wallpaper/wallpaper-clock-5fede3fda3c6f3935bb4ca7fdd0c6ce8.jpg'
INFO: 2019-09-19 05:56:44,778: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg'
INFO: 2019-09-19 05:56:46,563: prepare_thread() 'Quotes prepared buffer contains 4 quotes, fetching a quote'
INFO: 2019-09-19 05:56:46,563: get_for_search_url() 'Fetching quotes from Goodreads for search url=http://www.quotationspage.com/random.php3'
INFO: 2019-09-19 05:56:47,407: get_for_search_url() 'Used QuotationsPage url http://www.quotationspage.com/random.php3'
WARNING: 2019-09-19 05:56:47,416: get_from_html() 'QuotationsPage: no quotes found at http://www.quotationspage.com/random.php3'
WARNING: 2019-09-19 05:56:47,417: get_one_quote() 'No quotes for '' for plugin TheQuotationsPage.com'
INFO: 2019-09-19 05:56:49,418: prepare_thread() 'Quotes prepared buffer contains 5 quotes, fetching a quote'
INFO: 2019-09-19 05:56:50,273: stats_report_config() 'Stats: Reporting config anonymously'
ERROR: 2019-09-19 05:56:50,282: reporting_thread_method() 'Stats: Could not report config'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 999, in reporting_thread_method
    self.smart.stats_report_config()
  File "/usr/lib/python2.7/dist-packages/variety/Smart.py", line 851, in stats_report_config
    res = Util.fetch_json(Smart.API_URL + '/stats/%s/report-config' % statsid, data=data)
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 529, in fetch_json
    return Util.request(url, data).json()
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 506, in request
    verify=False)
  File "/usr/lib/python2.7/dist-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 520, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 630, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='vrty.org', port=443): Max retries exceeded with url: /api/stats/xsfqsfbmw6/report-config (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f288b3561d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
INFO: 2019-09-19 05:56:50,299: server_options_thread() 'Fetching server options from http://tiny.cc/variety-options-063'
INFO: 2019-09-19 05:56:51,421: prepare_thread() 'Quotes prepared buffer contains 6 quotes, fetching a quote'
INFO: 2019-09-19 05:56:52,543: server_options_thread() 'Fetched server options: {u'unsplash': {u'min_fill_queue_interval': 20000000000, u'min_download_interval': 20000000000}, u'unsplash_v2': {u'min_fill_queue_interval': 1800, u'min_download_interval': 600}, u'wallpapers.net': {u'min_fill_queue_interval': 600, u'min_download_interval': 0}, u'wallhaven': {u'min_fill_queue_interval': 1800, u'min_download_interval': 1800}, u'wallbase': {u'min_fill_queue_interval': 1800, u'min_download_interval': 1800}, u'flickr': {u'min_fill_queue_interval': 1200, u'min_download_interval': 1200}, u'status_message': {u'*': u'', u'0.0.1': u''}}'
INFO: 2019-09-19 05:56:53,422: prepare_thread() 'Quotes prepared buffer contains 7 quotes, fetching a quote'
INFO: 2019-09-19 05:56:55,425: prepare_thread() 'Quotes prepared buffer contains 8 quotes, fetching a quote'
INFO: 2019-09-19 05:56:57,426: prepare_thread() 'Quotes prepared buffer contains 9 quotes, fetching a quote'
INFO: 2019-09-19 05:57:00,285: clock_thread_method() 'clock_thread updates wallpaper'
INFO: 2019-09-19 05:57:00,286: do_set_wp() 'Calling do_set_wp with /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg, time: 1568852820.29'
INFO: 2019-09-19 05:57:00,354: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:57:00,386: compute_trimmed_offsets() 'Trimmed offsets debug info: w:1920, h:1080, ratio:1.777778, iw:1920, ih:1080, scw:1920, sch:1080, ho:0, vo:0'
INFO: 2019-09-19 05:57:00,387: build_imagemagick_clock_cmd() 'Applying clock filter: -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:57' -fill white -annotate 0x0+60+110 '05:57' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19''
INFO: 2019-09-19 05:57:00,387: build_imagemagick_clock_cmd() 'ImageMagick clock cmd: convert /home/alphatrance/.config/variety/wallpaper/wallpaper-quote-70ed1643d8779274ee1b1fac899e24ef.jpg -scale 1920x1080^ -density 100 -font `fc-match -f '%{file[0]}' 'Sawasdee:70'` -pointsize 70 -gravity SouthEast -fill '#00000044' -annotate 0x0+58+108 '05:57' -fill white -annotate 0x0+60+110 '05:57' -font `fc-match -f '%{file[0]}' 'Sawasdee:30'` -pointsize 30 -fill '#00000044' -annotate 0x0+58+58 'Thursday, September 19' -fill white -annotate 0x0+60+60 'Thursday, September 19' /home/alphatrance/.config/variety/wallpaper/wallpaper-clock-a8908cbf375d214d26ee809aa9eacfa8.jpg'
INFO: 2019-09-19 05:57:00,530: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg'
INFO: 2019-09-19 05:57:08,515: check_quit() 'Terminating signal received, quitting...'
INFO: 2019-09-19 05:57:08,517: on_quit() 'Quitting'
INFO: 2019-09-19 05:57:08,574: do_set_wp() 'Calling do_set_wp with /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg, time: 1568852828.57'
INFO: 2019-09-19 05:57:08,600: update_indicator() 'Setting file info to: /home/alphatrance/SpotBright/Brooklyn, New York 1920x1080.jpg'

Desktop environment and version GNOME Shell 3.28.4

OS name and version

image

jlu5 commented 5 years ago

This was fixed in Variety 0.7.0 (https://github.com/varietywalls/variety/commit/1a05bd53d30808d6fef2d936304b57aba22ba9f2). You can find newer version for Ubuntu in our PPA: https://launchpad.net/~variety/+archive/ubuntu/stable