[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtcl-user
Subject:    [vtcl-user] Errors running a prowraped app containing tktable
From:       "Bartis, Robert M (Bob)" <bartis () lucent ! com>
Date:       2003-10-20 0:17:01
[Download RAW message or body]

I'm trying to wrap a TK  application that contains a tkTable, ala ActiveTcl, using \
prowrap. The prowrap command I am using is  

/dtools/TclPro/TclPro1.4/solaris-sparc/bin/prowrap -tcllibrary /dtools/ActiveTcl/lib \
loadmrt loadmrt.h dialog.tcl timer.tcl tkerror.tcl -out ./deviceUpgrade


I included the tcllibrary in hopes it would resolve the problem, but to no avail. I \
assume prowrap is referencing its version of wish and tk libs. Does the ActiveTcl \
package contain a prowrap of equivalent. It seems I saw something about this some \
months ago in emails to this list.  
The get no errors when running prowrap, but receive the error below when running the \
wrapped application.  
=================================================
 
Error in startup script: invalid command name "table"
    while executing
"table $base.fra31.tab27  -anchor center -background white -borderwidth 2 -cols 6  \
-font {{MS Sans Serif} 8} -rows 12 -rowstretchmode unset -titlerows ..."  (procedure \
"vTclWindow.top23" line 32)  invoked from within
"vTclWindow.top23 .top23 "
    ("eval" body line 1)
    invoked from within
"eval "vTclWindow$name $newname $rest""
    ("show" arm line 5)
    invoked from within
"switch $cmd {
        show {
            if {$exists} {
                wm deiconify $newname
            } elseif {[info procs vTclWindow$name] != ""..."
    (procedure "Window" line 11)
    invoked from within
"Window show .top23"
    (file "loadmrt" line 443)


Robert M. Bartis 
Lucent Technologies ¢ 
Room HO 1C-413A (HO) / 1B-304 (WH) 
( 732.949.4565 (HO) / 973.386.6739 (WH)

* bartis@lucent.com 

 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 5.50.4930.1700" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=886305823-19102003>I'm trying to wrap 
a&nbsp;TK &nbsp;application that contains a tkTable, ala ActiveTcl,&nbsp;using 
prowrap. The prowrap command I am using is</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=886305823-19102003></SPAN></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2><SPAN 
  class=886305823-19102003>/dtools/TclPro/TclPro1.4/solaris-sparc/bin/prowrap 
  -tcllibrary /dtools/ActiveTcl/lib loadmrt loadmrt.h dialog.tcl timer.tcl 
  tkerror.tcl -out ./deviceUpgrade<BR></SPAN></FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial size=2><SPAN class=886305823-19102003>I included 
the tcllibrary in hopes it would resolve the problem, but to no avail. I assume 
prowrap is referencing its version of wish and tk libs. Does the ActiveTcl 
package contain a prowrap of equivalent. It seems I saw something about this 
some months ago in emails to this list.</SPAN></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2><SPAN 
class=886305823-19102003></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2><SPAN class=886305823-19102003>The get no 
errors when running prowrap, but receive the error below when running the 
wrapped application.</SPAN></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2><SPAN 
class=886305823-19102003></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2><SPAN 
class=886305823-19102003>=================================================</SPAN></FONT></DIV>
 <DIV dir=ltr><FONT face=Arial size=2><SPAN 
class=886305823-19102003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Error in startup script: invalid command name 
"table"<BR>&nbsp;&nbsp;&nbsp; while executing<BR>"table $base.fra31.tab27&nbsp; 
-anchor center -background white -borderwidth 2 -cols 6&nbsp; -font {{MS Sans 
Serif} 8} -rows 12 -rowstretchmode unset -titlerows ..."<BR>&nbsp;&nbsp;&nbsp; 
(procedure "vTclWindow.top23" line 32)<BR>&nbsp;&nbsp;&nbsp; invoked from 
within<BR>"vTclWindow.top23 .top23 "<BR>&nbsp;&nbsp;&nbsp; ("eval" body line 
1)<BR>&nbsp;&nbsp;&nbsp; invoked from within<BR>"eval "vTclWindow$name $newname 
$rest""<BR>&nbsp;&nbsp;&nbsp; ("show" arm line 5)<BR>&nbsp;&nbsp;&nbsp; invoked 
from within<BR>"switch $cmd {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; show 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
{$exists} 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 wm deiconify 
$newname<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
elseif {[info procs vTclWindow$name] != ""..."<BR>&nbsp;&nbsp;&nbsp; (procedure 
"Window" line 11)<BR>&nbsp;&nbsp;&nbsp; invoked from within<BR>"Window show 
.top23"<BR>&nbsp;&nbsp;&nbsp; (file "loadmrt" line 443)<BR></DIV></FONT>
<DIV class=Section1>
<P style="MARGIN-LEFT: 0.5in"><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-bidi-font-size: \
7.5pt">Robert  M. Bartis</SPAN></B> <BR><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">Lucent 
Technologies</SPAN> </B><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Wingdings">¢</SPAN></B> 
<BR><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Comic Sans MS'">Room 
H</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">O</SPAN> <SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">1C-413A (HO) / 1B-304 
(WH)</SPAN> <BR><SPAN 
style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Wingdings">(</SPAN> <SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-bidi-font-size: \
7.5pt">732.949.4565  (HO) / 973.386.6739 (WH)</SPAN></P>
<P style="MARGIN-LEFT: 0.5in"><SPAN 
style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: Wingdings">*</SPAN> <SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-bidi-font-size: \
7.5pt">bartis@lucent.com</SPAN>  </P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
vtcl-user mailing list
vtcl-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vtcl-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic