#14017 closed defect (fixed)
py25-curses 2.5.1 Runtime error, unable to import curses.panel
Reported by: | greg@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | import error curses | Cc: | blb@… |
Port: | py25-curses |
Description
When I try the following:
python2.5 -c 'import curses.panel'
I get the following error:
Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/local/lib/python2.5/curses/panel.py", line 8, in <module> from _curses_panel import * ImportError: dlopen(/opt/local/lib/python2.5/site-packages/_curses_panel.so, 2): Symbol not found: _bottom_panel Referenced from: /opt/local/lib/python2.5/site-packages/_curses_panel.so Expected in: dynamic lookup
Change History (5)
comment:1 Changed 17 years ago by jmroot (Joshua Root)
Cc: | greg@… mww@… removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
comment:2 Changed 16 years ago by aetherknight@…
comment:3 Changed 16 years ago by blb@…
Cc: | blb@… added |
---|---|
Keywords: | curses added; py25-curses removed |
Port: | py25-curses added |
Still an issue with 2.5.4 and aetherknight's patch works for me as well. Markus can we update py25-curses with this?
comment:4 Changed 16 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Updated in r48504 (maintainer timeout).
Note: See
TracTickets for help on using
tickets.
I had a similar error to the above, and I made the following modification to py25-curses 2.5.2's setup.py to get it working:
setup.py did not include libpanel or libpanelw as a needed library for the _curses_panel module, so symbols provided by either of those libraries aren't found at runtime.