Skip to content

querybook_web | pkg_resources.DistributionNotFound: The 'zope.event' distribution was not found and is required by the applicationΒ #1605

@niels1voo

Description

@niels1voo

Since upgrading to Python 10 in 6452800, the following error prevents the application from loading.

querybook_web            | pkg_resources.DistributionNotFound: The 'zope.event' distribution was not found and is required by the application
querybook_web            | Running: python3 querybook/server/runweb.py --debug 3000
querybook_web            | Traceback (most recent call last):
querybook_web            |   File "/opt/querybook/querybook/server/runweb.py", line 3, in <module>
querybook_web            |     monkey.patch_all()
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/gevent/monkey.py", line 1255, in patch_all
querybook_web            |     _notify_patch(events.GeventWillPatchAllEvent(modules_to_patch, kwargs), _warnings)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/gevent/monkey.py", line 190, in _notify_patch
querybook_web            |     notify_and_call_entry_points(event)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/gevent/events.py", line 104, in notify_and_call_entry_points
querybook_web            |     subscriber = plugin.load()
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2470, in load
querybook_web            |     self.require(*args, **kwargs)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2493, in require
querybook_web            |     items = working_set.resolve(reqs, env, installer, extras=self.extras)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 795, in resolve
querybook_web            |     raise DistributionNotFound(req, requirers)
querybook_web            | pkg_resources.DistributionNotFound: The 'zope.event' distribution was not found and is required by the application
querybook_web            | Running: python3 querybook/server/runweb.py --debug 3000
querybook_web            | Traceback (most recent call last):
querybook_web            |   File "/opt/querybook/querybook/server/runweb.py", line 3, in <module>
querybook_web            |     monkey.patch_all()
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/gevent/monkey.py", line 1255, in patch_all
querybook_web            |     _notify_patch(events.GeventWillPatchAllEvent(modules_to_patch, kwargs), _warnings)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/gevent/monkey.py", line 190, in _notify_patch
querybook_web            |     notify_and_call_entry_points(event)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/gevent/events.py", line 104, in notify_and_call_entry_points
querybook_web            |     subscriber = plugin.load()
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2470, in load
querybook_web            |     self.require(*args, **kwargs)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2493, in require
querybook_web            |     items = working_set.resolve(reqs, env, installer, extras=self.extras)
querybook_web            |   File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 795, in resolve
querybook_web            |     raise DistributionNotFound(req, requirers)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions