8000 get_iplayer fails to launch via Scoop shim when user profile path contains spaces (e.g. "Joe Bloggs") · Issue #496 · get-iplayer/get_iplayer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

get_iplayer fails to launch via Scoop shim when user profile path contains spaces (e.g. "Joe Bloggs") #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks done
incongruousmind opened this issue Apr 4, 2025 · 0 comments
Labels
invalid This doesn't seem right

Comments

@incongruousmind
Copy link

Do not file a bug report if you are using get_iplayer outside the UK. If you do, your report will be ignored.

  • I am not using get_iplayer outside the UK

Do not file a bug report if you are using get_iplayer with a VPN or proxy from any location, including the UK. If you do, your report will be ignored.

  • I am not using get_iplayer with a VPN or proxy from any location, including the UK

Search the repository (search field at top left) to see if a report already exists for the bug in the issue tracker. Do not create a duplicate report. Duplicate reports will be ignored.

  • I have searched the repository and found no existing reports of the bug in the issue tracker

Review recent open and closed entries in the issue tracker to see if a report already exists for the bug. Do not create a duplicate report. Duplicate reports will be ignored.

  • I have reviewed recent open and closed entries in the issue tracker and found no existing reports of the bug

Ensure that you are using get_iplayer 3.35 or higher. If not, your report will be ignored.

  • I am using get_iplayer 3.35 or higher

Identify the operating system and version where get_iplayer demonstrates the bug

Windows 11

Provide a clear and concise description of the bug. Do not paste get_iplayer output or screenshots into the field below. If you do, your report will be ignored.


💥 Bug: get_iplayer fails when Scoop is installed under a user profile with spaces in the name

❌ Problem

When get_iplayer is installed via Scoop and the Windows user profile contains a space (e.g. C:\Users\Joe Bloggs), running get_iplayer results in the following error:

'C:\Users\Joe' is not recognized as an internal or external command,
operable program or batch file.

This happens because the launch script does not properly quote paths that include spaces.


🧪 Diagnosis

The file:

C:\Users\Joe Bloggs\scoop\apps\get-iplayer\current\scoop_get_iplayer.cmd

contains:

@echo off
%~dp0get_iplayer.cmd --profile-dir "C:\Users\Joe Bloggs\scoop\apps\get-iplayer\3.35.0\profile" %*

This breaks because %~dp0get_iplayer.cmd expands to a path with spaces and is not wrapped in quotes.


✅ Fix

Edit the file:

C:\Users\Joe Bloggs\scoop\apps\get-iplayer\current\scoop_get_iplayer.cmd

Change this line:

%~dp0get_iplayer.cmd --profile-dir "C:\Users\Joe Bloggs\scoop\apps\get-iplayer\3.35.0\profile" %*

To this:

@"%~dp0get_iplayer.cmd" --profile-dir "C:\Users\Joe Bloggs\scoop\apps\get-iplayer\3.35.0\profile" %*

This wraps the path in quotes so it works even if the path contains spaces.


📌 Suggested Fix

The scoop_get_iplayer.cmd script generated by the Scoop install should quote the path to get_iplayer.cmd to avoid this issue for users with spaces in their usernames or install paths.


Provide the PID or URL of the programme you are attempting to download, if applicable. Provide the PID or URL for only one programme.

No response

Provide the complete get_iplayer command line that demonstrates the bug. Do not truncate or excerpt the command. If you do, your report will be ignored. If you are using the Web PVR, list the steps necessary to reproduce the bug, in as much detail as possible.

scoop bucket add main
scoop install main/get-iplayer
get_iplayer

Drag your verbose log file into the field below to create an attachment. Your verbose log file must be added as an attachment. Do not paste its contents into the field below. If you do, your report will be ignored. You may enter a URL linking to your verbose log file on a pastebin site. If the bug prevents get_iplayer from running, enter "N/A" in the field below. If you enter any other text in the field below, your report will be ignored.

error.log

If you are using the Web PVR, provide your web browser name and version. This information typically can be found from the application menu via Chrome/Firefox/Safari->About... (macOS) or Help->About... (Linux/Windows)

No response

@github-actions github-actions bot closed this as completed Apr 4, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2025
@github-actions github-actions bot added the invalid This doesn't seem right label Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant
0