It appeared impossible to load any packages (mcz files) from a MCFileRepositoryInspector, in a recent pharo (moose) 7 image (on windows 7), stack below. Apparently, somewhere a Character null is encountered where an integer is expected...
Any ideas how to solve this? TIA, Hans Character(Object)>>doesNotUnderstand: #bitOr: SmallInteger>>bitOr: ZnEndianessReadWriteStream>>nextLittleEndianNumber: ZipArchive>>readEndOfCentralDirectoryFrom: ZipArchive>>readFrom: MCMczReader>>zip MCMczReader>>parseMember: MCMczReader>>loadPackage MCMczReader(MCVersionReader)>>package MCMczReader(MCVersionReader)>>basicVersion MCMczReader(MCVersionReader)>>version [ :r | r version ] in MCSubDirectoryRepository(MCFileBasedRepository)>>loadVersionFromFileNamed: in Block: [ :r | r version ] [ :s | (MCVersionReader readerClassForFileNamed: aString) ifNotNil: [ :class | aBlock value: (class on: s fileName: (self pathForFileNamed: aString)) ] ] in MCSubDirectoryRepository(MCFileBasedRepository)>>versionReaderForFileNamed:do: in Block: [ :s | ... MCSubDirectoryRepository>>readStreamForFileNamed:do: MCSubDirectoryRepository(MCFileBasedRepository)>>versionReaderForFileNamed:do: MCSubDirectoryRepository(MCFileBasedRepository)>>loadVersionFromFileNamed: [ self loadVersionFromFileNamed: aFileName ] in MCSubDirectoryRepository(MCFileBasedRepository)>>versionFromFileNamed: in Block: [ self loadVersionFromFileNamed: aFileName ] Dictionary>>at:ifAbsent: MCSubDirectoryRepository(MCFileBasedRepository)>>versionFromFileNamed: [ version := repository versionFromFileNamed: selectedVersion ] in MCFileRepositoryInspector>>version in Block: [ version := repository versionFromFileNamed: sele...etc... BlockClosure>>ensure: CursorWithMask(Cursor)>>showWhile: MCFileRepositoryInspector>>version MCFileRepositoryInspector(MCVersionInspector)>>versionSummary MCFileRepositoryInspector(MCVersionInspector)>>summary MCFileRepositoryInspector(Object)>>perform:withEnoughArguments: RubPluggableTextMorph(RubScrolledTextMorph)>>getTextFromModel RubPluggableTextMorph>>update: [ :aDependent | aDependent update: aParameter ] in MCFileRepositoryInspector(Model)>>changed: in Block: [ :aDependent | aDependent update: aParameter ] DependentsArray>>do: |
Hi Hans, I'm trying to reproduce this one. It seems it happens only with a "Directory with subdirectories" kind of repository. Can you confirm? I do now know exactly what this should do, never used it before. I'll check it and come back to you. Guille On Wed, Dec 12, 2018 at 12:46 PM Baveco, Hans <[hidden email]> wrote: It appeared impossible to load any packages (mcz files) from a MCFileRepositoryInspector, in a recent pharo (moose) 7 image (on windows 7), stack below. Apparently, somewhere a Character null is encountered where an integer is expected...
|
I've opened an issue here: The reason is that several parts of monticello were updated to use the new file streams, but MCSubdirectory was not. I'll be posting a fix in a couple of minutes. On Wed, Dec 12, 2018 at 3:24 PM Guillermo Polito <[hidden email]> wrote:
|
PR with fix: https://github.com/pharo-project/pharo/pull/2062 On Wed, Dec 12, 2018 at 3:46 PM Guillermo Polito <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |