Page MenuHomeSoftware Heritage
Paste P422

gnu error
ActivePublic

Authored by nahimilega on Jun 7 2019, 5:53 PM.
(swh) archit@work-pc:~/swh-environment/swh-lister$ python ttesting.py
DEBUG:swh.lister.core.lister_base:Loading config from lister_gnu
INFO:swh.core.config:Loading config file /home/archit/.config/swh/lister_gnu.yml
DEBUG:swh.lister.core.lister_base:<swh.lister.gnu.lister.GNULister object at 0x7fb7397e49e8> CONFIG={'content_size_limit': 104857600, 'log_db': 'dbname=softwareheritage-log', 'storage': {'cls': 'remote', 'args': {'url': 'http://localhost:5002/'}}, 'scheduler': {'cls': 'remote', 'args': {'url': 'http://localhost:5008/'}}, 'lister': {'cls': 'local', 'args': {'db': 'postgresql:///lister-gnu'}}, 'credentials': [], 'cache_responses': True, 'cache_dir': '/home/archit/.cache/swh/lister/gnu/'}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): ftp.gnu.org:443
DEBUG:urllib3.connectionpool:https://ftp.gnu.org:443 "GET /tree.json.gz HTTP/1.1" 200 568865
DEBUG:root:models: 381
Traceback (most recent call last):
File "ttesting.py", line 5, in <module>
gnu_lister()
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/celery-4.3.0rc2-py3.6.egg/celery/local.py", line 191, in __call__
return self._get_current_object()(*a, **kw)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/swh/scheduler/task.py", line 45, in __call__
return super().__call__(*args, **kwargs)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/celery-4.3.0rc2-py3.6.egg/celery/app/task.py", line 390, in __call__
return self.run(*args, **kwargs)
File "/home/archit/swh-environment/swh-lister/swh/lister/gnu/tasks.py", line 12, in gnu_lister
GNULister(**lister_args).run()
File "/home/archit/swh-environment/swh-lister/swh/lister/core/simple_lister.py", line 74, in run
response, injected_repos = self.ingest_data(dump_not_used_identifier)
File "/home/archit/swh-environment/swh-lister/swh/lister/core/simple_lister.py", line 54, in ingest_data
injected = self.inject_repo_data_into_db(models)
File "/home/archit/swh-environment/swh-lister/swh/lister/core/lister_base.py", line 456, in inject_repo_data_into_db
injected_repos[m['uid']] = self.db_inject_repo(m)
File "/home/archit/swh-environment/swh-lister/swh/lister/core/lister_base.py", line 382, in db_inject_repo
sql_repo = self.MODEL(**model_dict)
File "<string>", line 4, in __init__
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/SQLAlchemy-1.3.1-py3.6-linux-x86_64.egg/sqlalchemy/orm/state.py", line 441, in _initialize_instance
manager.dispatch.init_failure(self, args, kwargs)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/SQLAlchemy-1.3.1-py3.6-linux-x86_64.egg/sqlalchemy/util/langhelpers.py", line 68, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/SQLAlchemy-1.3.1-py3.6-linux-x86_64.egg/sqlalchemy/util/compat.py", line 129, in reraise
raise value
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/SQLAlchemy-1.3.1-py3.6-linux-x86_64.egg/sqlalchemy/orm/state.py", line 438, in _initialize_instance
return manager.original_init(*mixed[1:], **kwargs)
File "/home/archit/swh-environment/swh-lister/swh/lister/core/models.py", line 41, in __init__
super().__init__(**kw)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/SQLAlchemy-1.3.1-py3.6-linux-x86_64.egg/sqlalchemy/ext/declarative/base.py", line 834, in _declarative_constructor
"%r is an invalid keyword argument for %s" % (k, cls_.__name__)
TypeError: 'tarballs' is an invalid keyword argument for GNUModel