Hi,
I have written a simple post-processing script in python which accepts an argument (the filename) and converts the format. I have put it in a folder, and put the path to this folder in the Sab Config>Folders Post-Processing Script area. I have tried to download a file, but the script isn't being run. Am I doing something wrong?
Thanks
Running a python post processing script
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: Running a python post processing script
what operating system?
if windows, go to CMD and type the command you are giving to SAB. Does it run? If not, it won't run under SAB either. I suspect you need to associate .py files with the python.exe
if windows, go to CMD and type the command you are giving to SAB. Does it run? If not, it won't run under SAB either. I suspect you need to associate .py files with the python.exe
Re: Running a python post processing script
It is windows, where can I specify a command to sab. All I can see is a section to put a folder containing scripts (under Config>Folders)
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: Running a python post processing script
sory for the delay in responding.
in config/categories you can specify a script per category type and you can set a default script in config/switches
in config/categories you can specify a script per category type and you can set a default script in config/switches