From: leonid on 28 May 2010 01:20 On May 28, 3:08 am, AndreasK <andreas.kupr...(a)gmail.com> wrote: > On May 27, 1:44 pm, leonid <leonid.dul...(a)gmail.com> wrote: > > > > > > > On May 25, 11:56 pm, AndreasK <andreas.kupr...(a)gmail.com> wrote: > > > > > Hello . I have got next message from tcl/tk 8.6.0.0 beta3 > > > > > () 1 % package require Tkhtml 3.0 > > > > Keyword 'catch' not found where expected. > > > > () 2 % > > > > > This is a new check. How to solve this problem ? > > > > Thank you. Leonid > > > > Just tried this on Linux and had no problem loading this package. My > > > session, roughly: > > > > % ... get the distribution ... > > > % ./ActiveTcl8.6.0.0b3.292682-linux-ix86-threaded/install.sh -- > > > directory FOX > > > % ./FOX/bin/teacup install Tkhtml 3 > > > % ./FOX/bin/tclsh8.6 > > > % package require Tkhtml 3 > > > 3.0 > > > % exit > > > > Some questions. > > > > What platform are you on ? > > > Do you get this message only for Tkhtml 3, or for other packages as > > > well ? > > > Did you install your AT 8.6 into a separate directory, or is is > > > sharing with other/older AT installations ? > > > If it is sharing please install into a separate directory and try if > > > that is ok.- Hide quoted text - > > > > - Show quoted text - > > > I test new Tcl/tk 8.6 beta3 in Windows and have got this message from > > several packages > > I am unable to reproduce this here for a test Windows installation > either. > Tkhtml 3 loads fine into wish8.6, without any type of error message. > > C:\Tcl.8600b3.292682\bin>teacup.exe install Tkhtml 3 > Resolving Tkhtml 3 ... [package Tkhtml 3.0 win32-ix86 @http://teapot.activestate.com] > Resolving Tcl 8.4 -is package ... [package Tcl 8.6 _ ... Installed > outside repository, probing dependencies] > Resolving Tk 8.4 -is package ... [package Tk 8.6b1.2 _ ... Installed > outside repository, probing dependencies] > Retrieving package Tkhtml 3.0 win32-ix86 ...@http://teapot.activestate.com > ... Ok > Installing into C:/Tcl.8600b3.292682/lib/teapot > Installing package Tkhtml 3.0 win32-ix86 > > C:\Tcl.8600b3.292682\bin>wish86.exe > (bin) 1 % package require Tkhtml 3.0 > 3.0 > (bin) 2 % join [info loaded] \n > c:/tcl.8600b3.292682/lib/teapot/package/win32-ix86/lib/Tkhtml3.0/ > Tkhtml30.dll Tkhtml > {} Tk > C:/Tcl.8600b3.292682/lib/tcl8.6/reg1.3/tclreg13.dll Registry > (bin) 3 % > > > Thank you. Leonid > > At this point I have to assume that this is something in your setup > which causes this. > > Do you have maybe code in ~/tclshrc.tcl and/or ~/wishrc.tcl ? > (Where ~ is your home directory) > > Another thing to look at, what are the contents of the > variable ::errorInfo immediately after the failing 'package require' > command ? I.e. please run wish8.6, then > > package require Tkhtml 3.0 > puts $::errorInfo > > It might make sense to switch to email for a quicker turnaround. > > Andreas- Hide quoted text - > > - Show quoted text - I am sorry for my mistake. I reinstall tcl and now all works OK. The problem was in old wish.exe command Sorry and thank you. Leonid
From: Georgios Petasis on 28 May 2010 13:18 στις 21/5/2010 02:29, O/H AndreasK έγραψε: > ActiveState is pleased to announce the release of ActiveTcl 8.6.0.0 > Beta 3, a beta release of the complete, ready-to-install Tcl > distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX; > based on the Tcl/Tk 8.6b1.2 core. I have just upgraded, and tablelist_tile (obtained through teacup) does not seem to use ttk (or tile) widgets. It looks strange... And the problem of tile still getting loading (despite the fact that I don't have "package require tile" in my code) is still alive... George
From: Csaba Nemethi on 28 May 2010 15:42 Am 28.05.2010 19:18, schrieb Georgios Petasis: > στις 21/5/2010 02:29, O/H AndreasK έγραψε: >> ActiveState is pleased to announce the release of ActiveTcl 8.6.0.0 >> Beta 3, a beta release of the complete, ready-to-install Tcl >> distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX; >> based on the Tcl/Tk 8.6b1.2 core. > > I have just upgraded, and tablelist_tile (obtained through teacup) does > not seem to use ttk (or tile) widgets. It looks strange... > > And the problem of tile still getting loading (despite the fact that I > don't have "package require tile" in my code) is still alive... > > George I have just installed ActiveTcl 8.6.0.0 Beta 3 on Linux. The distribution includes the last stable version 4.12.1 of the Tablelist package. For me it works as expected, I couldn't reproduce any of your problems. As promised by Jeff a few weeks ago, the file lib/teapot/package/tcl/teapot/tcl8/8.4/tablelist_tile-4.12.1.tm no longer loads tile if not needed, and I can confirm that tile is not loaded, indeed. I suspect that something is wrong with your ActiveTcl installation. Also, I don't see any reason for using teacup, because, as said, you automatically get the latest stable Tablelist version (4.12.1) if you install ActiveTcl 8.6.0.0 Beta 3. -- Csaba Nemethi http://www.nemethi.de mailto:csaba.nemethi(a)t-online.de
From: Georgios Petasis on 30 May 2010 17:04 στις 21/5/2010 02:29, O/H AndreasK έγραψε: > ActiveState is pleased to announce the release of ActiveTcl 8.6.0.0 > Beta 3, a beta release of the complete, ready-to-install Tcl > distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX; > based on the Tcl/Tk 8.6b1.2 core. I think there is a conflict in the Thread package: Main console display active (Tcl8.6b1.2 / Tk8.6b1.2) (petasis) 49 % package ifneeded Thread 2.6.5 thread_load C:/TclApps/Tcl/lib/tcl8.6/thread2.6.5 (petasis) 50 % package ifneeded Thread 2.6.6 thread_load c:/tclapps/tcl/lib/teapot/package/win32-ix86/lib/Thread2.6.6 (petasis) 51 % package require Thread couldn't load library "c:/tclapps/tcl/lib/teapot/package/win32-ix86/lib/Thread2.6.6/thread265.dll": this library or a dependent library could not be found in library path (petasis) 52 % info body thread_load load [file join $dir thread265.dll] rename thread_load {} (petasis) 53 % (petasis) 54 % cd {C:\TclApps\Tcl\lib\teapot\package\win32-ix86\lib\Thread2.6.6} (Thread2.6.6) 55 % load ./thread266.dll (Thread2.6.6) 56 % package req Thread 2.6.6 (Thread2.6.6) 57 % I think that the problem is in the re-definition of thread_load. Perhaps the version should be also be an argument? George
From: Georgios Petasis on 31 May 2010 10:41 στις 28/5/2010 22:42, O/H Csaba Nemethi έγραψε: > Am 28.05.2010 19:18, schrieb Georgios Petasis: >> στις 21/5/2010 02:29, O/H AndreasK έγραψε: >>> ActiveState is pleased to announce the release of ActiveTcl 8.6.0.0 >>> Beta 3, a beta release of the complete, ready-to-install Tcl >>> distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX; >>> based on the Tcl/Tk 8.6b1.2 core. >> >> I have just upgraded, and tablelist_tile (obtained through teacup) does >> not seem to use ttk (or tile) widgets. It looks strange... >> >> And the problem of tile still getting loading (despite the fact that I >> don't have "package require tile" in my code) is still alive... >> >> George > > I have just installed ActiveTcl 8.6.0.0 Beta 3 on Linux. The > distribution includes the last stable version 4.12.1 of the Tablelist > package. For me it works as expected, I couldn't reproduce any of your > problems. > > As promised by Jeff a few weeks ago, the file > > lib/teapot/package/tcl/teapot/tcl8/8.4/tablelist_tile-4.12.1.tm > > no longer loads tile if not needed, and I can confirm that tile is not > loaded, indeed. > > I suspect that something is wrong with your ActiveTcl installation. > Also, I don't see any reason for using teacup, because, as said, you > automatically get the latest stable Tablelist version (4.12.1) if you > install ActiveTcl 8.6.0.0 Beta 3. > Dear Csaba, I am still searching for the problem: it seems to be dependencies among packages in ActiveTcl. I usually issue a "teacup update" just after every install. I am not sure if this is a good or a bad thing yet :-) So, here is the problem I am facing: I have an app that does some stuff, which never calls "package require tile". Starting up the application and showing a tablelist widget, works just fine: http://www.ellogon.org/~petasis/tcl/Images/bugs/tile/tablelist-ok.png In this image, there are 2 tablelist widgets (on the window left side), which are drawn correctly. Then, if I choose to annotate something, the following happens: 1) Tile gets loaded. This has a visual effect on labels (smaller font is used) and scrollbars (they get thinner). 2) The new window that opens, has tablelist widgets that are not drawn correctly: http://www.ellogon.org/~petasis/tcl/Images/bugs/tile/tablelist-ok-not-ok.png (you can see the tablelist widget on the bottom right corner of the window on top - Id & Value are simple square boxes). Closing the app, and restarting it, having as its first line "package require tile" (yes I know, obsolete in 8.6...), I get this: http://www.ellogon.org/~petasis/tcl/Images/bugs/tile/tablelist-ok-ok.png Consistent look of all tablelist widgets. The same happens if I add "package provide tile 2.0" as the first line in the app. It seems that this behaviour occurs when at least a tablelist widget has been created, and then tile gets loaded afterwards. Then any tablelist widget created after tile was loaded will not be drawn correctly. I think that is not a tablelist problem, but a problem of tile being loaded in Tk 8.6. I will check for the package that does that... Regards, George
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: ActiveTcl 8.5.8.2 released Next: st<ring trimleft and xml |