broken uci programs


Forum: Apps
Topic: broken uci programs
started by: muddywaters

Posted by muddywaters on Feb. 25 2009,14:48
I accidentally  hit the power switch on my laptop.  Now python2.5 and tcl/tk don't show up in mydsl uci.  The tcl/tk icon is loading on the desktop without even loading the uci program.  Neither tcl/tk or python are loaded of course.

Possibly related, I had to remove tmp/.X0-lock to get the desktop to load after the bad power down.

How can this be fixed?  Hard drive install btw.

tia

Posted by Tobiaus on Feb. 26 2009,16:50
message removed
Posted by muddywaters on Feb. 27 2009,13:45
Quote (Tobiaus @ Feb. 26 2009,16:50)
the very first thing you need to do is run fsck from a livecd or bootable usb.

a program would complain about a missing lib,

could use .uci extensions with the hd install. is that a frugal install?

This laptop doesn't have fancy stuff like cd or usb.  :)   It's older than dirt.

There is a missing lib issue with the python 2.5 UCI but I have a symlink that seems to cure it.

UCI's can be used with hd installs.  They are saved  so they don't need to be downloaded every bootup.  Just load them using  Mydsl every bootup.

The problem I'm having now is python can't find Tkinter even though tcl-tk is loaded.  Damn ! !  I had this working before but didn't keep any notes !

Posted by muddywaters on Mar. 01 2009,05:28
Sorry Tobiaus.  I forgot to thank you for the reply.  Frustration was getting the better of me.

When the machine had it's brutal reboot stray stuff (files, menu items etc) were left strewn all over the place.  Guess that's why we're warned about mixing dsl extensions and hd installs.  

I got python to find Tkinter again using a couple of symlinks.
Code Sample

sudo  ln  -s  /opt/tcltk_libs/libtcl8.4.so   /usr/lib/libtcl8.4.so
sudo  ln  -s  /opt/tcltk_libs/libtk8.4.so   /usr/lib/libtk8.4.so

This is on dsl3.1  and is not the way I did it the first time, which I remember as being a tidier solution.

Posted by Tobiaus on Mar. 01 2009,08:18
message removed
Posted by mikshaw on Mar. 01 2009,13:44
Normally when you shut down properly, menu items are automatically removed. Since it didn't shut down properly, the icon was left in your home directory.  I don't believe this is anything more than a  superficial problem.  Reinstalling the uci packages should be enough to clear up that issue.

I couldn't say for sure what the lib problem would be...seems you shouldn't need to link the Tcl libs into the main system.  It might be that /opt/tcltk-8.4/bin is no long part of your PATH variable.

Posted by muddywaters on Mar. 01 2009,16:38
Quote (mikshaw @ Mar. 01 2009,13:44)
I couldn't say for sure what the lib problem would be...seems you shouldn't need to link the Tcl libs into the main system.  It might be that /opt/tcltk-8.4/bin is no long part of your PATH variable.

My symlinks are probably the ugliest type of kludge.  Oh well,  it's working.  When all you have is a hammer everything looks like a nail  ;)

Toms root boot should be able to run e2fsck from floppy ?   My inclination is to skip the check and run the install as is until it goes fully pear shaped.  At dsl3.1  I'm well behind anyway.  Which leads to an OT question..........

Is there any reason the latest dsl wouldn't work on my machine  ?  Dell Latitude XPi,  133MHz,  40MB ram.  floppy and network card.   3.1 runs very nicely on this machine.

edit/ To be clear,  I haven't tried any releases newer than 3.1.   Time to burn a cd  for a look see.

Posted by mikshaw on Mar. 01 2009,18:55
I can't think of any reason it wouldn't work.  One thing that might be a little heavier is the Bon Echo web browser.  There are a few things about that browser that annoy me, so I copied the firefox 1.0.6 directory from DSL 3 into 4.4 and use that instead.

The default desktop in DSL 4 is quite a bit different, but it doesn't seem to be any heavier.  If you tend to use a lot of the Lua and/or FLTK apps made specifically for DSL you might actually see a slight improvement in performance.  The latest DSL uses a version of murgaLua that was built as a dynamic Lua library, so it doesn't need to load everything every time Lua is used.

Posted by Tobiaus on Mar. 01 2009,19:02
message removed
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.