Bug 483368
Summary: | amsn won't start - loading TkCximage failed. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Austin <aa_sb_0> | ||||
Component: | amsn | Assignee: | Sander Hoentjen <sander> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | gnomeuser, sander | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-04-22 08:51:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
I can confirm this on F11 Updates built for F-10 and rawhide. The problem was caused by a tcl/tk update. For F-10 you can download the updated rpm's from here or wait till they hit the updates repo. https://admin.fedoraproject.org/updates/amsn-0.97.2-2.fc10 Not quite fixed. I ran "rpm -Uvh http://kojipkgs.fedoraproject.org/packages/amsn/0.97.2/2.fc10/i386/amsn-0.97.2-2.fc10.i386.rpm", and I still get this error message. you need -3 which actually fixes this, which unfortunately does not seem to have been built for F9+10.. Sander? http://koji.fedoraproject.org/koji/buildinfo?buildID=83076 F10 .2 is the same as F11 .3, so in theory it should work. I will install F10 to test. Will update when I know more. Hmm, can't seem to reproduce. What does `rpm -q tcl` tell you? I assume this is directed at me? $ rpm -qa tcl* tclxml-3.1-14.fc10.i386 tclsoap-1.6.7-5.fc9.noarch tcl-8.5.3-1.fc10.i386 tcltls-1.6-1.fc10.i386 tcldom-3.1-12.fc9.i386 tcl-devel-8.5.3-1.fc10.i386 tcllib-1.10-2.fc9.noarch $ rpm -qa amsn* amsn-0.97.2-2.fc10.i386 amsn-plugins-0.97.2-2.fc10.i386 Austin, yes it was directed to you, sorry. Can you also give the output of: rpm -Va amsn\* tcl\* and als try: $ wish % package require TkCximage 0.2 % image create photo -format cximage image2 % Thanks in advance! The rpm -V commands return nothing. $ wish % package require TkCximage 0.2 % image create photo -format cximage image2 % ... which displayed an empty wish window and nothing more. Hi, please edit the file /usr/share/amsn/picture.tcl and change so it reads (starting line 23): # We try to create an image of format cximage, if TkCximage was loaded, then it will work, if not, it will fail. # This is because the previous 'load' could load the .so even if it was compiled for another version of Tcl/Tk if { [catch {image create photo -format cximage -file [::skin::GetSkinFile pixmaps null] } err ] == 0 } { puts success set ::tkcximageloaded 1 return 1 } else { puts fail puts $err } After that run amsn from command line and see what it displays. I hope this will give the info we need. Modified as requested: $ amsn fail version conflict for package "Tcl": have 8.5.3, need exactly 8.4 Should be >= 8.4 instead of = 8.4 ? hmm very change, can you do: updatedb && locate TkCximage you should only see something like: /usr/lib/tcl8.5/TkCximage /usr/lib/tcl8.5/TkCximage/TkCximage.so /usr/lib/tcl8.5/TkCximage/pkgIndex.tcl also check the output of: $ wish % set auto_path If there is a different dir TkCxImage that is in auto_path that would cause the problem. $ updatedb && locate TkCximage /usr/lib/tcl8.5/TkCximage /usr/lib/tcl8.5/TkCximage/TkCximage.so /usr/lib/tcl8.5/TkCximage/pkgIndex.tcl /usr/share/amsn/utils/TkCximage /usr/share/amsn/utils/TkCximage/TkCximage.so /usr/share/amsn/utils/TkCximage/pkgIndex.tcl $ wish % set auto_path /usr/share/tcl8.5 /usr/lib/tcl8.5 /usr/lib/tk8.5 /usr/share/tk8.5 /usr/share/tk8.5/ttk ah, now we are getting somewhere.. please try rpm -qf /usr/share/amsn/utils/TkCximage if it says not owned by any package please remove that dir (or move it to somewhere out of the way atleast). Sorry for the delay in responding. $ rpm -qf /usr/share/amsn/utils/TkCximage file /usr/share/amsn/utils/TkCximage is not owned by any package $ cd /usr/share/amsn/utils/ $ sudo mv TkCximage TkCximage.old $ amsn fail couldn't load file "utils/TkCximage/TkCximage.so": utils/TkCximage/TkCximage.so: cannot open shared object file: No such file or directory What do I try next? OK, looking a little further, I went back to /usr/share/amsn, and ran: $ rpm -qf * LOTS of directories were not owned by any package, so I simple erased amsn $ yum erase amsn and $ sudo rm -rf /usr/share/amsn Lastly, I re-installed with: $ sudo yum -y install amsn Voila! It worked. Goodness knows where those other directories came from. |
Created attachment 330515 [details] Screen shot of the AMSN failure message. Description of problem: When trying to run amsn on Fedora 10 (i686), it just pops up a dialog that says : "Loading TkCximage failed. This module is needed to run aMSN. Please compile aMSN first, instructions on how to compile are located in the file INSTALL." Version-Release number of selected component (if applicable): amsn.i386 0:0.97.2-1.fc10 How reproducible: Every time. Steps to Reproduce: 1. Run "yum install amsn" 2. Locate AMSN in the menus (or run from a terminal) 3. Observe failure. Actual results: Attached error message. Expected results: For it to work. Additional info: