[Bug 220120] net-im/py-matrix-synapse

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 19 03:05:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220120

            Bug ID: 220120
           Summary: net-im/py-matrix-synapse
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld at FreeBSD.org
          Reporter: stievenard.david at gmail.com
             Flags: maintainer-feedback?(feld at FreeBSD.org)
          Assignee: feld at FreeBSD.org

FreeBSD 11.0-RELEASE-p1
Python 2.7.13
py27-matrix-synapse-0.21.0 


I was trying to follow this tutorial to install synapse on freebsd
https://forums.freebsd.org/threads/59835/ but I keep getting this error
message.


######################################################################################################
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/site-packages/synapse/app/homeserver.py", line
31, in <module>
    from synapse.rest import ClientRestResource
  File "/usr/local/lib/python2.7/site-packages/synapse/rest/__init__.py", line
20, in <module>
    from synapse.rest.client.v1 import (
  File
"/usr/local/lib/python2.7/site-packages/synapse/rest/client/v1/pusher.py", line
23, in <module>
    from synapse.http.server import finish_request
  File "/usr/local/lib/python2.7/site-packages/synapse/http/server.py", line
31, in <module>
    from twisted.web import server, resource
  File "/usr/local/lib/python2.7/site-packages/twisted/web/server.py", line 31,
in <module>
    from twisted.web import iweb, http, util
  File "/usr/local/lib/python2.7/site-packages/twisted/web/util.py", line 13,
in <module>
    from twisted.python import urlpath
  File "/usr/local/lib/python2.7/site-packages/twisted/python/urlpath.py", line
15, in <module>
    from hyperlink import URL as _URL
ImportError: No module named hyperlink
######################################################################################################


I tried those approaches without success
- reinstall using port in stead of pkg
- use the sample config file from /usr/local/etc/matrix-synapse and start it as
is
- use the command line from the port install message /usr/local/bin/python2.7
-B -m synapse.app.homeserver -c /usr/local/etc/matrix-synapse/homeserver.yaml
--generate-config --server-name=example.com

It looks like a python related message.

Best regards
dasti

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list