Bug 444187 - Unknown error code 100 execvp: Exec format error
Summary: Unknown error code 100 execvp: Exec format error
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-21 11:26 UTC by Optional
Modified: 2022-07-02 14:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Optional 2021-10-21 11:26:21 UTC
SUMMARY: With creating a python file, and setting it to execute, once executed I get an error.

STEPS TO REPRODUCE
1. Download the proper files to make your own Python file.
2. Create one.
3. Execute it.

OBSERVED RESULT:
Instead of executing, I get the error:

Error - Plasma

Unknown error code 100
execvp: Exec format error
Please send a full bug report at https://bugs.kde.org.


EXPECTED RESULT

To execute the Python file without error.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Garuda
KDE Plasma Version:
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I honestly have no clue what product this should actually go to, the only thing I have to go on is knowing is that the error part is "Error - Plasma".
Comment 1 Tony 2021-10-22 00:48:24 UTC
This is quite posibly a python or permission issue than plasma.
Check both are correct.
Comment 2 Nagy Tibor 2021-10-22 01:28:54 UTC
Do you have the correct shebang at the beginning of your Python source file? This line without any preceding newlines or whitespace:

#!/usr/bin/env python3

Also make sure if you're using UTF-8, save your file without byte-order marks (BOM).
Comment 3 Nicolas Fella 2022-07-02 14:02:01 UTC
Your shebang is missing/broken. Not a Plasma issue

See also https://bugs.kde.org/show_bug.cgi?id=446273