View previous topic :: View next topic |
Author |
Message |
sian Apprentice
Joined: 26 Jan 2004 Posts: 288
|
Posted: Sun Jan 01, 2006 1:27 pm Post subject: [SOLVED] aMsn error with TCL/TK |
|
|
Hello alln
I emerge amsn 0.95-r1 and at lauching I get this error :
Quote: |
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
Error in startup script: this isn't a Tk applicationunknown color name "Black"
(default value for "-highlightcolor" in widget ".")
invoked from within
"load /usr/lib/tk8.4/../libtk8.4.so Tk"
("package ifneeded" script)
invoked from within
"package require Tk"
(file "/usr/bin/amsn" line 46)
|
Can someone help me ?
Last edited by sian on Sat Jan 07, 2006 7:37 am; edited 1 time in total |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
|
Back to top |
|
|
sian Apprentice
Joined: 26 Jan 2004 Posts: 288
|
Posted: Sun Jan 01, 2006 2:53 pm Post subject: |
|
|
Thanks for your prompt answer.
I am using the new xorg 7.0 and I do not have any /usr/X11R6/lib/X11/rgb nor /usr/lib/X11/rgb folder...
I asked for help in the correct thread. |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Sun Jan 01, 2006 7:44 pm Post subject: |
|
|
You should maybe re-emerge dev-lang/tk. _________________ billiob |
|
Back to top |
|
|
sian Apprentice
Joined: 26 Jan 2004 Posts: 288
|
Posted: Sun Jan 01, 2006 8:05 pm Post subject: |
|
|
I already did emerge tcl and tk but same result |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Tue Jan 03, 2006 10:05 pm Post subject: |
|
|
Same problem here with xorg 7.0
billiob aren't you from dev team of Amsn ?
Don't have a clue ? ^^ |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Wed Jan 04, 2006 6:06 pm Post subject: |
|
|
Yes, i'm in the dev team, as translator, but i can code too.
That's really strange, because i have not found "Black" in the code, and this error does'nt mean something !
Can you paste the result of that please : Code: | egrep -Rn Black *.tcl | (in amsn's directory, maybe /usr/share/amsn).
According to the manual, Black is not a known color. _________________ billiob |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Thu Jan 05, 2006 12:12 am Post subject: |
|
|
I ran that command, aMsn still won't start. |
|
Back to top |
|
|
sian Apprentice
Joined: 26 Jan 2004 Posts: 288
|
Posted: Thu Jan 05, 2006 6:42 am Post subject: |
|
|
I run the command with black in /usr/share/amsn :
Quote: | abook.tcl:985: # -highlightbackground black \
abook.tcl:986: # -highlightcolor black
abook.tcl:987: frame $nbIdent.customcolorf.col -width 40 -bd 0 -relief flat -highlightbackground black -highlightcolor black
abook.tcl:1051: label $nbIdent.displaypic -image [::skin::getDisplayPicture $email] -highlightthickness 2 -highlightbackground black -borderwidth 0
chatwindow.tcl:1662: $text tag configure white -foreground white -background black -font sboldf
chatwindow.tcl:1759: -fg black -bg [::skin::getKey sendbuttonbg] -bd 0 -relief flat \
chatwindow.tcl:1760: -activebackground [::skin::getKey sendbuttonbg] -activeforeground black -text [trans send] \
chatwindow.tcl:1764: -fg black -bg [::skin::getKey sendbuttonbg] -bd 0 -relief flat \
chatwindow.tcl:1765: -activebackground [::skin::getKey sendbuttonbg] -activeforeground black -text [trans send] \
chatwindow.tcl:2543: # -fg black -bg [::skin::getKey tabbarbg] -bd 0 -relief flat \
chatwindow.tcl:2545: # -activeforeground black -text "$win" \
chatwindow.tcl:2836: -fg black -bg [::skin::getKey tabbarbg] -bd 0 -relief flat \
chatwindow.tcl:2837: -activebackground [::skin::getKey tabbarbg] -activeforeground black \
chatwindow.tcl:2844: -fg black -bg [::skin::getKey tabbarbg] -bd 0 -relief flat \
chatwindow.tcl:2845: -activebackground [::skin::getKey tabbarbg] -activeforeground black \
chatwindow.tcl:3066: $out configure -state normal -font bplainf -foreground black
config.tcl:448: status_log "save_config: saving config for user [::config::getKey login] in $HOME]\n" black
config.tcl:516: status_log "save_config: Config saved\n" black
gui.tcl:268: option add *Entry.foreground black widgetDefault
gui.tcl:2799: [::ChatWindow::GetOutText ${win_name}] configure -state normal -font bplainf -foreground black
gui.tcl:2832: [::ChatWindow::GetOutText ${win_name}] tag configure $tagid -foreground black -font bplainf
gui.tcl:4087: .status.info tag configure white -foreground white -background black
gui.tcl:4090: .status.info tag configure error -foreground white -background black
gui.tcl:5038: $pgBuddyTop.mail tag conf mail -fore black -underline true -font splainf
gui.tcl:7355: frame .picbrowser.pics.text.$the_image -borderwidth 0 -highlightthickness 0 -background white -highlightbackground black
gui.tcl:7357: -background black -highlightbackground black -highlightcolor black
gui.tcl:7362: bind .picbrowser.pics.text.$the_image <Leave> ".picbrowser.pics.text.$the_image.pic configure -highlightbackground black -background black"
gui.tcl:7727: -wrap none -background white -foreground black \
gui.tcl:7740: .degt.mid.txt tag configure white -foreground white -background black
gui.tcl:7999: -fg black -bg [::skin::getKey tabbarbg] -bd 0 -relief flat \
gui.tcl:8001: -activeforeground black -font sboldf -highlightthickness 0 \
loging.tcl:954: ${wname}.blueframe.log.txt tag configure normal -foreground black
loging.tcl:955: ${wname}.blueframe.log.txt tag configure NOR -foreground black
loging.tcl:1019: ${wname}.blueframe.log.txt tag configure normal -foreground black
msnp2p.tcl:547: SendMessageFIFO [list ::amsn::WinWrite $chatid "\n [trans winkreceived [::abook::getDisplayNick $chatid]]\n" black "" 0] "::amsn::messages_stack($chatid)" "::amsn::messages_flushing($chatid)"
picture.tcl:97: #Default color for border is black
picture.tcl:98: proc Thumbnail { photo width height {bordercolor "black"} {alpha ""} } {
pluginslog.tcl:161: $window.info tag configure white -foreground white -background black
pluginslog.tcl:163: $window.info tag configure error -foreground white -background black
progressbar.tcl:6: option add *Progress.undoneForeground black widgetDefault
protocol.tcl:70: status_log "Invitation to filetransfer $cookie accepted\n" black
protocol.tcl:2188: status_log "::MSN::ProcessQueue: processing leaveChat in queue for $chatid\n" black
|
|
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
|
Back to top |
|
|
sian Apprentice
Joined: 26 Jan 2004 Posts: 288
|
Posted: Fri Jan 06, 2006 11:27 pm Post subject: |
|
|
yes it woks !!! |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Fri Jan 06, 2006 11:32 pm Post subject: |
|
|
sian wrote: | yes it woks !!! |
Great.
I've asked you "egrep -Rn Black *.tcl" to know if there wasn't an error in the amsn code. It searchs all the line containing Black.
Ps: You can add [solved] to the title of this thread. _________________ billiob |
|
Back to top |
|
|
sian Apprentice
Joined: 26 Jan 2004 Posts: 288
|
Posted: Sat Jan 07, 2006 7:35 am Post subject: |
|
|
The command you said gave nothing with "Black" but I tried with "black" and I posted the result (see above). _________________ Kernel : 2.6.32 - E17 - OpenRC-0.61 - gcc-4.4.3 |
|
Back to top |
|
|
|