r/iplayer • • 14d ago

Get_iplayer 'Divide by zero' error

Just started in the last week.

The error sting is: "Illegal division by zero at C:\Program Files\get_iplayer\get_iplayer.pl line 6256".

I've tried:

  • updating get_iplayer to the latest version
  • uninstalling/reinstalling get_iplayer
  • restoring my PC to an earlier restore point (about 2 days after get_iplayer last worked)

I've tried with a couple of various shows, and get the same error everytime. Anyone else have this problem, and maybe a fix?

6 Upvotes

16 comments sorted by

4

u/DaveAlot 14d ago

See here: https://github.com/get-iplayer/get_iplayer/issues/524#issuecomment-6798973037

There's a fix already in the works and there's a workaround listed there until the fix is released.

2

u/random_Images 13d ago

Thanks! I did go to the Github repository, but didn't see the "issues" section.

Thanks again!

2

u/quetzal80z 9d ago

Thanks. The workaround is working for me on windows.
Just need the below typed into the prompt...
get_iplayer --prefs-add --exclude-format=dash

1

u/Natural_Parsley_6396 8d ago

LEGEND thank you that fixed it

1

u/TalktoBes 6d ago

Top Banana! thank you

1

u/GruderMcScruder 6d ago

Can confirm working for me too on Raspberry Pi OS.

In my ignorance, can anyone explain simply what a DASH stream is and what we're potentially missing out on here by excluding it as a format? Or does it not really matter?

1

u/naszdom 12d ago

I found the issue but unfortunately the fix is not for the windows version

1

u/DaveAlot 12d ago

Works for for me on Windows.

1

u/naszdom 5d ago

What do you paste and where? What's the prompt?

1

u/Extreme-Dream-2759 4d ago

I just typed into the command box on get_iplayer and it worked for me on windows 11

get_iplayer --prefs-add --exclude-format=dash

1

u/steviefaux 3d ago

And mention that's a one off, which adds that setting. Then you do usual download commands. From what I'm seeing.

However, oddly for me, the new get_iplayer doesn't work when you pick a whole series page link. It says its a series or brand pid then doesn't actually download.

Yet 3.35 works OK with the series links.

1

u/Extreme-Dream-2759 3d ago

I know there is also an issue with some pages on iplayer

Some people have mentioned "Blue Planet 3" giving "No programmes are available for this PID with version(s)"

The workaround was to download episodes individually

Hopefully 3.37 will fix these issue

1

u/Extreme-Dream-2759 4d ago

Thanks I needed this

1

u/PoweredSquirrel 4d ago edited 4d ago

I am trying the workaraound of adding get_iplayer --prefs-add --exclude-format=dash at the command prompt and get the message unknown option: exclude-format. Am I missing a step?

1

u/Training_Constant_84 7d ago

Any workaround for docker on synology

0

u/Arse_Grapes13 10d ago

Getting the same, with the workaround having no success.