Skip to content

Instantly share code, notes, and snippets.

@Johnetordoff
Last active February 23, 2023 20:14
Show Gist options
  • Save Johnetordoff/b51d7d3fcb5240a2a7a386b465bbd651 to your computer and use it in GitHub Desktop.
Save Johnetordoff/b51d7d3fcb5240a2a7a386b465bbd651 to your computer and use it in GitHub Desktop.
No tasks/local.py file found. Did you remember to copy local-dist.py to local.py?
File "/opt/hostedtoolcache/Python/3.11.1/x64/bin/invoke", line 8, in <module>
Testing modules "['tests']"
sys.exit(program.run())
^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/program.py", line 380, in run
self.execute()
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/program.py", line 565, in execute
executor.execute(*self.tasks)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/executor.py", line 127, in execute
result = call.task(*args, **call.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 490, in test_travis_website
test_website(ctx, numprocesses=numprocesses, coverage=coverage, testmon=testmon)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 405, in test_website
test_module(ctx, module=WEBSITE_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 319, in test_module
retcode = pytest.main(args)
^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 143, in main
config = _prepareconfig(args, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse
config: Config = outcome.get_result()
^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse
self.parse(args)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1283, in parse
self._preparse(args, addopts=addopts)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1191, in _preparse
self.hook.pytest_load_initial_conftests(
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 60, in _multicall
return outcome.get_result()
^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pytest_django/plugin.py", line 325, in pytest_load_initial_conftests
_setup_django()
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pytest_django/plugin.py", line 227, in _setup_django
django.setup()
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/django/apps/config.py", line 124, in create
mod = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/runner/work/osf.io/osf.io/osf/apps.py", line 6, in <module>
from osf.migrations import (
File "/home/runner/work/osf.io/osf.io/osf/migrations/__init__.py", line 12, in <module>
from osf.utils.migrations import ensure_schemas, map_schemas_to_schemablocks
File "/home/runner/work/osf.io/osf.io/osf/utils/migrations.py", line 18, in <module>
from website.project.metadata.schemas import get_osf_meta_schemas
File "/home/runner/work/osf.io/osf.io/website/project/__init__.py", line 7, in <module>
from framework.auth.core import Auth
File "/home/runner/work/osf.io/osf.io/framework/auth/__init__.py", line 12, in <module>
from framework.auth.utils import LogLevel, print_cas_log
File "/home/runner/work/osf.io/osf.io/framework/auth/utils.py", line 6, in <module>
from nameparser.parser import HumanName
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/nameparser/__init__.py", line 9, in <module>
from nameparser.parser import HumanName
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/nameparser/parser.py", line 12, in <module>
from nameparser.config import CONSTANTS
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/nameparser/config/__init__.py", line 46, in <module>
class SetManager(collections.Set):
^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Set'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment