Re: "package require BWidgets" starkit fails under tclkit86b1, succeeds under tclkit858]
dburns <[email protected]> Mon, 22 Mar 2010 14:54:26 -0700 (PDT)
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <bb58280c-9b6b-4be9-9f4b-ef0c1c995da9@g28g2000yqh.googlegroups.com> |
It does not happen when sourcing BWidget without it having been wrapped in a starkit. I don't think the problem is actually in BWidget, and I've added an addendum to my original post suggesting there's a problem in the interaction between the "option readfile" Tk command and the "en.rc" resource file as returned by the metakit engine. On Mar 22, 8:50 am, Harald Oehlmann <[email protected]> wrote: > > Betreff: [starkit] "package require BWidgets" starkit fails under tclkit86b1, succeeds under tclkit858 > > Datum: Sun, 7 Mar 2010 21:58:20 -0800 (PST) > > Von: dburns <[email protected]> > > An: starkit <[email protected]> > > > With this "main.tcl" code in the subdirectory of "t.vfs" on a windows > > XP SP3 platform... > > > -------- > > package require starkit > > starkit::startup > > console show ; update > > puts stdout "package require BWidget: [package require BWidget]" > > -------- > > > ...and built with "sdx wrap t" from the directory above so the entire > > "t.vfs" tree looks like: > > > t.vfs\ > > main.tcl > > lib\ > > BWidget-1.9.0\ > > <contents of BWidget Zip file as fetched from SF> > > > Under 8.5.8, I get: > > % source t > > package require BWidget: 1.9 > > > Under 8.6b1, I get: > > error seeking to end of file "<tree-elided>/t/lib/BWidget-1.9.0/lang/ > > en.rc":invalid argument while executing > > "option read [file join $::BWIDGET::LIBRARY "lang" "en.rc"]" > > (file "<tree-elided>/t/lib/BWidget-1.9.0/init.tcl" line 32) > > Hi, > does this also happen if you source BWidget without starkit ? > I looked to the en.rc file. It has <LF> as line terminators and no final > <CTRL-Z> to terminate file in text mode. > I will modify the file in the distribution, if this would be helpful. > I may check this later but no time this week. > > Sorry, > Harald -- You received this message because you are subscribed to the "starkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/starkit?hl=en To unsubscribe from this group, send email to starkit+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.