Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another aMsn Tcl/tk problem SOLVED
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Jan 05, 2006 1:05 am    Post subject: Another aMsn Tcl/tk problem SOLVED Reply with quote

Code:

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.5/../libtk8.5.so Tk"
    ("package ifneeded" script)
    invoked from within
"package require Tk"
    (file "/usr/bin/amsn" line 46)



Thats what I get when I try to start aMsn after upgrading to xorg 7.0. I've searched around everywhere, and I've updated to tcl/tk 8.5, but it won't work.


Last edited by avieth on Thu Jan 05, 2006 4:40 am; edited 1 time in total
Back to top
View user's profile Send private message
thagame
Apprentice
Apprentice


Joined: 07 Mar 2004
Posts: 210
Location: Windsor, Ontario, Canada

PostPosted: Thu Jan 05, 2006 2:47 am    Post subject: Reply with quote

try slocate and make sure you have the file. i did a slocate on my system and my file isnt in that path that yours is looking for.


Quote:
/usr/lib64/libtk8.4.so



if your not on a 64bit system its probably just /usr/lib. i dont know if thats the issue but maybe its just a matter of changing amsn to look in /usr/lib for the file.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Jan 05, 2006 2:56 am    Post subject: Reply with quote

I have
Code:

/usr/lib64/libtk.so

I'm pretty sure /usr/lib and /usr/lib64 are the same because when I try to copy libtk.so to /usr/lib/ it says it's the same file.
Back to top
View user's profile Send private message
Hum
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2005
Posts: 116
Location: Canada

PostPosted: Thu Jan 05, 2006 4:20 am    Post subject: Reply with quote

have you looked at
https://forums.gentoo.org/viewtopic-t-292967-highlight-tk+applicationunknown+color+colour+black.html
I had a similiar problem but mine segfaulted. I didn't have a rgb.txt
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Jan 05, 2006 4:22 am    Post subject: Reply with quote

I don't have an rgb file either. I tried locate rgb.txt, and since my index was outdated since before I emerged xorg 7.0, it found one in the right place, but it's not there anymore 8O Where can I download one?

EDIT: Ok i updated slocate and I found an rgb.txt in /usr/share/X11/ so I copied it to /usr/X11R6/lib/X11/rgb and restarted X. I tried amsn once again, and I got a longer error message

Code:

Error in startup script: couldn't open "/home/alex/.amsn/langlist.xml": permission denied
    while executing
"open "[file join $HOME2 langlist.xml]" w"
    (procedure "::lang::SaveVersions" line 5)
    invoked from within
"::lang::SaveVersions"
    (procedure "::lang::CheckLangList" line 9)
    invoked from within
"::lang::CheckLangList"
    (procedure "::lang::LoadVersions" line 30)
    invoked from within
"::lang::LoadVersions    "
    (procedure "scan_languages" line 6)
    invoked from within
"scan_languages"
    invoked from within
"if { $initialize_amsn == 1 } {
        ###############################################################
        create_dir $HOME
        create_dir $HOME/plugins
        create_di..."
    (file "config.tcl" line 1450)
    invoked from within
"source config.tcl      "
    (procedure "reload_files" line 26)
    invoked from within
"reload_files"
    (file "/usr/bin/amsn" line 229)


Yeah so I figured that was miniscule, so I ran aMsn again, and it worked :D I was hapy for a few seconds, until it signed me on and immediately swarmed me with tk bug reports.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Jan 05, 2006 4:39 am    Post subject: Reply with quote

Ahahahaha success! :D :D :D :D I remerged tcl and tk back to the 8.4 version (i had 8.5) and now it works.

So for all you people who get this problem, the solution is:

slocate for rgb.txt and copy it to the folder that xorg.conf looks for it in.

remerge amsn tcl and tk (make sure tcl and tk are stable versions)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum