I get these errors trying to run both the postgres and sqlite test.
Any idea?
# nosetests --ckan --with-pylons=test.ini -v --with-id ckanext/issues --with-coverage --cover-package=ckanext.issues --nologcapture
Traceback (most recent call last):
File "/usr/lib/ckan/default/bin/nosetests", line 11, in <module>
sys.exit(run_exit())
File "/usr/lib/ckan/default/lib/python2.7/site-packages/nose/core.py", line 121, in __init__
**extra_args)
File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/nose/core.py", line 145, in parseArgs
self.config.configure(argv, doc=self.usage())
File "/usr/lib/ckan/default/lib/python2.7/site-packages/nose/config.py", line 347, in configure
self.plugins.begin()
File "/usr/lib/ckan/default/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
return self.call(*arg, **kw)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
result = meth(*arg, **kw)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/test.py", line 74, in begin
relative_to=path)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
return context.create()
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
return self.object_type.invoke(self)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 58, in fix_call
reraise(*exc_info)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/compat.py", line 23, in reraise
exec('raise t, e, tb', dict(t=t, e=e, tb=tb))
File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
val = callable(*args, **kw)
File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware/__init__.py", line 46, in make_app
load_environment(conf, app_conf)
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 99, in load_environment
p.load_all()
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 129, in load_all
unload_all()
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 182, in unload_all
unload(*reversed(_PLUGINS))
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 210, in unload
plugins_update()
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 121, in plugins_update
environment.update_config()
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 267, in update_config
engine = sqlalchemy.engine_from_config(config, client_encoding='utf8')
File "/usr/lib/ckan/default/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 366, in engine_from_config
return create_engine(url, **options)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 344, in create_engine
return strategy.create(*args, **kwargs)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 144, in create
engineclass.__name__))
TypeError: Invalid argument(s) 'client_encoding' sent to create_engine(), using configuration SQLiteDialect_pysqlite/NullPool/Engine. Please check that the keyword arguments are appropriate for this combination of components.; got ({'__file...an'}, apikey_header_name=..., auth.blacklist=..., beaker.session.key=..., beaker.session.secret=..., cache_dir=..., carrot_messaging_library=..., ckan.activity_list_limit=..., ckan.activity_streams_email_notifications=..., ckan.auth.anon_create_dataset=..., ckan.auth.create_dataset_if_not_in_organization=..., ckan.auth.create_unowned_dataset=..., ckan.auth.create_user_via_api=..., ckan.auth.create_user_via_web=..., ckan.auth.roles_that_cascade_to_sub_groups=..., ckan.auth.user_create_groups=..., ckan.auth.user_create_organizations=..., ckan.auth.user_delete_groups=..., ckan.auth.user_delete_organizations=..., ckan.cache_enabled=..., ckan.cache_validation_enabled=..., ckan.datapusher.formats=..., ckan.datapusher.url=..., ckan.datasets_per_page=..., ckan.datastore.read_url=..., ckan.datastore.write_url=..., ckan.extra_resource_fields=..., ckan.legacy_templates=..., ckan.locale_default=..., ckan.locale_order=..., ckan.locales_filtered_out=..., ckan.plugins=..., ckan.redis.url=..., ckan.simple_search=..., ckan.site_description=..., ckan.site_id=..., ckan.site_logo=..., ckan.site_title=..., ckan.site_url=..., ckan.storage_path=..., ckan.template_footer_end=..., ckan.template_head_end=..., ckan.tests.functional.test_cache.TestCacheBasics.test_get_cache_expires.expires=..., ckan.tests.functional.test_cache.expires=..., ckan.tracking_enabled=..., ckanext.issues.send_email_notifications=..., ckanext.stats.cache_enabled=..., debug=..., full_stack=..., licenses_group_url=..., package_edit_return_url=..., package_form=..., package_new_return_url=..., search_backend=..., smtp.mail_from=..., smtp.test_server=..., solr_url=..., sqlalchemy.url=..., testing=..., who.config_file=..., who.log_file=..., who.log_level=...), wanted (conf, full_stack=True, static_files=True, **app_conf)
I get these errors trying to run both the postgres and sqlite test. Any idea?