vilmibm/prosaic

Adding a source works, but produces error message

Closed this issue · 1 comments

I'm trying to add the transcript of mean_girls, with prosaic source new mean_girls mean_girls.txt. The command prints an error message, but exits successfully:

It seems to have added the source to my db though:


I'd be happy to try and fix this myself, but do you have any advice? Perhaps the error is thrown part-way through processing the file, so most of the phrases have already been added?

Thanks!

ah, thanks for reporting!

this was a really stupid bug I made with error handling -- there wasn't actually an error, the number is actually the source id (i was misinterpreting the return of process_text as an error.

This is fixed in 6.1.1!