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

Update requirements-development.txt #371

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

zodman
Copy link

@zodman zodman commented Mar 21, 2023

for fix:

Traceback (most recent call last):                                                                                                                                                            
  File "/home/zodman/visto/monitor-ircc-forms/main.py", line 73, in <module>                                                                                                                  
    get_forms_in_catalog()                                                                                                                                                                    
  File "/home/zodman/visto/monitor-ircc-forms/main.py", line 63, in get_forms_in_catalog                                                                                                      
    for page in pdf_object:                                                                                                                                                                   
  File "/home/zodman/visto/monitor-ircc-forms/.venv/lib/python3.10/site-packages/rows/plugins/plugin_pdf.py", line 136, in pdf_to_text                                                        
    for page in pdf_doc.extract_text(page_numbers=page_numbers):                                                                                                                              
  File "/home/zodman/visto/monitor-ircc-forms/.venv/lib/python3.10/site-packages/rows/plugins/plugin_pdf.py", line 168, in extract_text                                                       
    for obj in self.page_objects(page)                                                                                                                                                        
  File "/home/zodman/visto/monitor-ircc-forms/.venv/lib/python3.10/site-packages/rows/plugins/plugin_pdf.py", line 332, in page_objects                                                       
    blocks = getattr(page, "get_text", getattr(page, "getText"))("dict")["blocks"]                                                                                                            
AttributeError: 'Page' object has no attribute 'getText'. Did you mean: 'get_text'?     

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

Successfully merging this pull request may close these issues.

1 participant