I think I solved the problem with those steps:
brew upgrade sphinx-doc
pip3 install -U sphinx
pip3 install sphinx-rtd-theme
pip3 install --user rst2pdf
But now I really am confused, wether now I use python3 or 2 :D
Anyway, my script seems to be running again
On Monday, May 11, 2020 at 4:29:52 PM UTC+2, Terris Linenbach wrote:
>
> It fails trying to log the error that it can’t find a custom cover -
> whatever that is. It can’t find the custom cover because some object
> doesn’t have a custom_cover attribute. Perhaps create an issue at
> https://github.com/rst2pdf/rst2pdf.
>
>
> I’m curious how rst2pdf is involved. My Sphinx setup still uses latex2pdf.
> Going directly from restructured text to pdf seems better but since Sphinx
> has more features than rst, there are probably issues.
>
>
> [ERROR] pdfbuilder.py:149
>
>
> /rst2pdf/pdfbuilder.py", line 595, in translate log.error("Can't find
> cover template %s, using
>
>
> AttributeError: 'PDFWriter' object has no attribute 'custom_cover'
>
> On Mon, May 11, 2020 at 7:02 AM Beat Gurtner <[email protected]
> <javascript:>> wrote:
>
>> Hi Stefano,
>>
>> sorry for the gray font.
>>
>> Tried to install python3, but:
>>
>> Warning: python 3.7.7 is already installed and up-to-date
>>
>> So pdfbuilder should work?!?
>>
>> I know its all old stuff, but it was still working :)
>>
>> On Sunday, May 10, 2020 at 7:12:41 PM UTC+2, Stefano David wrote:
>>>
>>> Hi Beat,
>>>
>>> I think you should update your python environment. A couple of thoughts:
>>>
>>> 1. python2.7 is EOL since last January
>>> 2. sphinx 1.8.5 is quite old either (not sure if it's EOL yet, though).
>>> 3. pdfbuilder needs python>3.5 according to pypi [1], this is why you
>>> can't install it with pip/python 2.7
>>> 4. your message appears as light gray on white, quite difficult to read
>>> :-)
>>>
>>> Best regards,
>>> Stefano
>>> [1] https://pypi.org/project/pdfbuilder/ [pypi.org]
>>> <https://urldefense.com/v3/__https://pypi.org/project/pdfbuilder/__;!!NUigHyXFMVECnQ!wXCGTB9TAtlro5S0GI23C1moiMBm902hF_HPGbEP9fcYSDCGSwoJpnuOEBp0rOU6$>
>>>
>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "sphinx-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sphinx-users/450b40d9-806b-4de6-8814-b83a36cf09da%40googlegroups.com
>>
>> [groups.google.com]
>> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/sphinx-users/450b40d9-806b-4de6-8814-b83a36cf09da*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!NUigHyXFMVECnQ!wXCGTB9TAtlro5S0GI23C1moiMBm902hF_HPGbEP9fcYSDCGSwoJpnuOEIgXAwep$>
>> .
>>
> --
> <https://www.science37.com/>
> <https://www.linkedin.com/company-beta/4869017/>
> <https://www.facebook.com/science37/>
> <https://www.instagram.com/science_37/>
> <https://www.youtube.com/channel/UCsXhUZYG4a9gwo6o11pmFHg>
> <https://twitter.com/Science_37>
>
> Terris Linenbach
>
> Senior Software Engineer
>
>
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/6413ef7a-7f5c-4948-b650-8e308c9493ed%40googlegroups.com.