On Mon, 2006-02-27 at 11:29 +0100, Sander Hoentjen wrote:
> On Mon, 2006-02-27 at 09:43 +0100, Sander Hoentjen wrote:
> > > 
> > My amsn hangs with pixmapmenu. At the moment I narrowed it down to:
> > 
> > $ wish
> > % lappend auto_path [file join utils]
> > /usr/share/tcl8.4 /usr/share /usr/lib /usr/share/tcl8.4/tcllib-1.8 
> > /usr/share/tk8.4 utils
> > % source skins.tcl
> > % source picture.tcl
> > % set ::initialize_amsn 1
> > 1
> > % source mutex.tcl
> > % source gui.tcl
> > % set HOME "[file join $env(HOME) .amsn]"
> > /home/tjikkun/.amsn
> > % set program_dir [pwd]
> > /home/tjikkun/programs/msn
> > % set HOME2 ""
> > % package require pixmapmenu
> > 0.1
> > % package require base64
> > 
> > here it hangs.. Now if I require base64 first there is no problem, and a
> > require snit is no problem either, but require sha1 for instance hangs
> > too, after pixmapmenu is loaded
> > 
> After some more testing:
> 
> $ wish
> % lappend auto_path [file join utils]
> /usr/share/tcl8.4 /usr/share /usr/lib /usr/share/tcl8.4/tcllib-1.8 
> /usr/share/tk8.4 utils
> % source skins.tcl
> % source picture.tcl
> % set ::initialize_amsn 1
> 1
> % source mutex.tcl
> % source gui.tcl
> % set HOME "[file join $env(HOME) .amsn]"
> /home/tjikkun/.amsn
> % set program_dir [pwd]
> /home/tjikkun/programs/msn
> % set HOME2 ""
> % catch {package require Trf 2.0}
> 1
> % package require pixmapmenu
> 0.1
> % catch {package require Trf 2.0}
> 
> it actually hangs on package require, any ideas?
> 
Hum.. one of my NFS servers was down, that caused the hang, because
pixmapmenu requires contentmanager and contentmanager has "lappend
auto_path .. ../.." and because of the ../.. package require now wanted
to search every subdir 2 levels down and one of those was my nfs mount

Maybe it is better to avoid ../.. also for loading time?

Sander



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to