Discussion:
Perl error get_iplayer 3.12 running on windows 7
Dave Widgery
2018-02-22 07:21:29 UTC
Permalink
Hi

I went to manually run the get_iplayer command prompt today and a error
box popped up with the following message.

Perl.exe - No Disk
There is no disk in the drive. Please insert a disk into drive
\Device\Harddisk1\DR9

I normally run the command line from a batch file with the windows
sheduler and this appears to work OK, it is the first time that I have
run get_iplayer from the icon for a long time, so I don't know when this
started, maybe before I upgraded to 3.12.

I have just tried running the batch file by clicking on it and that also
worked without an error.

iptv_c.bat
------------------------------------------
echo on
echo "TV Programs"
for /F "tokens=*" %%A in (tvprog.txt) do get_iplayer --get %%A
--tvmode=vgood --no-hq-audio --nopurge --output=c:\iplayer\tv\
--file-prefix="<name>-<episode>"

-----------------------------------------

I tried un-installing and reinstalling get_iplayer, no change.

environment output from SET

-------------------------------------------------------------------

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\User>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\User\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=OWNER-PC
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\User
LOCALAPPDATA=C:\Users\User\AppData\Local
LOGONSERVER=\\OWNER-PC
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Microsoft Network Monitor 3\;C:\Program Files (x86)\get_iplayer
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program
Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\User\AppData\Local\Temp
TMP=C:\Users\User\AppData\Local\Temp
USERDOMAIN=Owner-PC
USERNAME=User
USERPROFILE=C:\Users\User
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

C:\Users\User>

-----------------------------------------------

Any ideas

Dave
MacFH - C E Macfarlane
2018-02-22 11:58:35 UTC
Permalink
Post by Dave Widgery
Hi
I went to manually run the get_iplayer command prompt today and a
error box popped up with the following message.
            Perl.exe - No Disk
            There is no disk in the drive. Please insert a disk into
drive
            \Device\Harddisk1\DR9
Hi,

My best guess is that the message means exactly what it says!  How much
disk space is left on your C: drive?

More generally, although diskspace may or may not be the problem here,
it is worth reiterating how unfortunate it is that Windows, like many
other OSs, defaults to storing everything on one drive or partition,
whereas many experienced people would claim that it is better to put the
OS on one drive or partition  -  leaving enough diskspace spare for
swapspace, the hibernation file, to run updates, install some new
software, accommodate an occasional large temporary file, etc  -  and to
put the user data on a seperate drive or partition.  That way user data
can completely fill its drive or partition without grinding the PC to a
halt, whereas if everything is on the same drive or partition, excessive
user data can prevent the creation of temporary files, prevent
increasing the amount of swapspace when needed, etc, and thus the OS can
grind to a halt.

Regards
C E Macfarlane.
MacFH - C E Macfarlane
2018-02-22 12:59:20 UTC
Permalink
Post by Dave Widgery
Thanks for the reply but unfortunately (or fortunately) I currently
only have a single drive (C:) and it still has 67Gb of disk space left.
Post by Dave Widgery
            \Device\Harddisk1\DR9
Sorry, should've noticed sooner that rather strange disk designation.  A
couple more suggestions/questions ...

Have you recently plugged something into the PC such as a phone or
external USB drive?
Could this have corrupted somehow your Options file in your GetIPlayer
profile directory?
Dave Widgery
2018-02-22 12:42:01 UTC
Permalink
Thanks for the reply but unfortunately (or fortunately) I currently only
have a single drive (C:) and it still has 67Gb of disk space left.

Dave

------ Original Message ------
From: "MacFH - C E Macfarlane" <***@macfh.co.uk>
To: "Dave Widgery" <***@gmail.com>; "get_iplayer"
<***@lists.infradead.org>
Sent: 22/02/2018 12:58:35
Subject: Re: Perl error get_iplayer 3.12 running on windows 7
Post by Dave Widgery
Hi
I went to manually run the get_iplayer command prompt today and a
error box popped up with the following message.
Perl.exe - No Disk
There is no disk in the drive. Please insert a disk into drive
\Device\Harddisk1\DR9
Hi,
My best guess is that the message means exactly what it says! How much
disk space is left on your C: drive?
More generally, although diskspace may or may not be the problem here,
it is worth reiterating how unfortunate it is that Windows, like many
other OSs, defaults to storing everything on one drive or partition,
whereas many experienced people would claim that it is better to put
the OS on one drive or partition - leaving enough diskspace spare for
swapspace, the hibernation file, to run updates, install some new
software, accommodate an occasional large temporary file, etc - and to
put the user data on a seperate drive or partition. That way user data
can completely fill its drive or partition without grinding the PC to a
halt, whereas if everything is on the same drive or partition,
excessive user data can prevent the creation of temporary files,
prevent increasing the amount of swapspace when needed, etc, and thus
the OS can grind to a halt.
Regards
C E Macfarlane.
Dave Widgery
2018-02-22 13:40:06 UTC
Permalink
Hi
I daily connect a USB hard drive to the machine as I then plug the disk
directly into the TV to play anything that has been recorded, I also
regularly plug USB keys and phones into the machine.

When I did the un-install and reinstall I didn't delete the .get_iplayer
directory as I didn't want to lose my history file and I checked the
get_iplayer install directory and the only things left were my own batch
files, where can I find the options file ( I have never used it before)?
and why would a reinstall not set it back to defaults?

Dave

------ Original Message ------
From: "MacFH - C E Macfarlane" <***@macfh.co.uk>
To: "Dave Widgery" <***@gmail.com>; "get_iplayer"
<***@lists.infradead.org>
Sent: 22/02/2018 13:59:20
Subject: Re: Perl error get_iplayer 3.12 running on windows 7
Post by Dave Widgery
Thanks for the reply but unfortunately (or fortunately) I currently
only have a single drive (C:) and it still has 67Gb of disk space
left.
Post by Dave Widgery
\Device\Harddisk1\DR9
Sorry, should've noticed sooner that rather strange disk designation. A
couple more suggestions/questions ...
Have you recently plugged something into the PC such as a phone or
external USB drive?
Could this have corrupted somehow your Options file in your GetIPlayer
profile directory?
MacFH - C E Macfarlane
2018-02-22 15:49:08 UTC
Permalink
Post by Dave Widgery
Hi
I daily connect a USB hard drive to the machine as I then plug the
disk directly into the TV to play anything that has been recorded, I
also regularly plug USB keys and phones into the machine.
When I did the un-install and reinstall I didn't delete the
.get_iplayer directory as I didn't want to lose my history file and I
checked the get_iplayer install directory and the only things left
were my own batch files, where can I find the options file ( I have
never used it before)? and why would a reinstall not set it back to
defaults?
Dave
Hi,

In W7 it should be in a folder called
'C:\Users\<USERPROFILE>\.get_iplayer'.  Besides a possible 'options'
file, there should also be 'download_history' whose contents are
self-explanatory, and two *.cache files which hold the current radio and
tv programme metadata.  There will be other files also.  All the four
I've named explicitly are text files, and so can be examined in
Notepad.  If there is an options file, check that it doesn't contain
anything weird like the disk path you quoted.

Apart from that, I'm not sure I can help much further, though you could
use the --debug switch to see if you can get a better idea of what's
going wrong.

Regards,
C E Macfarlane.

Loading...