Closed sgoggins closed 1 week ago
Full log :
Skipping file...
2024-10-15 23:15:35,423 [PID: 1342873] process_libyear_dependency_metrics [get_deps_libyear_data() in util.py:L125] [ERROR]: Could not get current version of dependency for path /mnt/repos/repos/hostedaugur/hosted/273566-github.com-microsoft-sarathi-serve/sarathi-serve.
Dependency: {'name': 'flashinfer', 'requirement': None, 'type': 'runtime', 'package': 'PYPI'}
2024-10-15 23:15:37,401 [PID: 1342873] process_libyear_dependency_metrics [get_release_date() in pypi_libyear_util.py:L80] [ERROR]: Used release of misc==0.0.0 has no upload time.
2024-10-15 23:16:01,573 [PID: 1342922] process_libyear_dependency_metrics [get_parsed_deps() in util.py:L79] [ERROR]: package.json for repo at path /mnt/repos/repos/hostedaugur/hosted/273831-github.com-microsoft-windows-containers-tutorials/windows-containers-tutorials is missing required key: 'dependencies'
Skipping file...
2024-10-15 23:16:05,225 [PID: 1342873] process_libyear_dependency_metrics [get_parsed_deps() in util.py:L79] [ERROR]: package.json for repo at path /mnt/repos/repos/hostedaugur/hosted/273330-github.com-microsoft-vscode-essentials/vscode-essentials is missing required key: 'dependencies'
Skipping file...
2024-10-15 23:16:05,269 [PID: 1342925] process_libyear_dependency_metrics [get_release_date() in pypi_libyear_util.py:L83] [ERROR]: Could not find an entry for version 0.24.0.1
2024-10-15 23:17:03,499 [PID: 1342919] process_libyear_dependency_metrics [get_deps_libyear_data() in util.py:L125] [ERROR]: Could not get current version of dependency for path /mnt/repos/repos/hostedaugur/hosted/267089-github.com-getsentry-snuba/snuba.
Dependency: {'name': 'index-url', 'requirement': None, 'type': 'runtime', 'package': 'PYPI'}
2024-10-15 23:17:03,606 [PID: 1342922] process_libyear_dependency_metrics [get_deps_libyear_data() in util.py:L146] [ERROR]: Could not get latest version of dependency for path /mnt/repos/repos/hostedaugur/hosted/265385-github.com-sourcegraph-srclib-javascript/srclib-javascript.
Dependency: {'name': 'find-files-excluding-dirs', 'requirement': 'alexsaveliev/find-files-excluding-dirs', 'type': 'runtime', 'package': 'NPM'}
2024-10-15 23:26:46,498 [PID: 1342906] process_libyear_dependency_metrics [get_parsed_deps() in util.py:L79] [ERROR]: package.json for repo at path /mnt/repos/repos/hostedaugur/hosted/273826-github.com-microsoft-webnn-developer-preview/webnn-developer-preview is missing required key: 'dependencies'
Skipping file...
10/23:
@IsaacMilarky : I'm still getting a couple of errors:
Traceback (most recent call last): File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 734, in __protected_call__ return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/tasks.py", line 12, in process_libyear_dependency_metrics deps_libyear_model(logger, repo_git) File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/core.py", line 21, in deps_libyear_model generate_deps_libyear_data(logger, repo.repo_id, absolute_repo_path) File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/core.py", line 33, in generate_deps_libyear_data deps = get_deps_libyear_data(path,logger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/util.py", line 144, in get_deps_libyear_data current_version = get_npm_current_version(data, dependency['requirement']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/npm_libyear_utils.py", line 78, in get_npm_current_version if requirement[0] == '~': ~~~~~~~~~~~^^^ IndexError: string index out of range
--
@IsaacMilarky : another
Traceback (most recent call last):
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 468, in trace_task
I, R, state, retval = on_error(task_request, exc, uuid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 379, in on_error
R = I.handle_error_state(
^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 178, in handle_error_state
return {
^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 225, in handle_failure
task.backend.mark_as_failure(
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 177, in mark_as_failure
self.on_chord_part_return(request, state, exc)
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/redis.py", line 539, in on_chord_part_return
return self.chord_error_from_stack(callback, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 309, in chord_error_from_stack
return backend.fail_from_current_stack(callback.id, exc=exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 316, in fail_from_current_stack
self.mark_as_failure(task_id, exc, exception_info.traceback)
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 172, in mark_as_failure
self.store_result(task_id, exc, state,
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 528, in store_result
self._store_result(task_id, result, state, traceback,
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 956, in _store_result
current_meta = self._get_task_meta_for(task_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 978, in _get_task_meta_for
meta = self.get(self.get_key_for_task(task_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/backends/base.py", line 856, in get_key_for_task
return key_t('').join([
^^^^^^^^^^^^^^^^
TypeError: sequence item 1: expected a bytes-like object, NoneType found
Traceback (most recent call last):
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 734, in __protected_call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/tasks.py", line 12, in process_libyear_dependency_metrics
deps_libyear_model(logger, repo_git)
File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/core.py", line 21, in deps_libyear_model
generate_deps_libyear_data(logger, repo.repo_id, absolute_repo_path)
File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/core.py", line 33, in generate_deps_libyear_data
deps = get_deps_libyear_data(path,logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/util.py", line 111, in get_deps_libyear_data
dependencies = get_parsed_deps(path,logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/util.py", line 54, in get_parsed_deps
dependency_list.extend(parse_pipfile(file_handle))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/pypi_parser.py", line 80, in parse_pipfile
return map_dependencies_pipfile(manifest['packages'],'runtime') + map_dependencies_pipfile(manifest['dev-packages'], 'develop')
~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'dev-packages'
Traceback (most recent call last): File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/virtualenv/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 734, in __protected_call__ return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/tasks.py", line 12, in process_libyear_dependency_metrics deps_libyear_model(logger, repo_git) File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/core.py", line 21, in deps_libyear_model generate_deps_libyear_data(logger, repo.repo_id, absolute_repo_path) File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/core.py", line 33, in generate_deps_libyear_data deps = get_deps_libyear_data(path,logger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/util.py", line 111, in get_deps_libyear_data dependencies = get_parsed_deps(path,logger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/util.py", line 69, in get_parsed_deps dependency_list.extend(parse_conda(file_handle)) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/libyear_util/pypi_parser.py", line 164, in parse_conda dependencies = contents.get('dependencies', []) ^^^^^^^^^^^^ AttributeError: 'list' object has no attribute 'get'
--
Libyear Worker
NPM
Python Errors
First One
Second One
Third Error: Dynamic Inline Dict?
Fourth One: JSON ISSUE?