Opened 5 years ago
Closed 5 years ago
#786 closed defect (duplicate)
Installation of xapian-binding for python3 fails.
Reported by: | Gaurav Arora | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Xapian-bindings (Python) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description (last modified by )
It seems like in configuration we check if sphinx.main function is present whereas sphinx doesn't have
sphinx.main
for python3
Which seems to be failing the installation.
I checked while installing it on MacOS.
Need to reproduce for different system if it's a real issue. I was just helping someone install xapian so not sure if this is something they did wrong.
Last login: Sat May 18 10:06:40 2019 from 10.13.111.9 ubuntu@automatic-fact-verification:~$ python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sphinx >>> sphinx.main Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'sphinx' has no attribute 'main' >>>
Change History (6)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
Component: | Other → Xapian-bindings (Python) |
---|---|
Owner: | changed from | to
comment:3 by , 5 years ago
Owner: | changed from | to
---|
comment:4 by , 5 years ago
comment:5 by , 5 years ago
I believe that the problem is that recent versions of sphinx have a different API, and we were relying perhaps on something a little too internal. Short term we could probably lock to an earlier version of sphinx, but it might be easier to figure out how to invoke it properly with more recent versions. (We'd then need to consider what the packaged versions are and whether we'd have to support both.)
comment:6 by , 5 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Thanks for reporting, but this was actually already reported as #778. Closing this as a duplicate.
Seems like make is failing after that. Must be a issue with laptop.