วิทยา

ในวันที่ จ. 2 ธ.ค. 2019 21:31 Jaroslav Guenther <[email protected]>
เขียนว่า:

> When Sphinx loaded the external modules for my program, it got stuck
> when it tried to execute a globally called function. I replaced these
> modules by Mock classes so that they are not being parsed by Sphinx and
> prevented the function to call these modules at the time the doc is being
> built.
>
> On Sunday, 1 December 2019 12:57:54 UTC+1, Jaroslav Guenther wrote:
>>
>> Hello,
>>
>> I am getting:
>>
>> [...]
>> File "/usr/lib/python2.7/site-packages/jwkest/extra.py", line 3, in
>> from jwkest.jws import JWSException
>> File "/usr/lib/python2.7/site-packages/jwkest/jws.py", line 116, in
>> class HMACSigner(Signer):
>> TypeError: Error when calling the metaclass bases
>> str() takes at most 1 argument (3 given)
>> when trying to do sphynx build of my code
>>
>> https://travis-ci.org/rucio/rucio/jobs/617413102?utm_medium=notification&utm_source=github_status
>>
>> I have seen here troubles with metaclasses, could this issue be related,
>> how could I avoid this crash ?
>> https://github.com/IdentityPython/pyjwkest/tree/master/src/jwkest
>>
> --
> 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/d7ace5c9-561c-4e07-9089-9cb6e0aae634%40googlegroups.com
> <https://groups.google.com/d/msgid/sphinx-users/d7ace5c9-561c-4e07-9089-9cb6e0aae634%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAB0fvB5r%3DbB%3Dq4X7TRFeVCq-0-w7fBww%3DhT%3DsoCm2JyPwJYXCw%40mail.gmail.com.

Reply via email to