Nothing Special   »   [go: up one dir, main page]

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

Reading PDF: processFunction: obj must be dict or stream dict #453

Closed
rwv opened this issue Apr 16, 2022 · 1 comment
Closed

Reading PDF: processFunction: obj must be dict or stream dict #453

rwv opened this issue Apr 16, 2022 · 1 comment
Assignees

Comments

@rwv
Copy link
rwv commented Apr 16, 2022

Failed to run pdfcpu info test.pdf

$ pdfcpu info test.pdf
pdfcpu: processFunction: obj must be dict or stream dict

OS: Ubuntu 20.04
Go: 1.18
Git Commit: c202488b70371e5cbffcbd90125847dd6835e8a7

PDF info:

$ pdfinfo test.pdf 
Title:          PDF Test File
Subject:        Using PDF on the Internet
Keywords:       PDF Acrobat Internet
Author:         Charles A. Bliley
Creator:        FrameMaker 5.5.1: LaserWriter 8.5.1 8.5.1
Producer:       Acrobat Distiller 3.01 for Power Macintosh
CreationDate:   Tue Jun 16 09:53:35 1998 UTC
ModDate:        Tue Oct 23 21:55:37 2001 UTC
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          3
Encrypted:      no
Page size:      612 x 792 pts (letter)
Page rot:       0
File size:      39762 bytes
Optimized:      yes
PDF version:    1.4

PDF File: test.pdf

@hhrutter
Copy link
Collaborator
hhrutter commented Apr 16, 2022

This is fixed with the latest commit.
Thank you for using pdfcpu 💚

Go-> pdfcpu info test.pdf
         PDF version: 1.4
          Page count: 3
           Page size: 612.00 x 792.00 points
............................................
               Title: PDF Test File
              Author: Charles A. Bliley
             Subject: Using PDF on the Internet
        PDF Producer: Acrobat Distiller 3.01 for Power Macintosh
     Content creator: FrameMaker 5.5.1: LaserWriter 8.5.1 8.5.1
       Creation date: D:19980616095335+00'00'
   Modification date: D:20011023175537-04'00'
            Keywords: PDF Acrobat Internet
............................................
              Tagged: No
              Hybrid: No
          Linearized: Yes
  Using XRef streams: No
Using object streams: No
         Watermarked: No
          Thumbnails: Yes
            Acroform: No
............................................
           Encrypted: No
         Permissions: Full access

adamgreenhall added a commit to adamgreenhall/pdfcpu that referenced this issue Apr 28, 2022
* Fix pdfcpu#442, pdfcpu#443

* Fix pdfcpu#437

* Fix pdfcpu#434

* Fix pdfcpu#429

* Fix pdfcpu#438

* Fix pdfcpu#440

* Fix pdfcpu#380

* Fix pdfcpu#446

* Add Fedora instructions (pdfcpu#439)

* Fix pdfcpu#389

* Fix pdfcpu#357, pdfcpu#451

* Fix free list validation

* Cleanup

* Fix pdfcpu#453

* Fix pdfcpu#457

* Revert "Revert "Fix pdfcpu#385""

This reverts commit bbe8e25.

Co-authored-by: Horst Rutter <hhrutter@gmail.com>
Co-authored-by: Fabio Alessandro Locati <77888+Fale@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants