Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't run correctly on x86 / amd64 architecture #3

Open
kx1t opened this issue Feb 17, 2022 · 1 comment
Open

Doesn't run correctly on x86 / amd64 architecture #3

kx1t opened this issue Feb 17, 2022 · 1 comment

Comments

@kx1t
Copy link
Member

kx1t commented Feb 17, 2022

This keeps on repeating in the logs when running the container on an amd64 architecture:

AttributeError: module 'typesystem' has no attribute 'SchemaDefinitions'
Traceback (most recent call last):
  File "/opt/app/snapapi.py", line 3, in <module>
    import responder
  File "/usr/local/lib/python3.9/dist-packages/responder/__init__.py", line 1, in <module>
    from .core import *
  File "/usr/local/lib/python3.9/dist-packages/responder/core.py", line 1, in <module>
    from .api import API
  File "/usr/local/lib/python3.9/dist-packages/responder/api.py", line 25, in <module>
    from .ext.schema import Schema as OpenAPISchema
  File "/usr/local/lib/python3.9/dist-packages/responder/ext/schema/__init__.py", line 4, in <module>
    import apistar
  File "/usr/local/lib/python3.9/dist-packages/apistar/__init__.py", line 11, in <module>
    from apistar.core import docs, validate
  File "/usr/local/lib/python3.9/dist-packages/apistar/core.py", line 7, in <module>
    from apistar.schemas.autodetermine import AUTO_DETERMINE
  File "/usr/local/lib/python3.9/dist-packages/apistar/schemas/__init__.py", line 1, in <module>
    from apistar.schemas.openapi import OpenAPI
  File "/usr/local/lib/python3.9/dist-packages/apistar/schemas/openapi.py", line 6, in <module>
    from apistar.schemas.jsonschema import JSON_SCHEMA
  File "/usr/local/lib/python3.9/dist-packages/apistar/schemas/jsonschema.py", line 3, in <module>
    definitions = typesystem.SchemaDefinitions()
AttributeError: module 'typesystem' has no attribute 'SchemaDefinitions'
Traceback (most recent call last):
  File "/opt/app/snapapi.py", line 3, in <module>
    import responder
  File "/usr/local/lib/python3.9/dist-packages/responder/__init__.py", line 1, in <module>
    from .core import *
  File "/usr/local/lib/python3.9/dist-packages/responder/core.py", line 1, in <module>
    from .api import API
  File "/usr/local/lib/python3.9/dist-packages/responder/api.py", line 25, in <module>
    from .ext.schema import Schema as OpenAPISchema
  File "/usr/local/lib/python3.9/dist-packages/responder/ext/schema/__init__.py", line 4, in <module>
    import apistar
  File "/usr/local/lib/python3.9/dist-packages/apistar/__init__.py", line 11, in <module>
    from apistar.core import docs, validate
  File "/usr/local/lib/python3.9/dist-packages/apistar/core.py", line 7, in <module>
    from apistar.schemas.autodetermine import AUTO_DETERMINE
  File "/usr/local/lib/python3.9/dist-packages/apistar/schemas/__init__.py", line 1, in <module>
    from apistar.schemas.openapi import OpenAPI
  File "/usr/local/lib/python3.9/dist-packages/apistar/schemas/openapi.py", line 6, in <module>
    from apistar.schemas.jsonschema import JSON_SCHEMA
  File "/usr/local/lib/python3.9/dist-packages/apistar/schemas/jsonschema.py", line 3, in <module>
    definitions = typesystem.SchemaDefinitions()
@ge0metrix
Copy link

Looks like a prerelease issue?

kennethreitz/responder#440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants