-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError 'refdoc' when missing references #26
Comments
Could you provide me a link to your environment if its possible? I will try to see if I can replicate it with the code I have but I can't see any issues with the (small) testing we have enabled on the repo. I plan to add some more in a PR. |
Unfortunately I can't share my env (work), but have done a little more digging. What I'm seeing is that As Not sure what the best behaviour would be but should |
Actually, looks like the problem is due to event ordering. If I change |
So I should just make that change and that should fix whatever this bug is? |
Just updating https://github.com/sunpy/ablog/blob/master/ablog/post.py#L459 to |
I've made the change in PR #28, but I also changed the other dictionary index just in case. They probably should be changed in other places. But I will do a release |
Awesome, thanks 👍 |
I just pushed the update to PyPi. Conda will take a while to update. |
Just to confirm, 0.9.3 is working for me. Getting warnings for missing references but builds succeed. Thanks for the quick turn-around |
I'm seeing the same issue as noted in abakan-zz/ablog#75
Seems to be related to this:
https://github.com/sunpy/ablog/blob/master/ablog/post.py#L458
If I change
node['refdoc']
to something likenode.source
it works - I'm not sure if this is correct behaviour however.Haven't been able to reproduce a minimal example yet, it's just happening in my main env, any pointers appriciated. Using sphinx 1.7.6, ablog 0.9.2
The text was updated successfully, but these errors were encountered: