Created
February 23, 2023 20:02
-
-
Save Johnetordoff/d67f1f1fafc6f3f6e3dc2ac78cb1e4d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/bin/invoke", line 8, in <module> | |
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 482, in test_travis_addons | |
test_addons(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 441, in test_addons | |
test_module(ctx, module=ADDON_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 114, in populate | |
app_config.import_models() | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/django/apps/config.py", line 301, in import_models | |
self.models_module = import_module(models_module_name) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
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/addons/wiki/models.py", line 19, in <module> | |
from framework.forms.utils import sanitize | |
File "/home/runner/work/osf.io/osf.io/framework/forms/__init__.py", line 3, in <module> | |
from wtforms import fields, Form, PasswordField, BooleanField, IntegerField, \ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/wtforms/__init__.py", line 11, in <module> | |
from wtforms import validators, widgets | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/wtforms/widgets/__init__.py", line 1, in <module> | |
from wtforms.widgets.core import * | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/wtforms/widgets/core.py", line 3, in <module> | |
from cgi import escape | |
ImportError: cannot import name 'escape' from 'cgi' (/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/cgi.py) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment