Closed Piphi5 closed 3 years ago
Thanks! That looks like a bug, at least it clearly shouldn't crash. I suppose you can probably run pdoc locally with -o outdir
and that should work, but we'll get that fixed anyhow. :)
It seems like writing to an output still fails locally. Not sure why it works fine on the Actions Machines
Ok, after look at this a bit longer, I'm not convinced anymore that this is a pdoc issue. I thought you'd see pdoc crashing, but it looks like pdoc is catching the crash gracefully and just showing you the error message.
I can reproduce this neither on Windows nor under WSL. The traceback also makes me believe this is more about your Python installation than anything else. Can you import asyncio
on your system?
I also agree that this most likely isn't a pdoc bug (I just didn't know where else to get help troubleshooting it) since it builds fine on the GH actions machines.
I can import ayncio
I managed to resolve the issue by creating a new Conda environment and then I had to upgrade Jedi to the latest version. Not really sure why that worked, but this issue should be closed.
Problem Description
PDoc has trouble importing some parts of the IPython Library on my local machine (both WSL and windows). This is the error message:
However, when I build it on Github actions, it has no issues: https://iges-geospatial.github.io/globe-observer-utils-docs/.
Steps to reproduce the behavior:
System Information
pdoc: 7.0.1 Python: 3.7.6 Platform: Windows-10-10.0.19041-SP0