Comment 3 for bug 800551

Revision history for this message
Michael Wild (themiwi) wrote :

As I said, I tried "pdfmanipulate crop". For an easier example resulting in the same error, try

$ pdfmanipulate reverse -o tmp-r.pdf tmp.pdf
Traceback (most recent call last):
  File "/usr/bin/pdfmanipulate", line 19, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/ebooks/pdf/manipulate/cli.py", line 61, in main
    return COMMANDS[command].main(args, command)
  File "/usr/lib/calibre/calibre/ebooks/pdf/manipulate/reverse.py", line 101, in main
    reverse(args[0], opts.output, mi)
  File "/usr/lib/calibre/calibre/ebooks/pdf/manipulate/reverse.py", line 69, in reverse
    out_pdf = PdfFileWriter(title=title, author=author)
TypeError: __init__() got an unexpected keyword argument 'title'