Using 'Variety -n' in terminal causes a lock up

Bug #1554801 reported by Jeff Risano
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Variety
Fix Released
Undecided
Unassigned
Arch Linux
New
Undecided
Unassigned

Bug Description

Okay so I used the command variety -n and it changes the background perfectly. The the terminal keeps on rolling trying to do something but is struggling. If I open a new terminal I can keep asking for a new background but the 1st terminal is still struggling

"HttpError : HTTP Error 460: Restricted" the 460 seems to be an number from 400-600. Since I have no idea what the shit I am doing let me just post a poop ton of terminal text!

~$ variety -n
/usr/lib/python2.7/dist-packages/variety/__init__.py:105: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py:25: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, Gio, Notify # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/variety/AddPanoramioDialog.py:19: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, WebKit, GObject # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/variety/QuoteWriter.py:19: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gdk, Pango, PangoCairo, GdkPixbuf, GObject
/usr/lib/python2.7/dist-packages/variety/indicator.py:28: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 # pylint: disable=E0611
INFO: 2016-03-08 16:47:50,518: perform_upgrade() 'Last run version was 0.6.0 or earlier, current version is 0.6.0'
INFO: 2016-03-08 16:47:50,518: process_command() 'Received command: [u'-n']'
INFO: 2016-03-08 16:47:50,520: load_banned() 'Missing or invalid banned URLs list, no URLs will be banned'
INFO: 2016-03-08 16:47:50,527: load() 'Jumble loading'
INFO: 2016-03-08 16:47:50,527: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/__init__.py'
INFO: 2016-03-08 16:47:50,527: _walk_modules() 'Jumble loading module in LocalFilesSource from /usr/share/variety/plugins/quotes/LocalFilesSource.py'
INFO: 2016-03-08 16:47:50,527: 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: 2016-03-08 16:47:50,528: _walk_modules() 'Jumble loading module in QuotationsPageSource from /usr/share/variety/plugins/quotes/QuotationsPageSource.py'
INFO: 2016-03-08 16:47:50,531: 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: 2016-03-08 16:47:50,532: _walk_modules() 'Jumble loading module in QuotesDaddySource from /usr/share/variety/plugins/quotes/QuotesDaddySource.py'
INFO: 2016-03-08 16:47:50,532: 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: 2016-03-08 16:47:50,532: _walk_modules() 'Jumble loading module in GoodreadsSource from /usr/share/variety/plugins/quotes/GoodreadsSource.py'
INFO: 2016-03-08 16:47:50,532: load() 'Jumble found plugin class: <class 'GoodreadsSource.GoodreadsSource'>: {'author': 'Peter Levi', 'name': 'Goodreads', 'version': '0.1', 'description': u'Fetches quotes from Goodreads.com'}'
INFO: 2016-03-08 16:47:50,532: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/quotes/__init__.py'
INFO: 2016-03-08 16:47:50,533: load_user() 'smart: Loaded smart user: oju1afhcjs'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 19, location Recommended by Variety. Adapts to your taste as you mark images as favorite or trash.'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 6, location Random wallpapers from Desktoppr.co'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 15, location Bing Photo of the Day'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 16, location High-resolution photos from Unsplash.com'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 8, location NASA's Astronomy Picture of the Day'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 14, location https://www.reddit.com/r/MinimalWallpaper/top/?sort=top&t=year'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 10, location https://vrty.org/user/~peterlevi/rss'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 7, location user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 7, location text:colorful;user:www.flickr.com/photos/pinksherbet/;user_id:40645538@N00;'
INFO: 2016-03-08 16:47:50,535: reload_config() 'Creating new downloader for type 7, location user:www.flickr.com/photos/isayx3/;user_id:52821721@N00;'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 5, location http://www.wallpapers.net/nature-hd-wallpapers78'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location autumn'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location nature'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location macro'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location leaves'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location cityscape'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location tilt shift'
INFO: 2016-03-08 16:47:50,536: reload_config() 'Creating new downloader for type 13, location bokeh'
INFO: 2016-03-08 16:47:50,536: log_options() 'Loaded options:'
INFO: 2016-03-08 16:47:50,537: log_options() 'change_enabled = True'
INFO: 2016-03-08 16:47:50,537: log_options() 'change_interval = 3600'
INFO: 2016-03-08 16:47:50,537: log_options() 'change_on_start = False'
INFO: 2016-03-08 16:47:50,537: log_options() 'clipboard_enabled = False'
INFO: 2016-03-08 16:47:50,537: log_options() 'clipboard_hosts = [u'wallbase.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: 2016-03-08 16:47:50,537: log_options() 'clipboard_use_whitelist = True'
INFO: 2016-03-08 16:47:50,537: log_options() 'clock_date_font = Ubuntu Condensed, 30'
INFO: 2016-03-08 16:47:50,537: log_options() 'clock_enabled = False'
INFO: 2016-03-08 16:47:50,537: 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: 2016-03-08 16:47:50,537: log_options() 'clock_font = Ubuntu Condensed, 70'
INFO: 2016-03-08 16:47:50,537: log_options() 'configfile = /home/jeff/.config/variety/variety.conf'
INFO: 2016-03-08 16:47:50,537: log_options() 'copyto_enabled = False'
INFO: 2016-03-08 16:47:50,537: log_options() 'copyto_folder = Default'
INFO: 2016-03-08 16:47:50,537: log_options() 'desired_color = [160, 160, 160]'
INFO: 2016-03-08 16:47:50,537: log_options() 'desired_color_enabled = False'
INFO: 2016-03-08 16:47:50,537: log_options() 'download_enabled = True'
INFO: 2016-03-08 16:47:50,537: log_options() 'download_folder = /home/jeff/.config/variety/Downloaded'
INFO: 2016-03-08 16:47:50,537: log_options() 'download_interval = 600'
INFO: 2016-03-08 16:47:50,537: log_options() 'facebook_message = '
INFO: 2016-03-08 16:47:50,537: log_options() 'facebook_show_dialog = True'
INFO: 2016-03-08 16:47:50,538: log_options() 'favorites_folder = /home/jeff/.config/variety/Favorites'
INFO: 2016-03-08 16:47:50,538: log_options() 'favorites_operations = [[u'Downloaded', u'Copy'], [u'Fetched', u'Move'], [u'Others', u'Copy']]'
INFO: 2016-03-08 16:47:50,538: log_options() 'fetched_folder = /home/jeff/.config/variety/Fetched'
INFO: 2016-03-08 16:47:50,538: log_options() 'filters = [[False, u'Keep original', u''], [False, u'Grayscale', u'-type Grayscale'], [False, u'Heavy blur', u'-blur 120x40'], [False, 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: 2016-03-08 16:47:50,538: log_options() 'icon = Light'
INFO: 2016-03-08 16:47:50,538: log_options() 'lightness_enabled = False'
INFO: 2016-03-08 16:47:50,538: log_options() 'lightness_mode = 0'
INFO: 2016-03-08 16:47:50,538: log_options() 'min_rating = 4'
INFO: 2016-03-08 16:47:50,538: log_options() 'min_rating_enabled = False'
INFO: 2016-03-08 16:47:50,538: log_options() 'min_size = 80'
INFO: 2016-03-08 16:47:50,538: log_options() 'min_size_enabled = False'
INFO: 2016-03-08 16:47:50,538: log_options() 'quota_enabled = True'
INFO: 2016-03-08 16:47:50,538: log_options() 'quota_size = 500'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_authors = '
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_bg_color = [80, 80, 80]'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_bg_opacity = 55'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_change_enabled = False'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_change_interval = 300'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_disabled_sources = [u'QuotesDaddy']'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_enabled = False'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_favorites_file = /home/jeff/.config/variety/favorite_quotes.txt'
INFO: 2016-03-08 16:47:50,538: log_options() 'quotes_font = Bitstream Charter 30'
INFO: 2016-03-08 16:47:50,539: log_options() 'quotes_hpos = 100'
INFO: 2016-03-08 16:47:50,539: log_options() 'quotes_tags = '
INFO: 2016-03-08 16:47:50,539: log_options() 'quotes_text_color = [255, 255, 255]'
INFO: 2016-03-08 16:47:50,539: log_options() 'quotes_text_shadow = False'
INFO: 2016-03-08 16:47:50,539: log_options() 'quotes_vpos = 40'
INFO: 2016-03-08 16:47:50,539: log_options() 'quotes_width = 70'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_custom_enabled = False'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_custom_folder = /home/jeff/Pictures'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_downloads_enabled = False'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_fade = 0.4'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_favorites_enabled = True'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_mode = Fullscreen'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_monitor = All'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_pan = 0.05'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_seconds = 6'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_sort_order = Random'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_sources_enabled = True'
INFO: 2016-03-08 16:47:50,539: log_options() 'slideshow_zoom = 0.2'
INFO: 2016-03-08 16:47:50,539: log_options() 'smart_enabled = True'
INFO: 2016-03-08 16:47:50,539: log_options() 'smart_notice_shown = True'
INFO: 2016-03-08 16:47:50,539: log_options() 'smart_register_shown = True'
INFO: 2016-03-08 16:47:50,539: log_options() 'sources = [[True, 3, u'The Favorites folder'], [True, 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'], [True, 6, u'Random wallpapers from Desktoppr.co'], [True, 15, u'Bing Photo of the Day'], [True, 16, u'High-resolution photos from Unsplash.com'], [True, 8, u"NASA's Astronomy Picture of the Day"], [False, 11, u'World Sunlight Map - live wallpaper from Die.net'], [True, 14, u'https://www.reddit.com/r/MinimalWallpaper/top/?sort=top&t=year'], [True, 10, u'https://vrty.org/user/~peterlevi/rss'], [True, 7, u'user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;'], [True, 7, u'text:colorful;user:www.flickr.com/photos/pinksherbet/;user_id:40645538@N00;'], [True, 7, u'user:www.flickr.com/photos/isayx3/;user_id:52821721@N00;'], [True, 5, u'http://www.wallpapers.net/nature-hd-wallpapers78'], [True, 13, u'autumn'], [True, 13, u'nature'], [True, 13, u'macro'], [True, 13, u'leaves'], [True, 13, u'cityscape'], [True, 13, u'tilt shift'], [True, 13, u'bokeh']]'
INFO: 2016-03-08 16:47:50,540: log_options() 'stats_enabled = True'
INFO: 2016-03-08 16:47:50,540: log_options() 'stats_notice_shown = True'
INFO: 2016-03-08 16:47:50,540: log_options() 'sync_enabled = True'
INFO: 2016-03-08 16:47:50,540: log_options() 'use_landscape_enabled = True'
INFO: 2016-03-08 16:47:50,540: reload_config() 'No need to clear prepared queue'
INFO: 2016-03-08 16:47:50,540: load_last_change_time() 'Change interval < 6 hours, ignore persisted last_change_time, wait initially the whole interval: 3600'
INFO: 2016-03-08 16:47:50,540: update_indicator() 'Setting file info to: /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_peter_levi__user_id_93647178_N00_/7527881664_024e44f8bf_o.jpg'
INFO: 2016-03-08 16:47:50,545: regular_change_thread() 'regular_change thread running'
INFO: 2016-03-08 16:47:50,545: prepare_thread() 'Prepare thread running'
INFO: 2016-03-08 16:47:50,545: prepare_thread() 'Prepared buffer contains 0 images'
INFO: 2016-03-08 16:47:50,545: prepare_thread() 'Preparing some images'
INFO: 2016-03-08 16:47:50,546: _run() 'sync: Started, hash 61a674b55a6ffbfeb7100c7dd7243639'
INFO: 2016-03-08 16:47:50,546: _run() 'sync: Syncing image sources'
INFO: 2016-03-08 16:47:50,548: update_indicator_icon() 'Creating indicator'
/usr/lib/python2.7/dist-packages/varietyslideshow/varietyslideshow.py:19: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GtkClutter
INFO: 2016-03-08 16:47:50,640: do_set_wp() 'Calling do_set_wp with /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_peter_levi__user_id_93647178_N00_/7527881664_024e44f8bf_o.jpg, time: 1457480870.64'
INFO: 2016-03-08 16:47:50,800: update_indicator() 'Setting file info to: /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_peter_levi__user_id_93647178_N00_/7527881664_024e44f8bf_o.jpg'
INFO: 2016-03-08 16:47:50,813: set_from_theme_icon() 'Showing indicator icon variety-indicator from GTK theme'
INFO: 2016-03-08 16:47:50,814: update_indicator() 'Setting file info to: /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_peter_levi__user_id_93647178_N00_/7527881664_024e44f8bf_o.jpg'
INFO: 2016-03-08 16:47:50,934: prepare_thread() 'After search prepared buffer contains 97 images'

(variety:32675): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
INFO: 2016-03-08 16:47:51,754: reload() 'Reloading preferences dialog'
INFO: 2016-03-08 16:47:51,771: load_user() 'smart: Loaded smart user: oju1afhcjs'
INFO: 2016-03-08 16:47:51,771: _run() 'sync: Started, hash d1bdab21cf8d234c7372683b2167716a'
INFO: 2016-03-08 16:47:51,771: _run() 'sync: Syncing image sources'
INFO: 2016-03-08 16:47:53,521: set_wallpaper() 'Calling set_wallpaper with /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_isayx3__user_id_52821721_N00_/8120640672_d2dc6689a2_h.jpg'
INFO: 2016-03-08 16:47:53,521: prepare_thread() 'Prepared buffer contains 96 images'
INFO: 2016-03-08 16:47:53,522: do_set_wp() 'Calling do_set_wp with /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_isayx3__user_id_52821721_N00_/8120640672_d2dc6689a2_h.jpg, time: 1457480873.52'
INFO: 2016-03-08 16:47:53,529: update_indicator() 'Setting file info to: /home/jeff/.config/variety/Downloaded/flickr_user_www_flickr_com_photos_isayx3__user_id_52821721_N00_/8120640672_d2dc6689a2_h.jpg'
INFO: 2016-03-08 16:47:53,571: _run() 'sync: Fetching serverside data'
INFO: 2016-03-08 16:47:54,879: _run() 'sync: Fetching serverside data'
INFO: 2016-03-08 16:47:55,311: _run() 'sync: Uploading local favorites to server'
INFO: 2016-03-08 16:47:55,311: _run() 'sync: Uploading local banned URLs to server'
INFO: 2016-03-08 16:47:56,483: _run() 'sync: Uploading local favorites to server'
INFO: 2016-03-08 16:47:56,483: _run() 'sync: Uploading local banned URLs to server'
INFO: 2016-03-08 16:48:10,550: server_options_thread() 'Fetching server options from http://tiny.cc/variety-options-051'
ERROR: 2016-03-08 16:48:14,555: server_options_thread() 'Could not fetch Variety serverside options'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 931, in server_options_thread
    self.server_options = Util.fetch_json(VarietyWindow.SERVERSIDE_OPTIONS_URL)
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 436, in fetch_json
    return json.loads(Util.fetch(url, data))
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 432, in fetch
    return Util.urlopen(url, data).read()
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 428, in urlopen
    return urllib2.urlopen(request, data=urllib.urlencode(data) if data else None, timeout=20)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 460: Restricted
INFO: 2016-03-08 16:48:44,575: server_options_thread() 'Fetching server options from http://tiny.cc/variety-options-051'
ERROR: 2016-03-08 16:48:49,993: server_options_thread() 'Could not fetch Variety serverside options'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 931, in server_options_thread
    self.server_options = Util.fetch_json(VarietyWindow.SERVERSIDE_OPTIONS_URL)
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 436, in fetch_json
    return json.loads(Util.fetch(url, data))
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 432, in fetch
    return Util.urlopen(url, data).read()
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 428, in urlopen
    return urllib2.urlopen(request, data=urllib.urlencode(data) if data else None, timeout=20)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 460: Restricted
INFO: 2016-03-08 16:49:20,020: server_options_thread() 'Fetching server options from http://tiny.cc/variety-options-051'
ERROR: 2016-03-08 16:49:24,831: server_options_thread() 'Could not fetch Variety serverside options'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 931, in server_options_thread
    self.server_options = Util.fetch_json(VarietyWindow.SERVERSIDE_OPTIONS_URL)
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 436, in fetch_json
    return json.loads(Util.fetch(url, data))
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 432, in fetch
    return Util.urlopen(url, data).read()
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 428, in urlopen
    return urllib2.urlopen(request, data=urllib.urlencode(data) if data else None, timeout=20)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 460: Restricted
INFO:

Revision history for this message
Oluf "Finkregh" Lorenzen (admin-gamesuniverse) wrote :

different HTTP-error at dropbox, same result:

HTTPError: HTTP Error 429: Bandwidth Error

Revision history for this message
Peter Levi (peterlevi) wrote :

I confirm the issue with the download of the Dropbox-hosted file (which I just fixed by moving the file elsewhere - it happened out of the blue after having worked ok for probably 3 years..).

But Variety is made to work whether or not fetching this file succeeds, and it did work perfectly OK on my machine, even with the 460 and later on 429 error. It tries up to 5 times, about 30-40 seconds apart, during which you get the exception, and then Variety gives up, does not try to fetch it anymore, and uses sensible defaults instead.

Apart from the logged error (which is not severe in this case), did you see any reduced functionality?

Changed in variety:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.