For Programmers: Free Programming Magazines  


Home > Archive > Tcl > June 2006 > Re: ANNOUNCE: eTcl 1.0-rc7









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: ANNOUNCE: eTcl 1.0-rc7
jdaveb

2006-06-17, 7:05 pm

I tried etcl on a nokia 770.
copied to /var/lib/install/usr/bin
executed etcl from an xterm
Tcl runs fine
Tk has problems:
package require Tk
brings up a gray window over the xterm.
I can get the xterm running Tcl back by selecting its icon
I can get . back using:
wm withdraw .
wm deiconify .
"toplevel .w" works, the windows act like .
"frame .w.c" nothing visual happens, but window exists according to
[winfo]
"pack .w.c" does not change anything but does not bomb
button .b -text b -command "puts hi" reboots after several second delay
"label .w.c.lbl -text label" reboots after several second delay

Eric Hassold

2006-06-17, 7:05 pm

Thanks for giving it a try, since I don't have such device, and could
only test it on device with kdrive.

Just a doubt: did you download the executable very early after having
been announced?

On our site home page (http://www.evolane.com/), I explain I pushed a
wrong executable online for all linux platforms (x86 and arm). They were
linked against a static X11 library compiled with support for
dynamically loadable Xcursor support. When trying to change cursor in
Tk, an incompatible libXcursor.so.1 was searched and eventually loaded,
causing a segfault. Because there was a freshmeat announcement pending,
I didn't increment the release number, hoping there has been no download
in the meantime, but I guess this was definately a bad idea :-(

Could you please check the executable you used is the same available now
for download. Please let me know if it fixes the problem.

Eric

jdaveb wrote:
> I tried etcl on a nokia 770.
> copied to /var/lib/install/usr/bin
> executed etcl from an xterm
> Tcl runs fine
> Tk has problems:
> package require Tk
> brings up a gray window over the xterm.
> I can get the xterm running Tcl back by selecting its icon
> I can get . back using:
> wm withdraw .
> wm deiconify .
> "toplevel .w" works, the windows act like .
> "frame .w.c" nothing visual happens, but window exists according to
> [winfo]
> "pack .w.c" does not change anything but does not bomb
> button .b -text b -command "puts hi" reboots after several second delay
> "label .w.c.lbl -text label" reboots after several second delay
>

Eric Hassold

2006-06-17, 10:04 pm

jdaveb wrote:
> I downloaded both the etcl...tar.gz and .zip files today.
> cmp says they are the same
> I actually tried the one from the .tar.gz file


:-(

Since it works fine on others arm-linux distributions we could test it
in, I will have to either find a way to get access to a nokia 770, or
provide someone (you? ;-)) a debug version and sources to investigate
this. Hmmm... maybe if you could already run in inside strace, and send
me the output, this could give me some hint.

During next couple of days, I will focus on restoring and improving
support for older WinCE 3.0 devices, then I will be able to focus on
this target architecture (installing the maemo SDK will probably be a
good starting point :))

Eric

Steve Landers

2006-06-20, 4:36 am

jdaveb wrote:
> others have found and solved a problem with Tk and the N770
>
> 2006-01-10 stevel We now have a tclkit 8.5 (including Tk) for the 770
> ... for the moment it's at
> http://www.digitalsmarties.com/pub/tclkit-770. Thanks to Jean-Claude
> Wippler, David Zolli, Mike Doyle and especially Meredydd Luff? for his
> brilliant detective work in tracking down the Xft issue that was
> causing Tk to crash the 770.
>
> from http://wiki.tcl.tk/15408
>
> you might contact them.
>


Yep - the issue you describe is because eTcl isn't "Hildonised". That
is, it doesn't support the WM APIs to deal with overlaying windows,
menus, etc.

Thanks to Meredydd we've got a partially Hildonised Tk and I'm doing a
bunch of work trying to get sound support going (and rapidly going crazy
in the process).

You can track my rantings at https://www.digitalsmarties.com/forum/tcl770

Steve

ps Eric, did you ever release the code that will enable us to get
vanilla tclkit working on Windows Mobile?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com