You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using python 3.7.7, sphinx 3.0.3 and the latest automodapi.
The following problem occurs:
I get these kind of warnings:
"WARNING: Found additional options members in automodapi"
however it causes a logging error:
TypeError: not all arguments converted during string formatting
I played around with it and I could fix it by this, as it seems that arguments are passed to the string that have no % formatter placeholders:
Index: automodapi.py
===================================================================
--- automodapi.py (revision 34799)
+++ automodapi.py (working copy)
@@ -286,7 +286,7 @@
# tell sphinx that the remaining args are invalid.
if len(unknownops) > 0 and app is not None:
opsstrs = ','.join(unknownops)
- msg = 'Found additional options ' + opsstrs + ' in automodapi.'
+ msg = 'Found additional options ' + opsstrs + ' in automodapi. %s'
if warnings:
logger.warning(msg, location)
The text was updated successfully, but these errors were encountered:
I'm using python 3.7.7, sphinx 3.0.3 and the latest automodapi.
The following problem occurs:
I get these kind of warnings:
"WARNING: Found additional options members in automodapi"
however it causes a logging error:
TypeError: not all arguments converted during string formatting
I played around with it and I could fix it by this, as it seems that arguments are passed to the string that have no % formatter placeholders:
The text was updated successfully, but these errors were encountered: