These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

can't dowlnoad anything at all!

user-416

Hello,

My platform is KDE Mint. Never any problem with that. And neither with get-iplayer: only a couple of days ago a couple of programmes were downloaded without any trouble whatsoever. But I just discovered that, whatever the show selected, all of a sudden get-iplayer just won't work now.

This is the Konsole output invariably coming up:

get-iplayer "http://www.bbc.co.uk/iplayer/episode/b05xgj05/1864-episode-6#group=p02q32xl"
get_iplayer v2.83, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.

INFO: Episode-only pid detected
INFO: Trying pid: b05xgj05 using type: tv
INFO Trying to stream pid using type tv
INFO: pid not found in tv cache
ERROR: Failed to get version pid metadata from iplayer site


Tried get-iplayer --type=tv as well. Same result. And if a download isn't working in KDE, it usually does in Ubuntu, on my desktop. But not this time: same result once again.

Subsequently, I attempted to find out if BBC now has killed get-iplayer completely (or something the like). Couldn't find anything bearing on the above little problem though.

Also consulted

https://squarepenguin.co.uk/wiki/documen...et_iplayer

I'm not sure, though, if this is what's required. Or which command to use, in case it is. So what do I do now? Can you give me some guidance please?

Thanks very much.

tnob

user-2

Those update instructions begin "If you installed by simply downloading the get_iplayer script...". Does that apply to you? I suspect not, so you should read the Ubuntu/Mint installation instructions in the wiki.

user-416

Hello,

For your information: I spent most of last Saturday trying to figure out which command applies in order to solve this problem. And yes: prior to putting in this thread. Moreover, some more time has just gone with Mint installation instructions in wiki - which only ensured that I now can't see the wood for the trees. And to add to my woes: get-iplayer has been behaving rather weirdly, in the meantime.

It's still impossible to download anything. But a friend very much more IT-savvy than I'll ever be suspects that get-iplayer, rather than an update, needs the cache cleaned up. However, every command used (--refresh, --refresh [force], --flush, -f) results in this:

get-iplayer --refresh
get_iplayer v2.83, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.

INFO: Getting tv Index Feeds
..................

Matches:
1: BBC iPlayer Feeds - -, BBC Three, HD,Highlights,Popular, default,audiodescribed,signed,

INFO: 1 Matching Programmes
peter@ptr-G585:~ > get-iplayer --flush
get_iplayer v2.83, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.

INFO: Getting tv Index Feeds
..................
Matches:
1: BBC iPlayer Feeds - -, BBC Parliament, HD,Highlights,Popular, default,signed,audiodescribed,

INFO: 1 Matching Programmes
peter@ptr-G585:~ > get-iplayer -f
get_iplayer v2.83, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.

INFO: Getting tv Index Feeds
..................
Matches:
1: BBC iPlayer Feeds - -, BBC Parliament, HD,Highlights,Popular, default,audiodescribed,signed,

INFO: 1 Matching Programmes

I was also advised to attempt get-iplayer --refresh [--force]. Guess what?

get_iplayer --refresh [--force]
get_iplayer v2.83, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.

INFO: Getting tv Index Feeds
..................
Matches:
1: BBC iPlayer Feeds - -, BBC Four, HD,Highlights,Popular, default,signed,audiodescribed,

INFO: 1 Matching Programmes

No matter what command inserted, the above persistently comes up. I myself did not change anything to get-iplayer's original settings, in the meanwhile, so something funny is going on here. Any idea what the fault might be?

Thanks very much.

Tnob

user-585

Yes you need to update to 2.94.

You are using a very old version of get_iplayer which no longer works.

What you are seeing above is because the feeds 2.83 tries to use to refresh the cache no longer exist. These feeds were changed in the next version and have recently been changed again.

user-30

Your friend is wrong. You will learn why by reading the release notes for versions after 2.83 (your current version) but in particular that for 2.89 and 2.93.

https://squarepenguin.co.uk/wiki/releasenotes/

You would also benefit from reading the blog entries here, particularly this one:

https://squarepenguin.co.uk/bbc-removes-...t_iplayer/

Further, installing in Mint is as simple as adding the required PPA and executing a couple of commands - all of which are detailed and formatted for simple copy and paste to your terminal:

https://squarepenguin.co.uk/wiki/installation/ubuntu/

Ignore the URL says 'Ubuntu', the title says Mint and the instructions will work perfectly for Mint - I know as I run a Mint install as my main machine and it works flawlessly using these exact instructions.

Executing the 4 commands from steps 1 to 3 one after the other will have get_iplayer installed/updated on your system within 2 minutes.

user-416

Thank you very much for your help, tyfan and square penguin. Not being able to use get-iplayer for more than a week has been rather frustrating, as you may understand. And going round in circles, as to the small matter of getting get-iplayer back on track, hasn't been conducive to a happy frame either. So your guidance to actual restoration may well be the most useful received - and is therefore greatly appreciated.

tnob

user-416

Hello again,

Below are Konsole read-outs I got on following up, step by step, on tyfan's and square penguin's guidelines :

1. Add the PPA repository:

Code:
sudo apt-get install python-software-properties software-properties-common

Reading package lists... Done
Building dependency tree      
Reading state information... Done
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
  libfftw3-single3:i386 libgomp1:i386 libzita-convolver3:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python3-pycurl python3-software-properties
Suggested packages:
  libcurl4-gnutls-dev python3-pycurl-dbg
The following NEW packages will be installed
  python3-pycurl python3-software-properties software-properties-common
0 to upgrade, 3 to newly install, 0 to remove and 40 not to upgrade.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/





1a:

Code:
sudo apt-add-repository ppa:jon-hedgerows/get-iplayer

You are about to add the following PPA to your system:
get_iplayer lists, searches and records BBC iPlayer TV/Radio, BBC Podcast programmes.

This ppa contains builds of get_iplayer together with sufficiently recent backported builds of the other programs it makes use of, specifically AtomicParsley and rtmpdump.

If you're feeling brave you might alternatively like to try
ppa:jon-hedgerows/get-iplayer-testing

If this breaks your system, try
  sudo ppa-purge ppa:jon-hedgerows/get-iplayer

For help please ask the get_iplayer mailing list:
http://lists.infradead.org/mailman/listinfo/get_iplayer

Enjoy!
More info: https://launchpad.net/~jon-hedgerows/+archive/ubuntu/get-iplayer
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.NNG6F2uR0n --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 02E04F78
gpg: requesting key 02E04F78 from hkp server keyserver.ubuntu.com
gpg: key 02E04F78: public key "Launchpad xbmc" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)</em>





2. Ensure package database is current:sudo apt-get update

Code:
Ign http://packages.linuxmint.com qiana/upstream Translation-en
100% [Working]

Fetched 3,464 kB in 11s (299 kB/s)
Reading package lists... Done






This, too, seems to have gone without a hitch.

<strong>3. <strong>Install get_iplayer from PPA with dependencies
:

Code:
sudo apt-get install get-iplayer

Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfftw3-single3:i386 libgomp1:i386 libzita-convolver3:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  atomicparsley libauthen-sasl-perl libmp3-info-perl libmp3-tag-perl
  libnet-smtp-ssl-perl libnet-smtp-tls-butmaintained-perl
  libunicode-string-perl
Suggested packages:
  libgssapi-perl texlive-latex-extra
Recommended packages:
  libimage-exiftool-perl
The following NEW packages will be installed
  atomicparsley libauthen-sasl-perl libmp3-info-perl libmp3-tag-perl
  libnet-smtp-ssl-perl libnet-smtp-tls-butmaintained-perl
  libunicode-string-perl
The following packages will be upgraded:
  get-iplayer
1 to upgrade, 7 to newly install, 0 to remove and 41 not to upgrade.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/






Still, this was the result upon attempting to download a BBC program:

Code:
INFO: Episode-only pid detected
INFO: Trying pid: b05y3m23 using type: tv
INFO Trying to stream pid using type tv
INFO: pid not found in tv cache
ERROR: Failed to get version pid metadata from iplayer site






And thus get-iplayer is not yet back on track. Might this be related to what the final clauses under both 1. and 3. are saying (below)?

Code:
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/



- The Konsole readout under 3. also states:

The following packages were automatically installed and are no longer required:
libfftw3-single3:i386 libgomp1:i386 libzita-convolver3:i386
Use 'apt-get autoremove' to remove them.`

Could it be the packages highlighted above are still blocking the new installation? If so, I can't remove them:

Code:
apt-get autoremove libfftw3-single3
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



And exactly so for the other three obsolete packages as referred to in the quote overhead.

- If the current get-iplayer configuration is completely uninstalled and, subsequently, replaced with 2.93, will that affect get-iplayer downloads already in my system? Unfortunately, I currently don't dispose of sufficient external backup storage space to move said listing temporarily out of the way. And I most certainly don't want to run the risk of rendering it unplayable.

I need this sorted on Saturday coming up, at the latest, in connection with penultimate and final episodes of a series expiring thereafter. If anyone can help with ideas/suggestions, please jump in.

tnob

user-2

You can only have one installer running at a time. You probably left Muon or Synaptic or equivalent running while attempting the install get_iplayer at a command prompt. If you can't figure out what you did, try rebooting to clear the locks. The messages warning about lock files are not related to get_iplayer.

user-30

Yes, it is related to that error message as none of your installations were actually carried out:

Code:
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/



If you have stuck that error into Google you'd have likely ended up here:

http://askubuntu.com/questions/531853/co...-lock-open

..or even here (the fourth result):

http://www.unixmen.com/solve-error-e-get...-debian-7/

...which will likely sort the problem for you and give you a clue as to what to do next.

With regards to your autoremove question, this demonstrates that you don't know enough about sudo and how apt-get works. This isn't any criticism, more a statement of fact, as those in the know (or had read up on apt-get) would have understood immediately that you can't just run
Code:
apt-get autoremove
as a normal user, you need to be root or use sudo.

Have a read of the following two links and things will probably become a bit less opaque.

https://help.ubuntu.com/community/AptGet/Howto

https://help.ubuntu.com/community/RootSudo

user-416

Hello all,

My struggles with getting get-iplayer 2.94 in place, for the past fortnight or so, finally seem to have come to an end.

I'm happy to report that I ultimately managed to by-pass var lock with sudo -s , which temporarily assigned me as 'root'. Thus, get-iplayer has presently been restored to full working order.

Much to my relief, I must say. I always find it rather hard to figure out the command fitting the situation best, considering the forest of possibilities out there. And being of a generation that didn't grow up naturally with digital technology, attempting to penetrate this can be rather muddling: the jargon employed opaque indeed, sometimes.

Anyway: thank you very much for your useful links and pointers contributed towards moving my little problem out of the way.

tnob

user-30

That's great news.

I know it might have been easier if we all here had just said 'type XXX and it'll get fixed', but you wouldn't have gained much from that.

I hope now you've had a read of those extra links provided that next time something comes up you might know what to look into and save youself some time and headaches!

These forums are archived

See this post for further info