Thierry this is not your lucky week , Smacc is also fails to load from Configuration Browser with PrimitiveFailed: primitive #basicNew: in ByteString class failed ByteString class(Object)>>primitiveFailed: ByteString class(Object)>>primitiveFailed ByteString class(Behavior)>>basicNew: ByteString class(String class)>>new: ByteString(SequenceableCollection)>>copyFrom:to: MCGitHubRepository class>>parseLocation:version: MCGitHubRepository class>>location:version: MCGitHubRepository class>>location: [ :cl | type = 'github' ifTrue: [ ^ cl location: aRepositorySpec description ] ] in MetacelloPharo30Platform(MetacelloPlatform)>>createRepository: in Block: [ :cl | ... BlockClosure>>cull: SystemDictionary(Dictionary)>>at:ifPresent: SmalltalkImage>>at:ifPresent: MetacelloPharo30Platform(MetacelloPlatform)>>createRepository: MetacelloPharo30Platform(MetacelloPharoCommonPlatform)>>createRepository: MetacelloMCProject>>createRepository: MetacelloRepositorySpec>>createRepository [ aSpec createRepository ] in [ :aSpec | | description repo | description := aSpec description. (repo := repositories detect: [ :rep | rep description = description ] ifNone: [ aSpec createRepository ]) ~~ nil ifTrue: [ repos add: repo ] ] in MetacelloEnsureFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>repositoriesFrom:ignoreOverrides: in Block: [ aSpec createRepository ] Array(Collection)>>detect:ifFound:ifNone: Array(Collection)>>detect:ifNone: [ :aSpec | | description repo | description := aSpec description. (repo := repositories detect: [ :rep | rep description = description ] ifNone: [ aSpec createRepository ]) ~~ nil ifTrue: [ repos add: repo ] ] in MetacelloEnsureFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>repositoriesFrom:ignoreOverrides: in Block: [ :aSpec | ... Array(SequenceableCollection)>>do: MetacelloEnsureFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>repositoriesFrom:ignoreOverrides: MetacelloEnsureFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>repositoriesFrom: MetacelloPackageSpec>>explicitLoadUsing: MetacelloPackageSpec>>ensureLoadUsing: MetacelloMCBaselineOfProjectSpec(MetacelloMCProjectSpec)>>ensureLoadUsing: MetacelloMCBaselineOfProjectSpec(MetacelloMCProjectSpec)>>ensureLoadedForDevelopmentUsing: [ :pkg | pkg ensureLoadedForDevelopmentUsing: mcLoader. mcLoader ignoreImage ifFalse: [ (pkg compareCurrentVersion: self operator targetVersionStatus: #(#allLoadedToSpec) using: mcLoader) ifTrue: [ packages removeKey: pkg name ] ] ] in MetacelloMCVersionSpecLoader>>load in Block: [ :pkg | ... Array(SequenceableCollection)>>do: MetacelloMCVersionSpecLoader>>load On Mon, Mar 16, 2015 at 11:21 AM, Thierry Goubier <thierry.goubier@gmail.com
wrote:
Can you check if the missing file is present in the zip, and in the decompressed part on disk?
Note that we are dealing with a Metacello/FileTree error, not a GitFileTree one.
Thierry
2015-03-16 9:56 GMT+01:00 Jigyasa Grover <grover.jigyasa1@gmail.com>:
Yes Sir. I have checked 'em all.
[image: Inline image 2][image: Inline image 1][image: Inline image 4][image: Inline image 3]
On Mon, Mar 16, 2015 at 2:22 PM, Thierry Goubier < thierry.goubier@gmail.com> wrote:
This is strange.
I tried both the Gofer and the Metacello script before replying to you, and they both worked.
Do you have a file named github-dalehenrichfiletreepharo40dev<number>.zip in your pharo repository? Do you have a directory named
github-cache/dalehenrich/filetree/pharo4.0_dev/dalehenrich-filetree-7f998e5
Thierry
2015-03-16 9:43 GMT+01:00 Jigyasa Grover <grover.jigyasa1@gmail.com>:
Sir I have cleared the previous files and tried to load directly from github as directed by you. The error still persists. There are missing files again.
Thanks Jigyasa Grover
On Mon, Mar 16, 2015 at 2:07 PM, Thierry Goubier < thierry.goubier@gmail.com> wrote:
Hi,
an alternative solution is to load directly from github, with:
Metacello new baseline: 'FileTree'; repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository'; load: 'Git'
Missing files may mean a leftover from a previous, failed load attempt.
Thierry
2015-03-16 8:19 GMT+01:00 Jigyasa Grover <grover.jigyasa1@gmail.com>:
Thanks!
The error now says = File missing : ..\repository\MonticelloFileTree-Git.package\monticello.meta\version
What is the way out ?