Mantis 0006540: SqueakMap-Error occurred during install, invalid utf8 input detected-Applescript 1.0.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Mantis 0006540: SqueakMap-Error occurred during install, invalid utf8 input detected-Applescript 1.0.1

Ken G. Brown
Mac OS X 10.4.9
Squeak-dev-beta-123, VM Squeak 3.8.18beta1U.app

When attempting to install Applescript 1.0.1 via SqueakMap Package loader, install fails with 'Error occurred during install, invalid utf8 input detected'.

If package is decompressed manually via either Finder or Squeak File List, the resulting .st file, files in apparently normally.

Reported, Mantis 0006540.

Ken G. Brown

Debug log follows:

Subject: [BUG]UTF8TextConverter(Object)>>error:

17 June 2007 2:03:54 pm

VM: Mac OS - a SmalltalkImage
Image: Squeak3.10alpha [latest update: #7108]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /mySqueakStuff/Sqkb/Sqkb3.10a/squeak-dev-beta-123
Trusted Dir /foobar/tooBar/forSqueak/bogus
Untrusted Dir /Users/kbrownMPro/Library/Preferences/Squeak/Internet/My Squeak

UTF8TextConverter(Object)>>error:
        Receiver: an UTF8TextConverter
        Arguments and temporary variables:
                aString: 'Invalid utf8 input detected'
        Receiver's instance variables:
                acceptingEncodings: nil
                currentCharSize: 1
                forceToEncodingTag: nil

UTF8TextConverter>>errorMalformedInput
        Receiver: an UTF8TextConverter
        Arguments and temporary variables:

        Receiver's instance variables:
                acceptingEncodings: nil
                currentCharSize: 1
                forceToEncodingTag: nil

UTF8TextConverter>>nextFromStream:
        Receiver: an UTF8TextConverter
        Arguments and temporary variables:
                aStream: MultiByteFileStream: '/mySqueakStuff/Sqkb/Sqkb3.10a/squeak-dev-beta-12...etc...
                character1: $ยช
                value1: 170
                character2: Character space
                value2: 32
                unicode: nil
                character3: $D
                value3: 68
                character4: nil
                value4: nil
        Receiver's instance variables:
                acceptingEncodings: nil
                currentCharSize: 1
                forceToEncodingTag: nil

MultiByteFileStream>>next
        Receiver: MultiByteFileStream: '/mySqueakStuff/Sqkb/Sqkb3.10a/squeak-dev-beta-123/sm/cache/packages/...etc...
        Arguments and temporary variables:
                char: nil
                secondChar: nil
                state: nil
        Receiver's instance variables:



--- The full stack ---
UTF8TextConverter(Object)>>error:
UTF8TextConverter>>errorMalformedInput
UTF8TextConverter>>nextFromStream:
MultiByteFileStream>>next
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MultiByteFileStream(PositionableStream)>>nextChunk
MultiByteFileStream(PositionableStream)>>nextChunkText
ClassCategoryReader>>scanFrom:
[] in MultiByteFileStream(PositionableStream)>>fileInAnnouncing: {[val := (self peekFor: $!)     ifTrue: [(Compiler evaluate: self nextChunk l...]}
BlockContext>>on:do:
[] in MultiByteFileStream(PositionableStream)>>fileInAnnouncing: {[:bar |  [self atEnd]   whileFalse: [bar value: self position.    self skipS...]}
[] in ProgressInitiationException>>defaultMorphicAction {[result := workBlock value: progress]}
BlockContext>>ensure:
ProgressInitiationException>>defaultMorphicAction
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
MultiByteFileStream(PositionableStream)>>fileInAnnouncing:
[] in SMDefaultInstaller(SMSimpleInstaller)>>fileIntoChangeSetNamed:fromStream: {[global newChanges: changeSet.  stream fileInAnnouncing: 'Loading ' , newNam...]}
BlockContext>>ensure:
SMDefaultInstaller(SMSimpleInstaller)>>fileIntoChangeSetNamed:fromStream:
SMDefaultInstaller>>fileIn
SMDefaultInstaller>>install
[] in SMLoader>>installPackageRelease: {[(SMInstaller forPackageRelease: aRelease) install.  myRelease = self instal...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
[] in SMLoader>>installPackageRelease: {[Cursor wait   showWhile: [(SMInstaller forPackageRelease: aRelease) install...]}
BlockContext>>on:do:
SMLoader>>installPackageRelease:
SMLoader>>installPackageRelease
SMLoader>>perform:orSendTo:
[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [target perform: selector] ...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent := anEvent.  result := focusHolder     han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
...etc...

Reply | Threaded
Open this post in threaded view
|

Re: Mantis 0006540: SqueakMap-Error occurred during install, invalid utf8 input detected-Applescript 1.0.1

Javier Diaz-Reinoso
Use the version from SqueakSource.

On 17/06/2007, at 16:31, Ken G. Brown wrote:

> Mac OS X 10.4.9
> Squeak-dev-beta-123, VM Squeak 3.8.18beta1U.app
>
> When attempting to install Applescript 1.0.1 via SqueakMap Package  
> loader, install fails with 'Error occurred during install, invalid  
> utf8 input detected'.
>
> If package is decompressed manually via either Finder or Squeak  
> File List, the resulting .st file, files in apparently normally.
>
> Reported, Mantis 0006540.
>
> Ken G. Brown