Skip to content

Instantly share code, notes, and snippets.

@Toilal
Created November 4, 2013 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Toilal/7303463 to your computer and use it in GitHub Desktop.
Save Toilal/7303463 to your computer and use it in GitHub Desktop.
Traceback of Test memory input caching
======================================================================
ERROR: Test memory input caching
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\devel\workspace\Flexget\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "D:\devel\workspace\Flexget\tests\__init__.py", line 192, in wrapper
return func(*args, **kwargs)
File "D:\devel\workspace\Flexget\tests\test_cached_input.py", line 42, in test_memory_cache
task.execute()
File "D:\devel\workspace\Flexget\flexget\task.py", line 45, in wrapper
return func(self, *args, **kw)
File "D:\devel\workspace\Flexget\flexget\task.py", line 441, in execute
errors = self.validate()
File "D:\devel\workspace\Flexget\flexget\task.py", line 529, in validate
errors = self.validate_config(self.config)
File "D:\devel\workspace\Flexget\flexget\task.py", line 545, in validate_config
return config_schema.process_config(config, schema)
File "D:\devel\workspace\Flexget\flexget\config_schema.py", line 65, in process_config
errors = list(validator.iter_errors(config))
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 95, in iter_errors
for error in errors:
File "D:\devel\workspace\Flexget\flexget\config_schema.py", line 221, in validate_properties_w_defaults
for error in jsonschema.Draft4Validator.VALIDATORS["properties"](validator, properties, instance, schema):
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\_validators.py", line 285, in properties_draft4
schema_path=property,
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 108, in descend
for error in self.iter_errors(instance, schema):
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 95, in iter_errors
for error in errors:
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\_validators.py", line 199, in ref
for error in validator.descend(instance, resolved):
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 108, in descend
for error in self.iter_errors(instance, schema):
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 95, in iter_errors
for error in errors:
File "D:\devel\workspace\Flexget\flexget\config_schema.py", line 227, in validate_anyOf
for e in select_child_errors(validator, errors):
File "D:\devel\workspace\Flexget\flexget\config_schema.py", line 178, in select_child_errors
for error in errors:
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\_validators.py", line 345, in anyOf_draft4
errs = list(validator.descend(instance, subschema, schema_path=index))
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 108, in descend
for error in self.iter_errors(instance, schema):
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\validators.py", line 95, in iter_errors
for error in errors:
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\_validators.py", line 155, in format
validator.format_checker.check(instance, format)
File "D:\devel\workspace\Flexget\lib\site-packages\jsonschema-2.3.0-py2.7.egg\jsonschema\_format.py", line 74, in check
result = func(instance)
File "D:\devel\workspace\Flexget\flexget\config_schema.py", line 117, in is_url
return re.match(regexp, instance)
File "D:\devel\workspace\Flexget\lib\re.py", line 137, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
-------------------- >> begin captured logging << --------------------
tests: DEBUG: database_uri: sqlite:///:memory:
manager: DEBUG: Connecting to: sqlite:///:memory:
manager: VERBOSE: Deleting everything from database ...
schema: DEBUG: Initializing plugin feed schema version to 0
schema: DEBUG: Initializing plugin make_rss schema version to 0
schema: DEBUG: Initializing plugin series schema version to 11
schema: DEBUG: Initializing plugin discover schema version to 0
schema: DEBUG: Initializing plugin seen schema version to 4
schema: DEBUG: Initializing plugin pogcal_acquired schema version to 0
schema: DEBUG: Initializing plugin archive schema version to 0
schema: DEBUG: Initializing plugin remember_rejected schema version to 3
schema: DEBUG: Initializing plugin input_cache schema version to 0
schema: DEBUG: Initializing plugin simple_persistence schema version to 2
schema: DEBUG: Initializing plugin myepisodes schema version to 0
schema: DEBUG: Initializing plugin delay schema version to 1
schema: DEBUG: Initializing plugin failed schema version to 2
schema: DEBUG: Initializing plugin api_tvdb schema version to 2
schema: DEBUG: Initializing plugin imdb_lookup schema version to 4
schema: DEBUG: Initializing plugin movie_queue schema version to 2
schema: DEBUG: Initializing plugin api_tmdb schema version to 0
schema: DEBUG: Initializing plugin log_once schema version to 0
schema: DEBUG: Initializing plugin tvrage schema version to 1
schema: DEBUG: Initializing plugin api_rottentomatoes schema version to 2
schema: DEBUG: Initializing plugin import_series schema version to 0
schema: DEBUG: Initializing plugin queue schema version to 2
schema: DEBUG: Initializing plugin thetvdb_favorites schema version to 0
schema: DEBUG: Initializing plugin backlog schema version to 1
task: DEBUG: resetting test_db
task: DEBUG: resetting test_memory
manager: DEBUG: sys.defaultencoding: Cp1252
manager: DEBUG: sys.getfilesystemencoding: mbcs
manager: DEBUG: os.path.supports_unicode_filenames: True
util.simple_persistence: DEBUG: adding key series_repaired value True
manager: VERBOSE: Not running database cleanup on manual run. It will be run on next --cron run.
tests: TRACE: Copying u'rss.xml' to u'cached.xml'
task: DEBUG: resetting test_db
task: DEBUG: resetting test_memory
manager: TRACE: calling process_start on a task test_db
preset: TRACE: presets: [u'global']
manager: TRACE: calling process_start on a task test_memory
preset: TRACE: presets: [u'global']
task: DEBUG: executing test_memory
task: DEBUG: resetting test_memory
tests: TRACE: Removing u'cached.xml'
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 2 tests in 244.533s
FAILED (errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment