[Xapian-tickets] [Xapian] #786: Installation of xapian-binding for python3 fails.

Xapian nobody at xapian.org
Sat May 18 11:11:35 BST 2019


#786: Installation of xapian-binding for python3 fails.
--------------------------+-------------------------
 Reporter:  samuelharden  |             Owner:  olly
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:
Component:  Other         |           Version:
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+-------------------------
Description changed by samuelharden:

Old description:

> 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 at 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'
> >>>
> ```

New description:

 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 at 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'
 >>>

 }}}

--

--
Ticket URL: <https://trac.xapian.org/ticket/786#comment:1>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list