Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: andriscom on May 18, 2011, 05:07:02 AM
-
Hi,
I would like to make an extension from http://guichaz.free.fr/iotop/ (http://guichaz.free.fr/iotop/) which is a top like disk utilization displaying tool. This is based on python and it's trying to use the curses module.
The problem is that when I try to launch ./iotop.py I get:
File "./iotop.py", line 9 in <module>
from iotop.ui import main
File "/home/tc/iotop-0.4.3/iotop/ui.py", line 19 in <module>
import curses
File "/usr/local/lib/python2.7/curses/__init__.py", line 15 in <module>
from _curses import *
ImportError: No module named _curses
I've got the same error after installing ncurses with: tce-load -wi ncurses
Has anyone any idea how to fix this? I think the problem is in the python2.7 extension, some bad or missing linking to the _curses module, or something like that since the "import curses" command fails.
-
You can try Python-2.6 from the repo instead of 2.7, import curses works. Don't think 2.7 is a must have version for your apps.
-
I see the missing file, I will aim to fix it tonght.
-
Oh... great :D Thank you guys! ... you are reacting really fast! :)
-
The fixed python.tcz/python-dev.tcz is uploaded to the repo.
I don't know what happened with the previous build, but "import curses" works fine now and the missing file is now in place.
Thanks for testing and reporting the problem.