Debugging Yali
by faik, 03.07.07 at 10:02 pm :: Ecnebice : Pardus :: permalink :: rss
For once in a while you may come across with some problems in the installation phase of the development releases. One of the advantages of using python everywhere is that it makes debugging easier. You just edit the files, put some debug lines, save it and run.
But if the files you are trying to edit are on a read-only filesystem as in the installation cd, there is a trick that can be used for debugging.
Yali is a rock solid and heart touching (TM) technology. It is bug free. But lets just and just imagine there is a problem to be debugged.
What can we do?
The first thing to do is to go to the console by pressing Ctrl + Alt + F1. Once at the console, we have to stop running Yali.
# service yali stop
After that we have to copy Yali files to a writable place.
# cp -r /usr/lib/python2.4/site-packages/yali/ /yali
The files under /yali are writable now, so we can edit, change and save the python files under this directory. But before starting Yali again, there is one more thing to be done:
# mount –bind /yali /usr/lib/python2.4/site-packages/yali
Everything is ready now. We can restart the modified Yali by running:
# service yali start
Happy hacking ![]()


Comments
March 7, 2007 @ 11:07 pm, by A. Murat Eren
March 8, 2007 @ 12:43 am, by baris
Add a comment