Project:Media Mover
Version:6.x-2.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I'm trying to automate PDF to SWF conversion using 'pdf2swf' and Media Mover custom commands.

Media Mover is suppose to start when uploading a PDF using a CCK field which is being detected, no problem.

Where it goes wrong is during the Media Mover process. I have set the parameters to
Output file: [nid].swf
Command: /usr/bin/pdf2swf -f -T 9 -t -G [data-harvest_file] -o [output_file]

Afterwards, it is supposed to be saved as a flash node.

The problem is no .swf-file is created. So I'm not sure if the harvested file get parsed correctly at all.

Comments

#1

can you try running the command in the root of your drupal directory to see if there is any output then? It could also be the case that apache does not have rights to execute pdf2swf. I'm assuming you're using the custom command media mover module?

#2

Yes, I'm using custom command.
Running pdf2swf is working even in the Drupal root directory.

How can I check permissions for Apache?

#3

Status:active» closed (fixed)

Solved.
The correct command should be:
/usr/bin/pdf2swf -f -T 9 -t -G [harvest_file] -o [output_file]

Even though the token describes '[harvest_file] as Path to harvested file'. :S