looks like startup scripts on ubuntu has been broken StartupPreferencesLoader preferencesGeneralFolder . FileLocator preferences asFileReference cd Ephestos; wget -O- get.pharo.org/alpha+vm | bash UnixResolver(PlatformResolver)>>cantFindOriginError [ self cantFindOriginError ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed: in Block: [ self cantFindOriginError ] [ ^ aBlock value ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: in Block: [ ^ aBlock value ] BlockClosure>>cull: Context>>evaluateSignal: Context>>handleSignal: Error(Exception)>>signal Error(Exception)>>signal: Error class(Exception class)>>signal: FFICallout>>loaderForArgNamed: FFICallout>>loaderForArgNamed:indirectIndex: FFICallout>>argName:indirectIndex:type:ptrArity: FFIFunctionParser>>parseArgument FFIFunctionParser>>parseArguments FFIFunctionParser>>parseNamedFunction: FFICalloutMethodBuilder>>parseSignature: FFICalloutMethodBuilder>>generate FFICalloutMethodBuilder>>build: FFICalloutAPI>>function:module: UnixEnvironment(Object)>>ffiCall:module: UnixEnvironment(OSEnvironment)>>getEnv: UnixEnvironment(OSEnvironment)>>at:ifAbsent: [ Smalltalk os environment at: aString ifAbsent: [ nil ] ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: in Block: [ Smalltalk os environment at: aString ifAbsent: [...etc... BlockClosure>>on:do: UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed: UnixResolver>>home [ self home / '.config' ] in UnixResolver>>preferences in Block: [ self home / '.config' ] [ ^ aBlock value ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: in Block: [ ^ aBlock value ] BlockClosure>>cull: |
Do you have the sources file ? (PharoV40.sources) 2015-12-15 11:14 GMT+01:00 Dimitris Chloupis <[hidden email]>:
|
In reply to this post by kilon.alios
Some of these seem to be resolved through environment variables that you might not have. Read the comment for UnixResolver>>#xdgUserDir:
And no, I don't know why this is implemented that way. Apparently they are following some standard. > On 15 Dec 2015, at 11:14, Dimitris Chloupis <[hidden email]> wrote: > > I get my pharo on ubuntu 14 64 bit with > > cd Ephestos; wget -O- get.pharo.org/alpha+vmLatest | bash > > looks like startup scripts on ubuntu has been broken > > StartupPreferencesLoader preferencesGeneralFolder . > > returns nil, looking inside the method's source if I do > > FileLocator preferences asFileReference > > gives me a nice error Cant find the requested origin > > trying with > > cd Ephestos; wget -O- get.pharo.org/alpha+vm | bash > > for getting the stable default vm, same problem, so I assume this is an image problem > > here is the stack > > UnixResolver(PlatformResolver)>>cantFindOriginError [ self cantFindOriginError ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed: in Block: [ self cantFindOriginError ] [ ^ aBlock value ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: in Block: [ ^ aBlock value ] BlockClosure>>cull: Context>>evaluateSignal: Context>>handleSignal: Error(Exception)>>signal Error(Exception)>>signal: Error class(Exception class)>>signal: FFICallout>>loaderForArgNamed: FFICallout>>loaderForArgNamed:indirectIndex: FFICallout>>argName:indirectIndex:type:ptrArity: FFIFunctionParser>>parseArgument FFIFunctionParser>>parseArguments FFIFunctionParser>>parseNamedFunction: FFICalloutMethodBuilder>>parseSignature: FFICalloutMethodBuilder>>generate FFICalloutMethodBuilder>>build: FFICalloutAPI>>function:module: UnixEnvironment(Object)>>ffiCall:module: UnixEnvironment(OSEnvironment)>>getEnv: UnixEnvironment(OSEnvironment)>>at:ifAbsent: [ Smalltalk os environment at: aString ifAbsent: [ nil ] ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: in Block: [ Smalltalk os environment at: aString ifAbsent: [...etc... BlockClosure>>on:do: UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed: UnixResolver>>home [ self home / '.config' ] in UnixResolver>>preferences in Block: [ self home / '.config' ] [ ^ aBlock value ] in UnixResolver(PlatformResolver)>>directoryFromEnvVariableNamed:or: in Block: [ ^ aBlock value ] BlockClosure>>cull: > > |
"Do you have the sources file ? (PharoV40.sources)" just for the record it used to work fine, and I have done nothing to my system. If you use the command I posted you will see it installs everything it needs. "Some of these seem to be resolved through environment variables that you might not have. Read the comment for UnixResolver>>#xdgUserDir: And no, I don't know why this is implemented that way. Apparently they are following some standard." On Tue, Dec 15, 2015 at 12:25 PM Sven Van Caekenberghe <[hidden email]> wrote: Some of these seem to be resolved through environment variables that you might not have. Read the comment for UnixResolver>>#xdgUserDir: |
ok I think , and thats an assumption, the new FFI may be to blame here. navigating through all the code to find exactly the low level stuff it leads me to OSEnviroment getEnv: which is what it uses to get the low level stuff enviroment variable data , so far so goodOn Tue, Dec 15, 2015 at 12:44 PM Dimitris Chloupis <[hidden email]> wrote:
|
additionally after pharo freezes it shows a 25% cpu consumption steadily, so maybe this some kind of memory leak, infinite loop thing ? On Tue, Dec 15, 2015 at 12:54 PM Dimitris Chloupis <[hidden email]> wrote:
|
In reply to this post by kilon.alios
> On 15 Dec 2015, at 11:54, Dimitris Chloupis <[hidden email]> wrote: > > ok I think , and thats an assumption, the new FFI may be to blame here. Are you using the very latest 5.0 ? Esteban warned that things will get quite unstable in the coming days, esp. around FFI ... You best use an older version then. |
indeed I do thats what alpha+vmLatest means, latest unstable image (pharo 5 in this cage) and latest stable vmOn Tue, Dec 15, 2015 at 1:38 PM Sven Van Caekenberghe <[hidden email]> wrote:
|
I had issues with squeak on Ubuntu (my vm builds were affected by
ubuntu libraries) so I asked about it on askUbuntu. I really don't
know if they are related and some may think so, since you are
calling the os. I thought you would like to know.
--
. .. .. ^,^ best, robert
On 12/15/2015 07:23 AM, Dimitris
Chloupis wrote:
|
***
http://askubuntu.com/questions/709301/squeak-could-not-find-any-display-driver
On 12/15/2015 07:29 AM, Robert Withers
wrote:
I had issues with squeak on Ubuntu (my vm builds were affected by ubuntu libraries) so I asked about it on askUbuntu. I really don't know if they are related and some may think so, since you are calling the os. I thought you would like to know. --
. .. .. ^,^ best, robert
|
In reply to this post by kilon.alios
I get the same error in moose. In the latest moose image (build on top of the latest Pharo 5 image) executing 'StartupPreferencesLoader preferencesVersionFolder' returns nil. Cheers, Andrei On Tue, Dec 15, 2015 at 11:14 AM, Dimitris Chloupis <[hidden email]> wrote:
|
In reply to this post by kilon.alios
yes, you are using alpha, which means pharo 5.0, which means spur, which means it is still now working :)
Esteban
|
No problemo Esteban , take your time. We just reporting :) On Tue, Dec 15, 2015 at 3:41 PM Esteban Lorenzano <[hidden email]> wrote:
|
And the problem has been fixed, now my startup works fine. Thank you Esteban , you are awesome :) On Tue, Dec 15, 2015 at 4:06 PM Dimitris Chloupis <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |