[
https://issues.apache.org/jira/browse/DISPATCH-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990524#comment-14990524
]
Jakub Scholz commented on DISPATCH-187:
---------------------------------------
Hi Ted,
When I try to build the latest version of the Dispatch router (i.e. master from
the Git repo) on a fresh CentOS 7 host, it seems that it doesn't install the
Python site-packages. As a result, qdrouterd doesn't start because it cannot
import the qpid_dispatch_site which was not installed:
{code}
$ qdrouterd
Wed Nov 4 16:50:17 2015 ERROR (error) Python: ImportError: No module named
qpid_dispatch_site
Wed Nov 4 16:50:17 2015 ERROR (error) Traceback (most recent call last):
File
"/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/dispatch.py", line
35, in <module>
import qpid_dispatch_site
ImportError: No module named qpid_dispatch_site
Wed Nov 4 16:50:17 2015 PYTHON (critical) Cannot load dispatch extension
module 'qpid_dispatch_internal.dispatch'
Neúspěšně ukončen (SIGABRT)
{code}
It looks like after the change you made in this JIRA, the setup.py is not
called anymore and doesn't install the files. When I revert this change, it
starts working again.
Regards
Jakub
> CMake must choose the Python2 libraries when Python3 is available
> -----------------------------------------------------------------
>
> Key: DISPATCH-187
> URL: https://issues.apache.org/jira/browse/DISPATCH-187
> Project: Qpid Dispatch
> Issue Type: Bug
> Affects Versions: 0.5
> Reporter: Ted Ross
> Assignee: Ted Ross
> Fix For: 0.6
>
>
> If the python3 development packages are present, the Dispatch CMake file
> chooses version 3 which fails to build. Dispatch uses the python2 extension
> API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]