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

BUG: 'IndexError: index out of range' when using extract_text #1361

Merged
merged 1 commit into from
Sep 24, 2022

Conversation

MartinThoma
Copy link
Member

Fixes #1358

Co-authored-by: diavral <73272031+diavral@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 24, 2022

Codecov Report

Base: 94.71% // Head: 94.53% // Decreases project coverage by -0.17% ⚠️

Coverage data is based on head (bf5c48a) compared to base (7803a72).
Patch coverage: 0.00% of modified lines in pull request are covered.

❗ Current head bf5c48a differs from pull request most recent head 0e1d6ea. Consider uploading reports for the commit 0e1d6ea to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1361      +/-   ##
==========================================
- Coverage   94.71%   94.53%   -0.18%     
==========================================
  Files          30       28       -2     
  Lines        5186     4999     -187     
  Branches     1061     1028      -33     
==========================================
- Hits         4912     4726     -186     
  Misses        164      164              
+ Partials      110      109       -1     
Impacted Files Coverage Δ
PyPDF2/generic/_data_structures.py 95.19% <0.00%> (ø)
PyPDF2/__init__.py
PyPDF2/_utils.py

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MartinThoma MartinThoma merged commit dcab241 into main Sep 24, 2022
@MartinThoma MartinThoma deleted the issue-1358 branch September 24, 2022 04:45
MartinThoma added a commit that referenced this pull request Sep 25, 2022
New Features (ENH):
-  Addition of optional visitor-functions in extract_text() (#1252)
-  Add metadata.creation_date and modification_date (#1364)
-  Add PageObject.images attribute (#1330)

Bug Fixes (BUG):
-  Lookup index in _xobj_to_image can be ByteStringObject (#1366)
-  \'IndexError: index out of range\' when using extract_text (#1361)
-  Errors in transfer_rotation_to_content() (#1356)

Robustness (ROB):
-  Ensure update_page_form_field_values does not fail if no fields (#1346)

Testing (TST):
-  read_string_from_stream performance (#1355)

Full Changelog: 2.10.9...2.11.0
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.

BUG: 'IndexError: index out of range' when using extract_text
1 participant