-
Notifications
You must be signed in to change notification settings - Fork 734
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
UFW in dunfell: 'python': No such file or directory #327
Comments
Using python3 with dunfell would be definitely preferred. Patches are always welcome. |
This should fail on master as well. There have not been any changes to the recipe zeus |
I have fixed this issue for my system. I'll create a pull request soon |
Silcet
added a commit
to Silcet/meta-openembedded
that referenced
this issue
Apr 23, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]>
Closed
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 24, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Silcet
added a commit
to Silcet/meta-openembedded
that referenced
this issue
Apr 24, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]>
Silcet
added a commit
to Silcet/meta-openembedded
that referenced
this issue
Apr 26, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 26, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 26, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 26, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 26, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 27, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 29, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Apr 29, 2021
[meta-openembedded ticket openembedded#327] -- openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
halstead
pushed a commit
that referenced
this issue
May 22, 2021
[meta-openembedded ticket #327] -- #327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]> (cherry picked from commit 5194af1) Signed-off-by: Armin Kuster <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Jan 20, 2022
changelogs: ============================================================= Truncate input after cursor. Fixes openembedded#351 (openembedded#352) Support of path completion in fish openembedded#327 (openembedded#359) Drop support for Python 2.7 and 3.5 (openembedded#361) Add support for Python 3.10 (openembedded#356) Test, documentation, and release infrastructure improvements Signed-off-by: Xu Huan <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Jan 20, 2022
changelogs: ============================================================= Truncate input after cursor. Fixes openembedded#351 (openembedded#352) Support of path completion in fish openembedded#327 (openembedded#359) Drop support for Python 2.7 and 3.5 (openembedded#361) Add support for Python 3.10 (openembedded#356) Test, documentation, and release infrastructure improvements Signed-off-by: Xu Huan <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Jan 20, 2022
changelogs: ============================================================= Truncate input after cursor. Fixes openembedded#351 (openembedded#352) Support of path completion in fish openembedded#327 (openembedded#359) Drop support for Python 2.7 and 3.5 (openembedded#361) Add support for Python 3.10 (openembedded#356) Test, documentation, and release infrastructure improvements Signed-off-by: Xu Huan <[email protected]> Signed-off-by: Khem Raj <[email protected]>
halstead
pushed a commit
that referenced
this issue
Jan 21, 2022
changelogs: ============================================================= Truncate input after cursor. Fixes #351 (#352) Support of path completion in fish #327 (#359) Drop support for Python 2.7 and 3.5 (#361) Add support for Python 3.10 (#356) Test, documentation, and release infrastructure improvements Signed-off-by: Xu Huan <[email protected]> Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Trevor Gamblin <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Jan 21, 2022
Changelog: ========= lib: Fix wrong type alert from lgtm gtest_dlt_daemon_gateway: fix gtest build failed lib: generate dlt library internal log file tests: add stdlib to dlt_cpp_extension dlt_user: Make dlt_init thread safe remove clang-tidy analyzer warnings: incompatible pointer type debian: improve debian build package dlt-control-common: shutdown and close socket dlt_common: improve function description gtest: Bring-in changes gtest: Rework WORKING_DIRECTORY gtest: Correct data amount in gtest_dlt_common cmake: Set empty to systemd_SRCS gtest: Refactor tests/CMakeLists.txt lib: Add SOCK_CLOEXEC to socket daemon: Create parent directory for unix socket cmake: Correct added subdirectories console: Add cmake options for control and timestamp tests: Adapt to DLT_DISABLE_MACRO header: Adapt to DLT_DISABLE_MACRO include: Refactor CMakeLists.txt gtest: Change script name to gtest_dlt_daemon_offline_log.sh daemon: Enable to use FIFO on QNX tests: Add new test case with given buffer tests: Enable macro disabling lib: Add new interfaces with given buffer Implemention of tests for the dlt-qnx-system module lib: Add MaxFileSize handling client: pthread_join for deinit doc: update initial log level document dlt-system: Fix memory leak in dlt-system config dlt_common: remove duplicate stdbool header dlt-control: Add option to config port system: use signalfd for dlt-system console: provides args option to enable send/receive serial header fix malformed printf format strings (openembedded#295) cmake: Set WITH_LEGACY_INCLUDE_PATH to ON as default (openembedded#334) Make the legacy include path a CMake option (openembedded#332) daemon: Call dlt_daemon_configuration_load() properly (openembedded#330) dlt_user: Use pthread_setname_np() if available (openembedded#326) libdlt: Add legacy include path in exported CMake config file (openembedded#327) lib: Set TYLE to 1 for BOOL type (openembedded#320) file-transfer: Abort file transfer if get serial number failed dlt_user.c: fixing casting wrong type dlt-sortbytimestamp: Remove duplicated conditional statements code dlt-convert: Remove duplicated conditional statements code doc: Minor fix in dlt_for_developers.md (openembedded#321) dlt-control-common.c: Fix build failure due to out-of-bound write -Werror=stringop-truncation Extend include path in *.pc file (openembedded#319) Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Jan 25, 2022
317.patch removed since it is included in 2.18.8 Changelog: ========= lib: Fix wrong type alert from lgtm gtest_dlt_daemon_gateway: fix gtest build failed lib: generate dlt library internal log file tests: add stdlib to dlt_cpp_extension dlt_user: Make dlt_init thread safe remove clang-tidy analyzer warnings: incompatible pointer type debian: improve debian build package dlt-control-common: shutdown and close socket dlt_common: improve function description gtest: Bring-in changes gtest: Rework WORKING_DIRECTORY gtest: Correct data amount in gtest_dlt_common cmake: Set empty to systemd_SRCS gtest: Refactor tests/CMakeLists.txt lib: Add SOCK_CLOEXEC to socket daemon: Create parent directory for unix socket cmake: Correct added subdirectories console: Add cmake options for control and timestamp tests: Adapt to DLT_DISABLE_MACRO header: Adapt to DLT_DISABLE_MACRO include: Refactor CMakeLists.txt gtest: Change script name to gtest_dlt_daemon_offline_log.sh daemon: Enable to use FIFO on QNX tests: Add new test case with given buffer tests: Enable macro disabling lib: Add new interfaces with given buffer Implemention of tests for the dlt-qnx-system module lib: Add MaxFileSize handling client: pthread_join for deinit doc: update initial log level document dlt-system: Fix memory leak in dlt-system config dlt_common: remove duplicate stdbool header dlt-control: Add option to config port system: use signalfd for dlt-system console: provides args option to enable send/receive serial header fix malformed printf format strings (openembedded#295) cmake: Set WITH_LEGACY_INCLUDE_PATH to ON as default (openembedded#334) Make the legacy include path a CMake option (openembedded#332) daemon: Call dlt_daemon_configuration_load() properly (openembedded#330) dlt_user: Use pthread_setname_np() if available (openembedded#326) libdlt: Add legacy include path in exported CMake config file (openembedded#327) lib: Set TYLE to 1 for BOOL type (openembedded#320) file-transfer: Abort file transfer if get serial number failed dlt_user.c: fixing casting wrong type dlt-sortbytimestamp: Remove duplicated conditional statements code dlt-convert: Remove duplicated conditional statements code doc: Minor fix in dlt_for_developers.md (openembedded#321) dlt-control-common.c: Fix build failure due to out-of-bound write -Werror=stringop-truncation Extend include path in *.pc file (openembedded#319) Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Jan 25, 2022
317.patch removed since it is included in 2.18.8 Changelog: ========= lib: Fix wrong type alert from lgtm gtest_dlt_daemon_gateway: fix gtest build failed lib: generate dlt library internal log file tests: add stdlib to dlt_cpp_extension dlt_user: Make dlt_init thread safe remove clang-tidy analyzer warnings: incompatible pointer type debian: improve debian build package dlt-control-common: shutdown and close socket dlt_common: improve function description gtest: Bring-in changes gtest: Rework WORKING_DIRECTORY gtest: Correct data amount in gtest_dlt_common cmake: Set empty to systemd_SRCS gtest: Refactor tests/CMakeLists.txt lib: Add SOCK_CLOEXEC to socket daemon: Create parent directory for unix socket cmake: Correct added subdirectories console: Add cmake options for control and timestamp tests: Adapt to DLT_DISABLE_MACRO header: Adapt to DLT_DISABLE_MACRO include: Refactor CMakeLists.txt gtest: Change script name to gtest_dlt_daemon_offline_log.sh daemon: Enable to use FIFO on QNX tests: Add new test case with given buffer tests: Enable macro disabling lib: Add new interfaces with given buffer Implemention of tests for the dlt-qnx-system module lib: Add MaxFileSize handling client: pthread_join for deinit doc: update initial log level document dlt-system: Fix memory leak in dlt-system config dlt_common: remove duplicate stdbool header dlt-control: Add option to config port system: use signalfd for dlt-system console: provides args option to enable send/receive serial header fix malformed printf format strings (openembedded#295) cmake: Set WITH_LEGACY_INCLUDE_PATH to ON as default (openembedded#334) Make the legacy include path a CMake option (openembedded#332) daemon: Call dlt_daemon_configuration_load() properly (openembedded#330) dlt_user: Use pthread_setname_np() if available (openembedded#326) libdlt: Add legacy include path in exported CMake config file (openembedded#327) lib: Set TYLE to 1 for BOOL type (openembedded#320) file-transfer: Abort file transfer if get serial number failed dlt_user.c: fixing casting wrong type dlt-sortbytimestamp: Remove duplicated conditional statements code dlt-convert: Remove duplicated conditional statements code doc: Minor fix in dlt_for_developers.md (openembedded#321) dlt-control-common.c: Fix build failure due to out-of-bound write -Werror=stringop-truncation Extend include path in *.pc file (openembedded#319) Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Sep 6, 2023
Changelog: =========== Added send_packet() method Fixed race condition when lots of connections are ended at the same time openembedded#328 Workaround for strange memory leak in Eventlet's Thread class openembedded#328 Use daemon threads for background tasks in threading mode Upgrade to pypy-3.9 in unit tests Fix double close of websockets in ASGI adapter openembedded#327 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Sep 6, 2023
Changelog: =========== Added send_packet() method Fixed race condition when lots of connections are ended at the same time openembedded#328 Workaround for strange memory leak in Eventlet's Thread class openembedded#328 Use daemon threads for background tasks in threading mode Upgrade to pypy-3.9 in unit tests Fix double close of websockets in ASGI adapter openembedded#327 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Sep 6, 2023
Changelog: =========== Added send_packet() method Fixed race condition when lots of connections are ended at the same time openembedded#328 Workaround for strange memory leak in Eventlet's Thread class openembedded#328 Use daemon threads for background tasks in threading mode Upgrade to pypy-3.9 in unit tests Fix double close of websockets in ASGI adapter openembedded#327 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Sep 7, 2023
Changelog: =========== Added send_packet() method Fixed race condition when lots of connections are ended at the same time openembedded#328 Workaround for strange memory leak in Eventlet's Thread class openembedded#328 Use daemon threads for background tasks in threading mode Upgrade to pypy-3.9 in unit tests Fix double close of websockets in ASGI adapter openembedded#327 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this issue
Sep 7, 2023
Changelog: =========== Added send_packet() method Fixed race condition when lots of connections are ended at the same time openembedded#328 Workaround for strange memory leak in Eventlet's Thread class openembedded#328 Use daemon threads for background tasks in threading mode Upgrade to pypy-3.9 in unit tests Fix double close of websockets in ASGI adapter openembedded#327 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
daregit
pushed a commit
to daregit/yocto-combined
that referenced
this issue
May 22, 2024
[meta-openembedded ticket #327] -- openembedded/meta-openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
daregit
pushed a commit
to daregit/yocto-combined
that referenced
this issue
May 22, 2024
[meta-openembedded ticket #327] -- openembedded/meta-openembedded#327 The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with. The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended. Signed-off-by: Silcet <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running UFW 0.33, built from the dunfell branch, I get this error:
/usr/bin/env: 'python': No such file or directory.
I guess it is because python2 is removed from the dunfell branch. But shouldnt it be possible to use UFW with python3? And shouldn't that be default on the dunfell branch?The text was updated successfully, but these errors were encountered: