Hi Doug,
Did you have a transcript open? I had an installation failure due to a transcript output in a "wrong place" (e.g., somewhere halfway through the installation). I think the only solution here is to close all open transcripts before filing it in (we can automate this in the install script) - clearly having text output going on while we're replacing half of the string hierarchy is bound to cause a few problems ;-)
Cheers, - Andreas
----- Original Message ----- From: "Doug Way" dway@mailcan.com To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Thursday, July 29, 2004 9:08 PM Subject: Errors installing m17n
On Jul 29, 2004, at 1:45 AM, Michael Rueger wrote:
Hi all, the m17n stuff is finally ready for prime time. I've uploaded the change sets plus a install do-it to:
I had some problems installing this as-is.
If I installed this into a freshly downloaded Squeak3.8a-5976 image (saving a copy under a different name), it would go through what looked like all of the install (I think), but then it wouldn't be able to draw any TrueType fonts. E.g. I couldn't open any new windows because the window titlebars use a TT font.
(This is on OS X 10.3, running Squeak 3.7.2Beta1 VM.)
And if I tried cmd-. I would get the 'System error handling failed' box, with this stack: (typed by hand, since no SqueakDebug.log seems to be generated)
Original error: MessageNotUnderstood: UndefinedObject>>y. Debugger error: MessageNotUnderstood: UndefinedObject>>y: [] in Debugger class>>openOn:context:label:contents:fullView: {[:ex | self primitiveError: ...]} BlockContext>>valueWithPossibleArgs: [] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2) ...]} BlockContext>>ensure: MethodContext(ContextPart)>>handleSignal: MessageNotUnderstood(Exception)>>signal UndefinedObject(Object)>>doesNotUnderstand: #y TTCFont>>height StringMorph>>measureContents StringMorph>>fitContents StringMorph>>font:emphasis: PreDebugWindow(SystemWindow)>>initialize ...
However, I changed the 'install' file a bit to print some debugging information to the Transcript, and set and unset the author initials, and for some reason it installs successfully for me now.
Here's my modified 'install2' file which works for me:
| dir startTime | dir := FileDirectory default directoryNamed: 'install-m17n'. startTime _ DateAndTime current. Utilities setAuthorInitials: 'yo'. Transcript open.
#( '001-ucsTable.st' '002-bootstrap.st' '003-m17nBase.cs' '004-systemMod.cs' '005-postConv.cs' '006-incChanges.cs' '1001resetTTCFont.cs' '1002BVSInstall.cs' '1003BVSMInstall.cs' '1004BVSfInstall.cs' '1005Latin1Vera.cs' '1006languageTable.cs' '1007mergeJul2.cs' '1008deprecationFix.cs' '1009moreTranslation.cs' '1010converterRefacor.cs' '1011FileStreamPrep.cs' '1012FileOutEncoding.cs' '1013fileOutTest.cs' '1014m17nMcz.cs' '1015MacConverterFix.cs' '1016nonASCIIs.cs' '207-System-Localization.st' '208-locale-m17n.cs' '209locale-etoy.st' '210-locale-switch.cs' '211-locale-removals.cs' '212-localeFixes.cs' '3017contentStreamFix.cs' '3018changeListEncoding.cs' '3019changeListEncodingAgain.cs' '3020isoSqueakSenders.cs' '3021misc.cs' '3022SMLanguageInstaller.st' '3023systemLanguage.cs' ) do: [:fileName | FileStream fileIn: (dir fullNameFor: fileName). Transcript show: 'Filed in ', fileName; cr].
Utilities setAuthorInitials: ''. Transcript show: 'Install start time: ', startTime printString; cr. Transcript show: 'Install finish time: ', DateAndTime current printString; cr.
- Doug