Skip to content
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

corpus summary method crashes for FreDraCor (invalid date) #29

Open
DanilSko opened this issue Feb 12, 2024 · 2 comments
Open

corpus summary method crashes for FreDraCor (invalid date) #29

DanilSko opened this issue Feb 12, 2024 · 2 comments

Comments

@DanilSko
Copy link

I ran the following code (for demo purposes):

import pydracor
corpus = pydracor.Corpus('fre')
corpus.summary()

At the last line I had an error:
ValueError: invalid literal for int() with base 10: '1678-02-25'

I also attach a screenshot
Screenshot 2024-02-12 at 11 39 35

@DanilSko
Copy link
Author

UPD: also seems to break on GerDraCor
the Russian corpus works fine though..

@lehkost
Copy link
Member

lehkost commented Feb 12, 2024

Has to do with the possibility to use exact premiere dates that we started to introduce a while ago (example here). We discussed the same issue regarding rdracor. The API wrappers should transform exact dates back to years.

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

No branches or pull requests

2 participants