python curses module fails to load on MacOS Ventura
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- devtools, operating-systems
Research direction
Start by reproducing ~/.platformio/python3/bin/python3 -m curses on macOS Ventura and inspect the bundled Python 3.11 curses extension at ~/.platformio/python3/lib/python3.11/lib-dynload/_curses.cpython-311-darwin.so. Compare the failure with the reported libncurses symbols; done means the curses module loads successfully in the PlatformIO Python environment.
Written by the indexing model from the issue text.
Description
Steps to reproduce:
Install VCScode
Install PlatformIO inside vscode
Open a console (doesn't matter if it is in vscode or seperately)
~/.platformio/python3/bin/python3 -m curses
Python 3.11.7 (main, Mar 26 2024, 13:16:44) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin
Traceback (most recent call last):
File "", line 1, in
File ".../.platformio/python3/lib/python3.11/curses/init.py", line 13, in
from _curses import *
ImportError: dlopen(.../.platformio/python3/lib/python3.11/lib-dynload/_curses.cpython-311-darwin.so, 0x0002): Symbol not found: _is_pad
Referenced from: .../.platformio/python3/lib/python3.11/lib-dynload/_curses.cpython-311-darwin.so (built for macOS 14.3 which is newer than running OS)
Expected in: <42596ECD-91F6-3256-986D-F5697E284D8E> /usr/lib/libncurses.5.4.dylib
~/.platformio/penv/bin/pio --version
PlatformIO Core, version 6.1.18
- Dominant language
- Python
- Stars
- 9.6k
- Forks
- 916
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from platformio/platformio-core
-
Toolchain include order from DumpIntegrationIncludes depends on directory order (unsorted glob)Possibly taken @Leooo21 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
platformio/platformio-core#5555 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
platformio/platformio-core#5554 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
platformio/platformio-core#5552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
platformio/platformio-core#5551 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
platformio/platformio-core#5553 ·
Maintainers usually reply within 1 day
All issues in platformio/platformio-core
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day