Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

AttributeError on docutils 0.18 #30

Open
xi opened this issue Oct 26, 2021 · 4 comments
Open

AttributeError on docutils 0.18 #30

xi opened this issue Oct 26, 2021 · 4 comments

Comments

@xi
Copy link
Contributor

xi commented Oct 26, 2021

docutils 0.18 was released today and seems to break pospell:

  File "/usr/local/lib/python3.9/dist-packages/pospell.py", line 119, in visit_Text
    self.output.append(node.rawsource)
AttributeError: 'Text' object has no attribute 'rawsource'
@JulienPalard
Copy link
Collaborator

Awww

@JulienPalard
Copy link
Collaborator

Fixed in pospell 1.0.13, thanks for reporting @xi!

@xi
Copy link
Contributor Author

xi commented Oct 28, 2021

Thanks for the quick reply!

If I see correctly the fix is to pin docutils, right? Will that be the long term solution or do you have an idea how to make pospell work with newer versions of docutils?

@JulienPalard
Copy link
Collaborator

If I see correctly the fix is to pin docutils, right? Will that be the long term solution or do you have an idea how to make pospell work with newer versions of docutils?

I havent found time to look at it deeply, so I have no answer. But I should reopen the issue to remember to look at it more deeply.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants