Hi Holger,

I have an impression that it can be solved by using "--no-default-preferences” 
option: 
        ./pharo Pharo.image --no-default-preferences

Is it a good solution for you? Or do you need to load some preferences? 

Another option could be implementing an error signal, e.g., CantFindOriginError 
in the cantFindOriginError method and catch this in the GlobalIdentifier object.

Cheers,
Juraj


> El 11-06-2017, a las 11:36, Juraj Kubelka <juraj.kube...@icloud.com> escribió:
> 
> Hi Holger,
> 
> thanks for the report. I will resolve it soon: 
> https://pharo.fogbugz.com/f/cases/20135/Server-deployment-is-broken-due-to-GlobalIdentifier-second-report
>  
> <https://pharo.fogbugz.com/f/cases/20135/Server-deployment-is-broken-due-to-GlobalIdentifier-second-report>
>  
> 
> Cheers,
> Juraj
> 
>> El 08-06-2017, a las 17:16, Holger Freyther <hol...@freyther.de 
>> <mailto:hol...@freyther.de>> escribió:
>> 
>> 
>>> On 17. Apr 2017, at 21:30, Juraj Kubelka <juraj.kube...@icloud.com 
>>> <mailto:juraj.kube...@icloud.com>> wrote:
>>> 
>>> Hi Holger,
>> 
>> Hey Juraj!
>> 
>> 
>>> Basically it tests `FileLocator home exists`, if false, it does not touch 
>>> disk. We could also add a #disablePersistence method if necessary.
>> 
>> I thought I tested it but somehow it is broken (again)? Looks like 
>> FileLocator>>#exists fails instead of answering false? Can you reproduce it?
>> 
>> $ unset HOME
>> $ pharo ...
>> Error: Can't find the requested origin
>> UnixResolver(PlatformResolver)>>cantFindOriginError
>> [ self cantFindOriginError ] in 
>> UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed: in Block: [ 
>> self cantFindOriginError ]
>> UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or:
>> UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:
>> UnixResolver>>home
>> [ self home / '.config' ] in UnixResolver>>preferences in Block: [ self home 
>> / '.config' ]
>> UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or:
>> UnixResolver>>preferences
>> UnixResolver(FileSystemResolver)>>resolve:
>> SystemResolver(FileSystemResolver)>>unknownOrigin:
>> SystemResolver(FileSystemResolver)>>resolve:
>> InteractiveResolver>>unknownOrigin:
>> [ self unknownOrigin: origin ] in InteractiveResolver>>resolve: in Block: [ 
>> self unknownOrigin: origin ]
>> IdentityDictionary(Dictionary)>>at:ifAbsent:
>> InteractiveResolver>>resolve:
>> FileLocator>>resolve
>> FileLocator(AbstractFileReference)>>exists
>> GlobalIdentifierStonPersistence(GlobalIdentifierPersistence)>>shouldCallPreviousPersistence
>> GlobalIdentifierStonPersistence(GlobalIdentifierPersistence)>>ensure:
>> GlobalIdentifier>>ensure
>> GlobalIdentifier class>>initializeUniqueInstance
>> GlobalIdentifier class>>uniqueInstance
>> SystemSettingsPersistence class>>resumeSystemSettings
>> [ :persistence | persistence resumeSystemSettings ] in 
>> PharoCommandLineHandler>>runPreferences in Block: [ :persistence | 
>> persistence resumeSystemSettings ...etc...
>> BlockClosure>>cull:
>> SystemDictionary(Dictionary)>>at:ifPresent:
>> SmalltalkImage>>at:ifPresent:
>> PharoCommandLineHandler>>runPreferences
>> PharoCommandLineHandler>>activate
>> PharoCommandLineHandler class(CommandLineHandler class)>>activateWith:
> 

Reply via email to