Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2017 03:05:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220120] net-im/py-matrix-synapse
Message-ID:  <bug-220120-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220120

            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@FreeBSD.org
          Reporter: stievenard.david@gmail.com
             Flags: maintainer-feedback?(feld@FreeBSD.org)
          Assignee: feld@FreeBSD.org

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


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", l=
ine
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 1=
3,
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 i=
t 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.ya=
ml
--generate-config --server-name=3Dexample.com

It looks like a python related message.

Best regards
dasti

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220120-13>