question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"How do you want to open this file?" popup when running ytmdl on windows 10

See original GitHub issue

Bug report

Checklist

  • I have searched for similar bugs in the issues.
  • I will add the bug label to this issue.

Version Info

  • Ytmdl version: 2021.03.04
  • Youtube-dl version: 2021.04.17

How Ytmdl was installed?

pip install -U ytmdl

Console Log

Not applicable, happens before any ytmdl code runs.

Description

When the command ytmdl is run, it opens a “How do you want to open this file?” prompt, like this image The program itself runs perfectly fine when running it via python (which ytmdl|% Source) (finds the location of ytmdl and runs it with python) in PowerShell. I assume the reason this is is because ytmdl in the python Scripts folder has no file extension. This could be rectified by changing it to ytmdl.py

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
stale[bot]commented, Feb 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for another 7 days. Thank you for your contributions.

2reactions
Vresodcommented, Nov 1, 2021

As an added note, another workaround is copying the plain ytmdl file to site-packages\ytmdl\__main__.py which appears to work to make it run with python -m ytmdl

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix How Do You Want to Open This File ... - YouTube
How to Fix How Do You Want to Open This File Popup on Windows 10 Startup.This message is Windows 10's attempt to set...
Read more >
"How do you want to open this file" popup appears at random.
1. Follow the steps here to boot in a clean boot state to disable non-Microsoft apps running at startup: · 2. Run an...
Read more >
"How Do You Want to Open This File" on Windows 10
Opening a file on Windows 10 is simple; double-click it and it will open in the default app for the file. If you've...
Read more >
ytmdl Web - A webapp that lets you download music by getting ...
ytmdl Web - A webapp that lets you download music by getting the audio from YouTube and metadata from various sources like Itunes,...
Read more >
ytmdl - Python Package Health Analysis | Snyk
Learn more about ytmdl: package health score, popularity, security, maintenance, ... Looks like ytmdl is missing a security policy. ... Open Issues: 9....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found