test_crop_file (articles.test_pr_upload.CropPRIntegration) fails
======================================================================
ERROR: test_crop_file (articles.test_pr_upload.CropPRIntegration)
tests the cropping algorithm in a whole file
Traceback (most recent call last):
File "/app/articles/test_pr_upload.py", line 58, in test_crop_file
extract_infos(file, temp_dirname, '')
File "/app/articles/data_extraction/crop_meta.py", line 88, in extract_infos
extract_text(article, pdf, int(page_number) + page_counter - 1, temp_dir)
File "/app/articles/data_extraction/crop_meta.py", line 207, in extract_text
plumber_im.reset().draw_rects(pdf_page.chars)
File "/app/lib/python3.9/site-packages/pdfplumber/display.py", line 254, in draw_rects
self.draw_rect(x, fill=fill, stroke=stroke, stroke_width=stroke_width)
File "/app/lib/python3.9/site-packages/pdfplumber/display.py", line 232, in draw_rect
self.draw.rectangle(
File "/app/lib/python3.9/site-packages/PIL/ImageDraw.py", line 294, in rectangle
self.draw.draw_rectangle(xy, fill, 1)
ValueError: x1 must be greater than or equal to x0