ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tdk
tdk
Re: [TDK] A wrapped app runs differently than when unwrapped: how to debug?
by Jeff Hobbs other posts by this author
Jun 19 2008 5:19PM messages near this date
view in the new Beta List Site
[TDK] A wrapped app runs differently than when unwrapped: how to debug? | Re: [TDK] A wrapped app runs differently than when unwrapped: how to debug?
Hi George,

George Petasis wrote:
>  I am facing a problem with TDK 4.1.0, which I don't know how to debug.
>  I have a medium-sized application in Tcl, with a few C extensions
>  (through SWIG).

Are you sure that all your SWIG apps are (1) built with stubs and (2) 
8.5 compatible (no internal Tcl access)?

>  The applications runs ok from the disk (unwrapped). Among other stuff,
>  it interacts with excel, and writes a spreadsheet.
	[wrapped with 8.5 basekit presumably]
>  BUT, the exe I get exhibits a slightly different behaviour: it is unable
>  to write the excel spreadsheet for some (but not all)
>  excel spreadsheets. So, something is different between the wrapped &
>  unwrapped applications. How can I find out what is different?

Beyond the encoding issue mentioned, are you certain that when run 
unwrapped, it is using the same versions of libraries and core?

>  So, I tried to change the way I create the wrapped app, and decided to
>  use the tclapp GUI to do the wrapping. But with no success :-) What I
>  did was:
	...
>  I wrapped my app, but not it fails finding a package:
>  
>  can't find package Tablelist_tile
>       while executing
>  "package require Tablelist_tile"

This may be a missing dependency on Tablelist package usage, and a 
separate issue.

>  During wrapping of course, the package was there:
	...
>  BTW, my app works as a wrapped one with 8.4 & TDK 3.x. Including
>  writting the excel spreadsheet for the files
>  that now fails. How to debug this?

What if you use 8.4 with TDK 4?  I suspect it is more likely an 8.4/8.5 
variation rather than TDK 3/4, but I want to be sure.

Regards,

Jeff
_______________________________________________
TDK mailing list
TDK@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk
Thread:
George Petasis
Jeff Hobbs
Georgios Petasis
Andreas Kupries
Georgios Petasis
Andreas Kupries

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved