Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amsn fails
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
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 222

PostPosted: Tue Aug 05, 2008 3:53 am    Post subject: amsn fails Reply with quote

this is the output when i try to run amsn
Code:

Application initialization failed: Can't find a usable tk.tcl in the following directories:
    /usr/lib64/tcl8.4/tk8.4 /usr/lib64/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.18/library

/usr/lib64/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D)}] uni..."
    (file "/usr/lib64/tk8.4/listbox.tcl" line 181)
    invoked from within
"source /usr/lib64/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
   SourceLibFile button
   SourceLibFile entry
   SourceLibFile listbox
   SourceLibFile menu
   SourceLibFile panedwindow
   SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {$tcl_platform(platform) eq "macintosh"} {
   proc ::tk::SourceLibFile {file} {
       if {[catch {
      namespace eval :: ..."
    (file "/usr/lib64/tk8.4/tk.tcl" line 407)
    invoked from within
"source /usr/lib64/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"
/usr/lib/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D)}] uni..."
    (file "/usr/lib/tk8.4/listbox.tcl" line 181)
    invoked from within
"source /usr/lib/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
   SourceLibFile button
   SourceLibFile entry
   SourceLibFile listbox
   SourceLibFile menu
   SourceLibFile panedwindow
   SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {$tcl_platform(platform) eq "macintosh"} {
   proc ::tk::SourceLibFile {file} {
       if {[catch {
      namespace eval :: ..."
    (file "/usr/lib/tk8.4/tk.tcl" line 407)
    invoked from within
"source /usr/lib/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

Error in startup script: no event type or button # or keysym
    while executing
"bind Pixmapscroll <MouseWheel> {
        tk::ScrollByUnits %W v [expr {- (%D)}]
    }"
    invoked from within
"if {![catch {tk windowingsystem} wsystem] && $wsystem == "x11"} {
    bind Pixmapscroll <MouseWheel> {
        tk::ScrollByUnits %W v [expr {- (%D)}]
..."
    (file "pixmapscroll.tcl" line 717)
    invoked from within
"source [file join pixmapscroll.tcl]"
    ("package ifneeded" script)
    invoked from within
"package require pixmapscroll"
    invoked from within
"if { $initialize_amsn == 1 } {

   if {![::picture::Loaded]} {
      if { [OnDarwin] } {   
         tk_messageBox -default ok -message "There's a problem loading a..."
    (file "gui.tcl" line 4)
    invoked from within
"source gui.tcl      "
    ("uplevel" body line 23)
    invoked from within
"uplevel \#0 {

   # amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
   source amsncore.tcl
   source audio.tc..."
    (procedure "reload_files" line 2)
    invoked from within
"reload_files"
    (file "/usr/bin/amsn" line 272)



tk is installed properly
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Tue Aug 05, 2008 4:16 am    Post subject: Reply with quote

the same thing is happenning here too.
Back to top
View user's profile Send private message
insane_rosenberg
n00b
n00b


Joined: 19 May 2005
Posts: 45
Location: Melbourne, Australia

PostPosted: Sat Aug 16, 2008 11:51 pm    Post subject: Reply with quote

Me Too, maybe the problem is solved elsewhere in the forums?

-EDIT-
Yep, Check out: https://forums.gentoo.org/viewtopic-p-5123394.html
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 222

PostPosted: Sun Aug 17, 2008 4:06 pm    Post subject: Reply with quote

that works perfect. ive masked the xproto to get the older version.
Back to top
View user's profile Send private message
rafaelkafka
n00b
n00b


Joined: 03 Feb 2005
Posts: 28

PostPosted: Thu Sep 11, 2008 4:07 pm    Post subject: Reply with quote

josedb wrote:
that works perfect. ive masked the xproto to get the older version.


Did not worked here :

GentooGNULinux ~ # amsn
Error in startup script: extra characters after close-brace
while executing
"set command [list $self {*}$Snit_optionInfo(configure-$option) $option]
"
(procedure "snit::RT.CacheConfigureCommand" line 36)
invoked from within
"snit::RT.CacheConfigureCommand $type $selfns $win $self $option"
(procedure "::snit::RT.method.configurelist" line 7)
invoked from within
"::snit::RT.method.configurelist $type $selfns $win $self $args"
(procedure "::snit::RT.method.configure" line 4)
invoked from within
"$self configure -width $arrow1width"
(procedure "::pixmapscrollbar::Snit_constructor" line 154)
invoked from within
"::pixmapscrollbar::Snit_constructor ::pixmapscrollbar ::pixmapscrollbar::Snit_inst1 .plugins_log.ys .plugins_log.ys -command {.plugins_log.info yview}"
("eval" body line 1)
invoked from within
"eval [linsert $arglist 0 ${type}::Snit_constructor $type $selfns $instance $instance]"
(procedure "RT.ConstructInstance" line 9)
invoked from within
"RT.ConstructInstance $type $selfns $name $args"
(procedure "::snit::RT.widget.typemethod.create" line 53)
invoked from within
"scrollbar $window.ys -command "$window.info yview""
(procedure "::pluginslog::draw" line 12)
invoked from within
"::pluginslog::draw"
invoked from within
"if { $initialize_amsn == 1 } {
::pluginslog::draw
}"
(file "pluginslog.tcl" line 210)
invoked from within
"source pluginslog.tcl"
("uplevel" body line 27)
invoked from within
"uplevel \#0 {

# amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
source amsncore.tcl
source audio.tc..."
(procedure "reload_files" line 2)
invoked from within
"reload_files"
(file "/usr/bin/amsn" line 272)
GentooGNULinux ~ #
Back to top
View user's profile Send private message
Syylk
n00b
n00b


Joined: 22 Jun 2004
Posts: 37
Location: Roma (IT)

PostPosted: Wed Oct 01, 2008 2:58 pm    Post subject: Reply with quote

It's getting worse.

Xorg 1.5.1's ebuild now explicitly requires xproto 7.0.13+.

So it's either an updated xorg, or working tk and amsn. Not both.

Tk upstream is still contemplating their navel^W^W^Wwondering how to treat the new Xorg GenericEvents.

References:

https://bugs.gentoo.org/show_bug.cgi?id=225999
http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997
Back to top
View user's profile Send private message
jowr
n00b
n00b


Joined: 27 Dec 2008
Posts: 52

PostPosted: Mon Mar 02, 2009 4:59 am    Post subject: Reply with quote

This problem still exists. Cute.

Upgrading to the current tcl/tk resolves the issue.
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