coherentgraphics / cpdf-binaries

PDF Command Line Tools binaries for Linux, Mac, Windows
GNU Affero General Public License v3.0
604 stars 42 forks source link

Release tags for different cpdf versions? #16

Closed sax closed 5 years ago

sax commented 7 years ago

First of all, thank you for providing these binaries here.

I just ran into an issue where our code started failing because we were using an older version of cpdf, and when pulling down the latest binaries from master our code was doing the wrong thing. It made me think that it would be helpful if you were to make a release tag when you were to update the current version of cpdf. That way, people could download the specific version they are targeting by name, without having to jump to a specific git hash.

Anyways, just a thought.

johnwhitington commented 7 years ago

Sounds like a good idea. The source is tagged.

What was the incompatibility you ran across?

sax commented 7 years ago

I didn't have much time to debug the actual problem, especially since jumping back to cpdf 2.1 reverted to the expected behavior. Also unfortunately, the content of the PDF is proprietary to a client and I'm unable to share it.

It seems to work on OS X, and fails on Linux in CircleCI. So it's possible there's another dependency that is causing the problem.

cpdf -merge /tmp/first.pdf /tmp/second.pdf AND -set-title "merged title" -o /tmp/merged-result.pdf
/home/ubuntu/.local/bin/cpdf: 2: /home/ubuntu/.local/bin/cpdf: Syntax error: "(" unexpected
johnwhitington commented 7 years ago

Hmm. Sounds like a shell problem of some sort. cpdf never generates the phrase "Syntax error".

By the way, have you checked that your client actually has a license for cpdf? If they are paying you for your work, then they are a commercial enterprise and need a license. Or you need one for being paid. In either case, you would then be using binaries directly from us, rather than the ones on Github.

sax commented 7 years ago

Yeah... except for the fact that when I drop in an older version of cpdf the problem goes away.

I believe the client does have a license. I just grabbed the binary from github since it's a different platform. On Fri, May 5, 2017 at 7:07 AM John Whitington notifications@github.com wrote:

Hmm. Sounds like a shell problem of some sort. cpdf never generates the phrase "Syntax error".

By the way, have you checked that your client actually has a license for cpdf? If they are paying you for your work, then they are a commercial enterprise and need a license. Or you need one for being paid. In either case, you would then be using binaries directly from us, rather than the ones on Github.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/coherentgraphics/cpdf-binaries/issues/16#issuecomment-299474125, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEtEerxyey96ZDQSMEu4c92z7OgTbpDks5r2y0qgaJpZM4NQ9D_ .