Trouble getting get_iplayer.cgi to run under Cygwin

dinkypumpkin dinkypumpkin at gmail.com
Thu Nov 20 11:52:40 PST 2014


On 17/11/2014 17:41, Margate Sands wrote:
> I have encountered a bit of a problem when I try to run
> get_iplayer.cgi using Cygwin environment. So far I have:
> ...
> <filename>: No such file or directory at /usr/bin/get_iplayer.cgi line 2341

I guess nobody has been using Cygwin (including me).  A function in one 
of the Perl core modules behaves differently in Cygwin that it does in 
other unix-like systems.  Cwd::abs_path dies when it is fed a 
non-existent file instead of ignoring it. I've posted a patch to work 
around this issue:

https://github.com/dinkypumpkin/get_iplayer/wiki/installation#githead

Update both  get_iplayer and get_iplayer.cgi.  I've also patched the CLI 
to use the Cygwin home directory as the default parent for get_iplayer's 
profile directory, rather than the Windows home directory.  Bad things 
can happen if the Windows version of get_iplayer is also installed and 
the Cygwin version picks up its configuration.




More information about the get_iplayer mailing list