Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

synapse/config/__main__ uses wrong py2 import rules #4350

Closed

Description

@hawkowl
/opt/venvs/matrix-synapse/bin/python -m synapse.config
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/config/__main__.py", line 19, in <module>
    from homeserver import HomeServerConfig
ImportError: No module named 'homeserver'

should be from synapse.config.homeserver

Activity

  1. hawkowl commented on Jan 7, 2019

    @hawkowl
    ContributorAuthor

    PR: #4356

  2. hawkowl commented on Jan 7, 2019

    @hawkowl
    ContributorAuthor

    Merged into develop, will be in 0.34.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-bug(Deprecated Label)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions