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

Error exporting PDF #329

Closed
Orifiel opened this issue Apr 24, 2019 · 1 comment
Closed

Error exporting PDF #329

Orifiel opened this issue Apr 24, 2019 · 1 comment

Comments

@Orifiel
Copy link
Contributor

Orifiel commented Apr 24, 2019

I can normally create a character and generate the file using the "save as".

However when trying to export the pdf, present the following error (via terminal)

Traceback (most recent call last):
File "/home/cleiton/l5r-character-manager-3/l5r/sinks/sink_1.py", line 86, in export_character_as_pdf
form.export_as_pdf (file_)
File "/home/cleiton/l5r-character-manager-3/l5r/l5rcmcore/init.py", line 259, in export_as_pdf
self.flatten_pdf (source_fdf, source_pdf, fpath)
File "/home/cleiton/l5r-character-manager-3/l5r/l5rcmcore/init.py", line 188, in flatten_pdf
subprocess.call (args_)
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen (* popenargs, ** kwargs) .wait ()
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] nonexistent file or directory

PLZ HELP ME

@Orifiel
Copy link
Contributor Author

Orifiel commented Apr 24, 2019

Consegui resolver.

O problema esta que o pacote PDFTK já não faz referencia com esse nome e sim como PDFTK-JAVA, e o L5RCM entende apenas o PDFTK.

Assim desinstalei a versão pdftk-java e instalei a versão anterior pdftk.

funcionou!

@Orifiel Orifiel closed this as completed Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant