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

collection extension and pdfsam-console → render error #7

Open
maximeB opened this issue Dec 6, 2012 · 1 comment
Open

collection extension and pdfsam-console → render error #7

maximeB opened this issue Dec 6, 2012 · 1 comment

Comments

@maximeB
Copy link

maximeB commented Dec 6, 2012

My apologies, I'm the guilty here, but I noticed a bug when using the collection extension and pdfsam: the render simply crashes.

The problem is that the executed command is something like:
pdfsam-console -f /path/tmp.rl -f toc.pdf -o final.pdf -overwrite

BUT pdfsam does not recognise .rl as a pdf format (which is quite understandable) AND does not return an error so mwlib.rl "thinks" it worked, which is false and final.pdf does not exist, which causes an error afterwards.

I do not understand why when I run mw-render the temporary file is named with the right extension and when the server is used the extension is .rl
Is this really useful ? or could it be replaced by .pdf ?

@maximeB
Copy link
Author

maximeB commented Dec 7, 2012

After a bit of research it seams that the Collection extension actually asks for a .rl file (quite odd) therefore the problem comes from Collection. Mwlib does exactly what it's been asked to :)
Note: Maybe we should move this thread to collection extension's issues, but I don't know how. Sorry.

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