Page MenuHomeFreeBSD

problem with trio after recent update

Authored By
otis
Aug 4 2023, 9:43 AM
Size
4 KB
Referenced Files
None
Subscribers
None

problem with trio after recent update

```
/usr/local/share/netbox # python3.9 manage.py migrate
Traceback (most recent call last):
File "/usr/local/share/netbox/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 386, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 92, in __getattr__
self._setup(name)
File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 79, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 190, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/local/share/netbox/netbox/settings.py", line 12, in <module>
import sentry_sdk
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/__init__.py", line 1, in <module>
from sentry_sdk.hub import Hub, init
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/hub.py", line 9, in <module>
from sentry_sdk.scope import Scope
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/scope.py", line 7, in <module>
from sentry_sdk.utils import logger, capture_internal_exceptions
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/utils.py", line 1048, in <module>
HAS_REAL_CONTEXTVARS, ContextVar = _get_contextvars()
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/utils.py", line 1018, in _get_contextvars
if not _is_contextvars_broken():
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/utils.py", line 979, in _is_contextvars_broken
from eventlet.patcher import is_monkey_patched # type: ignore
File "/usr/local/lib/python3.9/site-packages/eventlet/__init__.py", line 17, in <module>
from eventlet import convenience
File "/usr/local/lib/python3.9/site-packages/eventlet/convenience.py", line 7, in <module>
from eventlet.green import socket
File "/usr/local/lib/python3.9/site-packages/eventlet/green/socket.py", line 21, in <module>
from eventlet.support import greendns
File "/usr/local/lib/python3.9/site-packages/eventlet/support/greendns.py", line 79, in <module>
setattr(dns, pkg, import_patched('dns.' + pkg))
File "/usr/local/lib/python3.9/site-packages/eventlet/support/greendns.py", line 61, in import_patched
return patcher.import_patched(module_name, **modules)
File "/usr/local/lib/python3.9/site-packages/eventlet/patcher.py", line 132, in import_patched
return inject(
File "/usr/local/lib/python3.9/site-packages/eventlet/patcher.py", line 109, in inject
module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
File "/usr/local/lib/python3.9/site-packages/dns/asyncquery.py", line 32, in <module>
import dns.quic
File "/usr/local/lib/python3.9/site-packages/dns/quic/__init__.py", line 35, in <module>
import trio
File "/usr/local/lib/python3.9/site-packages/trio/__init__.py", line 19, in <module>
from ._core import TASK_STATUS_IGNORED as TASK_STATUS_IGNORED # isort: skip
File "/usr/local/lib/python3.9/site-packages/trio/_core/__init__.py", line 21, in <module>
from ._local import RunVar
File "/usr/local/lib/python3.9/site-packages/trio/_core/_local.py", line 5, in <module>
from . import _run
File "/usr/local/lib/python3.9/site-packages/trio/_core/_run.py", line 2548, in <module>
raise NotImplementedError("unsupported platform")
NotImplementedError: unsupported platform
```

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6181397
Default Alt Text
problem with trio after recent update (4 KB)

Event Timeline