Bug 2218093 - [abrt] python3-pdfminer: write_text(): converter.py:315:write_text:BrokenPipeError: [Errno 32] Broken pipe
Summary: [abrt] python3-pdfminer: write_text(): converter.py:315:write_text:BrokenPipe...
Keywords:
Status: CLOSED DUPLICATE of bug 2215894
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pdfminer
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6b1fe0811900873b083cf6c92c6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-28 06:45 UTC by Mihai Lazarescu
Modified: 2023-06-28 13:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-28 13:25:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details
File: mountinfo (3.77 KB, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details
File: open_fds (323 bytes, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details
File: namespaces (171 bytes, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details
File: backtrace (1.57 KB, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details
File: cpuinfo (2.99 KB, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details
File: environ (3.57 KB, text/plain)
2023-06-28 06:45 UTC, Mihai Lazarescu
no flags Details

Description Mihai Lazarescu 2023-06-28 06:45:03 UTC
Version-Release number of selected component:
python3-pdfminer-20221105-2.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.2.15-300.fc38.x86_64
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-1ffc8a32-aef3-47ac-adaf-41fadaf8baa4.scope
uid:            1000
reason:         converter.py:315:write_text:BrokenPipeError: [Errno 32] Broken pipe
executable:     /usr/bin/pdf2txt
type:           Python3
package:        python3-pdfminer-20221105-2.fc38
runlevel:       N 5
exception_type: BrokenPipeError
crash_function: write_text
interpreter:    python3-3.11.3-2.fc38.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/pdf2txt /home/user/latex/didactica/cursuri/elettronica-applicata/mtl-ttpu/exams/20230627/reports/graded/U09077_1640686.pdf

Truncated backtrace:
converter.py:315:write_text:BrokenPipeError: [Errno 32] Broken pipe

Traceback (most recent call last):
  File "/usr/bin/pdf2txt", line 317, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/bin/pdf2txt", line 311, in main
    outfp = extract_text(**vars(parsed_args))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/pdf2txt", line 62, in extract_text
    pdfminer.high_level.extract_text_to_fp(fp, **locals())
  File "/usr/lib/python3.11/site-packages/pdfminer/high_level.py", line 132, in extract_text_to_fp
    interpreter.process_page(page)
  File "/usr/lib/python3.11/site-packages/pdfminer/pdfinterp.py", line 998, in process_page
    self.device.end_page(page)
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 81, in end_page
    self.receive_layout(self.cur_item)
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 332, in receive_layout
    render(ltpage)
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 321, in render
    render(child)
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 321, in render
    render(child)
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 321, in render
    render(child)
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 323, in render
    self.write_text(item.get_text())
  File "/usr/lib/python3.11/site-packages/pdfminer/converter.py", line 315, in write_text
    cast(TextIO, self.outfp).write(text)
BrokenPipeError: [Errno 32] Broken pipe

Local variables in innermost frame:
self: <PDFDevice>
text: 'o'

Potential duplicate: bug 2186554

Comment 1 Mihai Lazarescu 2023-06-28 06:45:06 UTC
Created attachment 1972951 [details]
File: os_info

Comment 2 Mihai Lazarescu 2023-06-28 06:45:08 UTC
Created attachment 1972952 [details]
File: mountinfo

Comment 3 Mihai Lazarescu 2023-06-28 06:45:09 UTC
Created attachment 1972953 [details]
File: open_fds

Comment 4 Mihai Lazarescu 2023-06-28 06:45:10 UTC
Created attachment 1972954 [details]
File: namespaces

Comment 5 Mihai Lazarescu 2023-06-28 06:45:12 UTC
Created attachment 1972955 [details]
File: backtrace

Comment 6 Mihai Lazarescu 2023-06-28 06:45:13 UTC
Created attachment 1972956 [details]
File: cpuinfo

Comment 7 Mihai Lazarescu 2023-06-28 06:45:15 UTC
Created attachment 1972957 [details]
File: environ

Comment 8 Ben Beasley 2023-06-28 13:25:07 UTC

*** This bug has been marked as a duplicate of bug 2215894 ***


Note You need to log in before you can comment on or make changes to this bug.