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
If the normal phply package is installed on the system, sphinxcontrib_phpautodoc fails because the normal package is used then instead of the modified one bundled with sphinxcontrib_phpautodoc:
AttributeError: Can't get attribute 'Comment' on <module 'phply.phpast' from '/usr/local/lib/python3.6/dist-packages/phply/phpast.py'>
The easiest fix seems to be renaming the directory/package for the bundled phply package. Additionally, I already opened a feature request for comment support in the parser of phply (see viraptor/phply#41) which probably would be the cleaner solution - then sphinxcontrib_phpautodoc would not have to bundle a patched copy anymore.
An alternative would be to use relative imports, but I could not get these to work. It always resulted in an import error.
The text was updated successfully, but these errors were encountered:
If the normal
phply
package is installed on the system,sphinxcontrib_phpautodoc
fails because the normal package is used then instead of the modified one bundled withsphinxcontrib_phpautodoc
:The easiest fix seems to be renaming the directory/package for the bundled
phply
package. Additionally, I already opened a feature request for comment support in the parser ofphply
(see viraptor/phply#41) which probably would be the cleaner solution - thensphinxcontrib_phpautodoc
would not have to bundle a patched copy anymore.An alternative would be to use relative imports, but I could not get these to work. It always resulted in an import error.
The text was updated successfully, but these errors were encountered: