script-torrent-done-filename nzbToMedia Windows 10 daemon

Ask for help and report issues with the Windows version of Transmission
Posts: 1
Joined: Sat Feb 16, 2019 2:51 am

script-torrent-done-filename nzbToMedia Windows 10 daemon

Postby samkatakouzinos » Sat Feb 16, 2019 5:17 am


I've been running transmissionbt from transmission-2.94+-rc019317548-x64.msi as daemon.
I've been using nzbToMedia for other services successfully. Trying to make it work here.
I try to call the python script.

Logfile shows error;

Code: Select all

[YYYY-MM-DD HH:MM:SSS.sss] <file> Calling script "C:\Program Files\Python27\python.exe D:\fs\pg\pf\nzbToMedia\-\nzbToMedia\" (C:\Transmission\Jenkins\workspace\trunk-win32\arch\x64\label\pepito-win10\libtransmission\torrent.c:2261)
[YYYY-MM-DD HH:MM:SSS.sss] <file> Error executing script "C:\Program Files\Python27\python.exe D:\fs\pg\pf\nzbToMedia\-\nzbToMedia\" (2): Call to CreateProcess() failed: The system cannot find the file specified. (C:\Transmission\Jenkins\workspace\trunk-win32\arch\x64\label\pepito-win10\libtransmission\torrent.c:2267)

I've also tried with calling the python file directly only.
Both attempts unsuccessful.

Also tried changing to and from LocalService and LocalSystem accounts.

Am I doing it wrong?
Have I missed a step?
Do I need additional config to my computer outside of transmission?

Any advice appreciated.

Transmission Developer
Posts: 259
Joined: Wed Dec 25, 2013 10:56 pm

Re: script-torrent-done-filename nzbToMedia Windows 10 daemon

Postby mike.dld » Sat Feb 16, 2019 6:02 am

You're specifying a command instead of a single file for script path, this won't work. Since we don't currently support running .py scripts directly, you'll need to create a wrapper .bat/.cmd script (specifying path to it in settings.json instead) and do whatever you want in it, including running Python. Another option would be to convert your Python script to an .exe (there're tools for that out there). Hope that helps.

Return to “Windows Support”