[squeak-dev] Problems while installing TweakCore

Casimiro de Almeida Barreto casimiro.barreto at gmail.com
Mon Nov 8 19:08:36 UTC 2010


While loading TweakCore there's a problem:

    [done] whileFalse: [
        entryArray := self primLookupEntryIn: path index: index.
        #badDirectoryPath = entryArray ifTrue: [
            ^(InvalidDirectoryError pathName: pathName) signal].
        entryArray == nil
            ifTrue: [done := true]
            ifFalse: [aBlock value: (*DirectoryEntry fromArray:
entryArray*)].
        index := index + 1].

Definition  of DirectoryEntry does not understand the message
"fromArray:" but "fromArray:directory:"

        DirectoryEntry>>fromArray: array directory:
        aFileDirectoryOrServerDirectory
            | entryType |
            entryType := (array at: 4)
                ifTrue: [ DirectoryEntryDirectory ]
                ifFalse: [ DirectoryEntryFile ].
            ^ entryType
                directory: aFileDirectoryOrServerDirectory
                name: (array at: 1)
                creationTime: (array at: 2)
                modificationTime: (array at: 3)
                fileSize: (array at: 5)


This problem happens at several points of TweakCore.

Best regards

CdAB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20101108/1bc758d3/attachment.htm


More information about the Squeak-dev mailing list