Bug#792467: pdfsam: gui perspective is working console perspective isnt...

2017-03-20 Thread Michael Weghorn
On Wed, 15 Jul 2015 05:57:59 +0200 treaki  wrote:
> Package: pdfsam
> Version: 1.1.4-2
> Severity: important
> 
> Dear Maintainer,
> 
> i have followed the instructions given by pdfsam-console but it isnt working 
> as aspected...
> 
> treaki@hostname:~/[...]/p01$ pdfsam-console -compressed -f page01.pdf -f 
> page02.pdf -o pr01.pdf concat
> [...]

When running exactly the same command, I get the same result. The reason
is that pdfsam has a certain expectation of the specification for the
output file (parameter '-o'). Using '-o ./pr01.pdf' (with a leading './'
to indicate that the file is to be created in the current directory) works:


$ pdfsam-console -compressed -f page01.pdf -f page02.pdf -o
./pr01.pdf concat
[warning] /usr/bin/pdfsam-console: No java runtime was found

=

 pdfsam console

 available properties:
 pdfsam.log.console.level
 pdfsam.log.file.level
 pdfsam.log.file.filename

  JAVA: java

  JAVA_OPTS: -Dlog4j.configuration=console-log4j.xml

  CLASSPATH:
:/usr/share/pdfsam/lib/dom4j.jar:/usr/share/pdfsam/lib/emp4j-1.0.1.jar:/usr/share/pdfsam/lib/itext.jar:/usr/share/pdfsam/lib/jaxen.jar:/usr/share/pdfsam/lib/log4j-1.2.jar:/usr/share/pdfsam/lib/looks.jar:/usr/share/pdfsam/lib/pdfsam-console-2.0.6e.jar:/usr/share/pdfsam/lib/pdfsam-jcmdline-1.0.3.jar:/usr/share/pdfsam/lib/pdfsam-langpack.jar


=

19:32:41,322 DEBUG  Console log level set to DEBUG
19:32:41,342 DEBUG  Starting arguments parsing.
19:32:41,348 DEBUG  Command 'concat' parsed in 5ms
19:32:41,348 DEBUG  Starting arguments validation.
19:32:41,350 DEBUG  Command 'concat' validated in 2ms
19:32:41,353 DEBUG  Creating temporary file..
19:32:41,401 INFO   /home/michi/page01.pdf: 1 pages to be added.
19:32:41,457 DEBUG  PdfSimpleConcatenator created.
19:32:41,482 INFO   1 pages processed correctly.
19:32:41,489 INFO   /home/michi/page02.pdf: 1 pages to be added.
19:32:41,493 INFO   1 pages processed correctly.
19:32:41,494 INFO   Total processed pages: 2.
19:32:41,509 DEBUG  File /home/michi/pr01.pdf created.
19:32:41,510 INFO   Command 'concat' executed in 159ms

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#792467: pdfsam: gui perspective is working console perspective isnt...

2015-07-14 Thread treaki
Package: pdfsam
Version: 1.1.4-2
Severity: important

Dear Maintainer,

i have followed the instructions given by pdfsam-console but it isnt working as 
aspected...

treaki@hostname:~/[...]/p01$ pdfsam-console -compressed -f page01.pdf -f 
page02.pdf -o pr01.pdf concat
=

 pdfsam console

 available properties:
 pdfsam.log.console.level
 pdfsam.log.file.level
 pdfsam.log.file.filename

  JAVA: /usr/lib/jvm/java-7-openjdk-amd64/bin/java

  JAVA_OPTS: -Dlog4j.configuration=console-log4j.xml

  CLASSPATH: 
:/usr/share/pdfsam/lib/dom4j.jar:/usr/share/pdfsam/lib/emp4j-1.0.1.jar:/usr/share/pdfsam/lib/itext.jar:/usr/share/pdfsam/lib/jaxen.jar:/usr/share/pdfsam/lib/log4j-1.2.jar:/usr/share/pdfsam/lib/looks.jar:/usr/share/pdfsam/lib/pdfsam-console-2.0.6e.jar:/usr/share/pdfsam/lib/pdfsam-jcmdline-1.0.3.jar:/usr/share/pdfsam/lib/pdfsam-langpack.jar

=

05:48:20,391 DEBUG  Console log level set to DEBUG
05:48:20,464 DEBUG  Starting arguments parsing.
05:48:20,486 DEBUG  Command 'concat' parsed in 16ms
05:48:20,486 DEBUG  Starting arguments validation.
05:48:20,490 DEBUG  Command 'concat' validated in 3ms
05:48:20,498 DEBUG  Creating temporary file..
05:48:20,653 INFO   /home/treaki/pr/trike/präsi/p01/page01.pdf: 1 pages to be 
added.
05:48:20,660 FATAL  Error executing ConsoleClient
java.lang.Exception: org.pdfsam.console.exceptions.console.ConcatException
at 
org.pdfsam.console.business.ConsoleServicesFacade.execute(ConsoleServicesFacade.java:101)
at org.pdfsam.console.ConsoleClient.main(ConsoleClient.java:78)
Caused by: org.pdfsam.console.exceptions.console.ConcatException
at 
org.pdfsam.console.business.pdf.handlers.ConcatCmdExecutor.execute(ConcatCmdExecutor.java:247)
at 
org.pdfsam.console.business.pdf.CmdExecuteManager.execute(CmdExecuteManager.java:64)
at 
org.pdfsam.console.business.ConsoleServicesFacade.execute(ConsoleServicesFacade.java:99)
... 1 more
Caused by: java.io.FileNotFoundException: null/PDFsamTMPbufferKRUCL1.pdf (No 
such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:221)
at java.io.FileOutputStream.init(FileOutputStream.java:171)
at 
org.pdfsam.console.business.pdf.handlers.ConcatCmdExecutor.execute(ConcatCmdExecutor.java:204)
... 3 more
treaki@hostname:~/[...]/p01$ 


thanks a lot and keep up the good work

-- System Information:
Debian Release: 8.0
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdfsam depends on:
ii  default-jre [java2-runtime]2:1.7-52
ii  java-wrappers  0.1.28
ii  libcommons-httpclient-java 3.1-10.2
ii  libdom4j-java  1.6.1+dfsg.3-2
ii  libhttpclient-java 4.3.5-2
ii  libitext-java  2.1.7-8
ii  libjaxen-java  1.1.6-1
ii  libjgoodies-looks-java 2.5.2-3
ii  liblog4j1.2-java   1.2.17-5
ii  openjdk-6-jre [java2-runtime]  6b32-1.13.4-4
ii  openjdk-7-jre [java2-runtime]  7u71-2.5.3-1+b1

pdfsam recommends no packages.

pdfsam suggests no packages.

-- no debconf information

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.