New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileDoesNotExist error at Launcher startup #291

Closed
demarey opened this Issue Jan 15, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@demarey
Copy link
Contributor

demarey commented Jan 15, 2019

Reported by Dirk (thank you) on Discord:
When using https://files.pharo.org/pharo-launcher/1.5/ on the Mac I am getting a walkback.

FileHandle>>streamError
FileHandle>>writeStream
FileSystem>>writeStreamOn:
FileReference>>writeStream
FileReference(AbstractFileReference)>>writeStreamDo:
[ self writeStreamDo: doBlock ] in FileReference(AbstractFileReference)>>writeStreamDo:ifPresent: in Block: [ self writeStreamDo: doBlock ]
False>>ifTrue:ifFalse:
FileReference(AbstractFileReference)>>writeStreamDo:ifPresent:
ZnFileSystemUtils class>>newFileNamed:do:
ZnClient>>downloadEntityTo:
ZnClient>>downloadTo:
[ (self newHTTPClientForUrl: url) downloadTo: destinationFile ] in PhLDownloadManager>>download:toFile: in Block: [ (self newHTTPClientForUrl: url) downloadTo: dest...etc...
BlockClosure>>on:do:
[ :bar | 
workBlock
    on: HTTPProgress
    do: [ :progress | 
        bar label: progress printString.
        progress isEmpty
            ifFalse: [ bar current: progress percentage ].
        progress resume ] ] in PhLDownloadManager>>displayProgressDuring: in Block: [ :bar | ...
[ :bar | aBlock value: bar ] in MorphicUIManager>>informUserDuring: in Block: [ :bar | aBlock value: bar ]
BlockClosure>>cull:
[ ^ block cull: self ] in [ self prepareForRunning.
CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in Block: [ ^ block cull: self ]
[ activeProcess psValueAt: index put: anObject.
aBlock value ] in CurrentJob(DynamicVariable)>>value:during: in Block: [ activeProcess psValueAt: index put: anObject....
BlockClosure>>ensure:
CurrentJob(DynamicVariable)>>value:during:
CurrentJob class(DynamicVariable class)>>value:during:
[ self prepareForRunning.
CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in Block: [ self prepareForRunning....
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
MorphicUIManager>>informUserDuring:
PhLDownloadManager>>displayProgressDuring:
PhLDownloadManager>>download:toFile:
PhLTemplateSources>>fetchSourcesFile
PhLTemplateSources>>ensureSourcesFile

I get this right away on launch.
I am running Mojave 10.14.2.
I tried both the x64 and x64 versions.
Obviously it would be nice to run the latest version of PharoLauncher. I understand it may not be fully ready yet, which is fine. Just thought this feedback could be useful to you 😄

@demarey

This comment has been minimized.

Copy link
Contributor Author

demarey commented Jan 15, 2019

The problem comes from the fact that Pharo Launcher assumes default Pharo location (in user documents) already exists.

@demarey

This comment has been minimized.

Copy link
Contributor Author

demarey commented Jan 15, 2019

fixed in Smalltalkhub:

Name: PharoLauncher-Core-ChristopheDemarey.217
Author: ChristopheDemarey
Time: 15 January 2019, 1:06:40.816231 pm
UUID: 7b0626bb-df3b-0d00-b4a5-c96a0499bb9e
Ancestors: PharoLauncher-Core-ChristopheDemarey.216

Needs to be backported to git

@guillep

This comment has been minimized.

Copy link
Member

guillep commented Jan 16, 2019

If this is fixed, I'll proceed to close it. We need to backport a lot of things to git anyways. Let's discuss tomorrow.

@guillep guillep closed this Jan 16, 2019

demarey added a commit to demarey/pharo-launcher that referenced this issue Jan 21, 2019

fix pharo-project#291 + settings
backport of PharoLauncher-Core-ChristopheDemarey.217 -> 220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment