Summary: | Error after double clicking on .py file when is_executable is checked | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Artur Rudenko <catcool419> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | kfm-devel, p.r.worrall |
Priority: | NOR | ||
Version First Reported In: | 21.08.3 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Error window
Python test file |
Description
Artur Rudenko
2021-11-25 18:53:11 UTC
Created attachment 143967 [details]
Python test file
I followed your steps, creating the attached .py (a simple "Hello World" using PyQt5), but couldn't reproduce the error message, could you repeat the test with the attached file?
(In reply to Paul Worrall from comment #1) > Created attachment 143967 [details] > Python test file > > I followed your steps, creating the attached .py (a simple "Hello World" > using PyQt5), but couldn't reproduce the error message, could you repeat the > test with the attached file? Ah, missing shebang is the problem. Without "#!/usr/bin/env python3", looks like it is trying to run it as bash file, even if the file has .py extension |