Update GLASS enviroment

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Update GLASS enviroment

dario trussardi
Hi,

1) i create a new extent with:   Bootstrapping GLASS 1.0-beta.4 instructions

        The GemTools 1.0-beta.3 on Pharo 505 work fine with this extent and with  hold extent 2.3.1.


2) I load into GLASS  ( with GemTools Monticello ) the : ConfigurationOfGLASS-DaleHenrichs.98.mcz.


3) After i open a GemTools1.0-beta.3 workspaces and do a command:

        (ConfigurationOfGLASS project version: '1.0-beta.7')  load



After some works how report into Transcript :


Loaded -> ConfigurationOfGsCore <-
Loaded -> ConfigurationOfGsOB <-
Loaded -> ConfigurationOfGsMisc <-
Loaded -> ConfigurationOfGsMonticello <-
Project: Core
Loading project version: ~0.238 [ConfigurationOfGsCore]
Preparing to Load -> Core-dkh.28 <-
Preparing to Load -> Bootstrap-DaleHenrichs.177 <-
Preparing to Load -> Sport3.010-dkh.20 <-
Preparing to Load -> Squeak-djr.216 <-
Project: Metacello
Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
Preparing to Load -> Metacello-Core-DaleHenrichs.321 <-
Preparing to Load -> Gofer-Core-lr.115 <-
Preparing to Load -> Metacello-MC-DaleHenrichs.302 <-
Preparing to Load -> Metacello-Platform.gemstone-DaleHenrichs.12 <-
Project: Metacello Tools
Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
Preparing to Load -> OB-Metacello-dkh.40 <-
Project: Release Support
Loading project version: ~0.235 [ConfigurationOfGsMisc]
Preparing to Load -> GemStone-Release-Support-dkh.41 <-
Project: Monticello
Loading project version: ~0.236 [ConfigurationOfGsMonticello]
Loaded -> ConfigurationOfGsCore <-
Preparing to Load -> PackageInfo-Base.g-dkh.30 <-
Preparing to Load -> Monticello.g-DaleHenrichs.399 <-
Preparing to Load -> Change-Notification-dkh.3 <-
Project: OB
Loading project version: ~0.237 [ConfigurationOfGsOB]
Loaded -> ConfigurationOfGsCore <-
Loaded -> ConfigurationOfGsMisc <-
Loaded -> ConfigurationOfGsMonticello <-
Preparing to Load -> OmniBrowser-DaleHenrichs.444 <-
Preparing to Load -> OB-Standard.g-dkh.431 <-
Preparing to Load -> OB-SUnitGUI.g-dkh.60 <-
Project: Announcements
Loading project version: ~0.235 [ConfigurationOfGsMisc]
Preparing to Load -> Announcements.g-dkh.11 <-
Preparing to Load -> OB-Tools.g-dkh.127 <-
Starting atomic load




 THE SYSTEM ERASE THE ERROR :




InterpreterError 2094: The object <anArray( #'halt', 'Debug Warning: Warning: The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
  GoferLoad
  MetacelloVersion
  MetacelloMCVersion
  MetacelloMCVersionSpecLoader
')> was not of the expected class <SymbolDictionary>.



InterpreterError (Error) | defaultAction
InterpreterError (ExceptionA) | doResignal
ExceptionHandler | caughtException
ExceptionHandler | caughtEx:number:cat:args:
[] in ExceptionHandler | try:on:in:do:
Exception | _signal:number:args:
System class | signal:args:signalDictionary:
Array (Object) | _error:args:
Array (Object) | _errorExpectedClass:
Array (Object) | _validateClass:
System class | _signalGciError:args:signalDictionary:
UserDefinedError | defaultAction
UserDefinedError (ExceptionA) | doResignal
ExceptionHandler | caughtException
ExceptionHandler | caughtEx:number:cat:args:
[] in ExceptionHandler | try:on:in:do:
Exception | _signal:number:args:
System class | signal:args:signalDictionary:
System class | genericSignal:text:args:
System class | genericSignal:text:
Warning (Object) | halt:
Warning | defaultAction
Warning (ExceptionA) | doResignal
ExceptionHandler | caughtException
ExceptionHandler | caughtEx:number:cat:args:
[] in ExceptionHandler | try:on:in:do:
Warning (ExceptionA) | signal
Warning (ExceptionA) | signal:
Warning class (ExceptionA class) | signal:
MCPackageLoader (Object) | notify:
MCPackageLoader | warnAboutErrors
[] in MCPackageLoader | basicLoad
ExceptionHandler | try:on:in:do:
InMidstOfFileinNotification class (ExceptionA class) | try:on:do:
[] in ExecutableBlock | on:do:
[] in MCPackageLoader | basicLoad
[] in ExecutableBlock | ensure:
[] in ExecutableBlock | ensure:
MCPackageLoader | basicLoad
[] in MCPackageLoader | loadWithNameLike:
[] in MCPackageLoader | useChangeSetNamed:during:
[] in ExecutableBlock | ensure:
[] in ExecutableBlock | ensure:
MCPackageLoader | useChangeSetNamed:during:
MCPackageLoader | useNewChangeSetNamedLike:during:
MCPackageLoader | loadWithNameLike:
MCVersionLoader | load
MetacelloGoferLoad (GoferLoad) | execute
MetacelloMCSpecLoader | atomicLoad:
MetacelloMCSpecLoader | atomicLoadPackageSpecs:repositories:
[] in MetacelloMCSpecLoader | load
MetacelloGemStonePlatform (MetacelloPlatform) | cacheRepositoryFileNamesDuring:using:
MetacelloMCSpecLoader | load
MetacelloMCVersionSpecLoader | load
MetacelloMCVersion | loadRequiredFromArray:
MetacelloMCVersion | load
Executed Code
GsMethod | _executeInContext:
String | evaluateInContext:symbolList:
JadeServer | evaluate:inContext:
JadeServer | printIt:in:



What i wrong ?

How i can resolve this error ?

Thanks,

        Dario



Reply | Threaded
Open this post in threaded view
|

Re: Update GLASS enviroment

NorbertHartl
Dario,

you should have an Eye on how the versions are tagged. 1.0-beta.7 is tagged with development. It isn't supposed to be loaded by users like you and me. Just take the versions tagged beta. So 1.0-beta.6 is the version you should use. I had trouble with temporary space limits while loading beta.6. Loading beta.4 first and upgrade to beta.6 worked for me.

Hope this helps,

Norbert

On 05.02.2010, at 18:33, Dario Trussardi wrote:

> Hi,
>
> 1) i create a new extent with:   Bootstrapping GLASS 1.0-beta.4 instructions
>
> The GemTools 1.0-beta.3 on Pharo 505 work fine with this extent and with  hold extent 2.3.1.
>
>
> 2) I load into GLASS  ( with GemTools Monticello ) the : ConfigurationOfGLASS-DaleHenrichs.98.mcz.
>
>
> 3) After i open a GemTools1.0-beta.3 workspaces and do a command:
>
> (ConfigurationOfGLASS project version: '1.0-beta.7')  load
>
>
>
> After some works how report into Transcript :
>
>
> Loaded -> ConfigurationOfGsCore <-
> Loaded -> ConfigurationOfGsOB <-
> Loaded -> ConfigurationOfGsMisc <-
> Loaded -> ConfigurationOfGsMonticello <-
> Project: Core
> Loading project version: ~0.238 [ConfigurationOfGsCore]
> Preparing to Load -> Core-dkh.28 <-
> Preparing to Load -> Bootstrap-DaleHenrichs.177 <-
> Preparing to Load -> Sport3.010-dkh.20 <-
> Preparing to Load -> Squeak-djr.216 <-
> Project: Metacello
> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
> Preparing to Load -> Metacello-Core-DaleHenrichs.321 <-
> Preparing to Load -> Gofer-Core-lr.115 <-
> Preparing to Load -> Metacello-MC-DaleHenrichs.302 <-
> Preparing to Load -> Metacello-Platform.gemstone-DaleHenrichs.12 <-
> Project: Metacello Tools
> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
> Preparing to Load -> OB-Metacello-dkh.40 <-
> Project: Release Support
> Loading project version: ~0.235 [ConfigurationOfGsMisc]
> Preparing to Load -> GemStone-Release-Support-dkh.41 <-
> Project: Monticello
> Loading project version: ~0.236 [ConfigurationOfGsMonticello]
> Loaded -> ConfigurationOfGsCore <-
> Preparing to Load -> PackageInfo-Base.g-dkh.30 <-
> Preparing to Load -> Monticello.g-DaleHenrichs.399 <-
> Preparing to Load -> Change-Notification-dkh.3 <-
> Project: OB
> Loading project version: ~0.237 [ConfigurationOfGsOB]
> Loaded -> ConfigurationOfGsCore <-
> Loaded -> ConfigurationOfGsMisc <-
> Loaded -> ConfigurationOfGsMonticello <-
> Preparing to Load -> OmniBrowser-DaleHenrichs.444 <-
> Preparing to Load -> OB-Standard.g-dkh.431 <-
> Preparing to Load -> OB-SUnitGUI.g-dkh.60 <-
> Project: Announcements
> Loading project version: ~0.235 [ConfigurationOfGsMisc]
> Preparing to Load -> Announcements.g-dkh.11 <-
> Preparing to Load -> OB-Tools.g-dkh.127 <-
> Starting atomic load
>
>
>
>
> THE SYSTEM ERASE THE ERROR :
>
>
>
>
> InterpreterError 2094: The object <anArray( #'halt', 'Debug Warning: Warning: The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
>  GoferLoad
>  MetacelloVersion
>  MetacelloMCVersion
>  MetacelloMCVersionSpecLoader
> ')> was not of the expected class <SymbolDictionary>.
>
>
>
> InterpreterError (Error) | defaultAction
> InterpreterError (ExceptionA) | doResignal
> ExceptionHandler | caughtException
> ExceptionHandler | caughtEx:number:cat:args:
> [] in ExceptionHandler | try:on:in:do:
> Exception | _signal:number:args:
> System class | signal:args:signalDictionary:
> Array (Object) | _error:args:
> Array (Object) | _errorExpectedClass:
> Array (Object) | _validateClass:
> System class | _signalGciError:args:signalDictionary:
> UserDefinedError | defaultAction
> UserDefinedError (ExceptionA) | doResignal
> ExceptionHandler | caughtException
> ExceptionHandler | caughtEx:number:cat:args:
> [] in ExceptionHandler | try:on:in:do:
> Exception | _signal:number:args:
> System class | signal:args:signalDictionary:
> System class | genericSignal:text:args:
> System class | genericSignal:text:
> Warning (Object) | halt:
> Warning | defaultAction
> Warning (ExceptionA) | doResignal
> ExceptionHandler | caughtException
> ExceptionHandler | caughtEx:number:cat:args:
> [] in ExceptionHandler | try:on:in:do:
> Warning (ExceptionA) | signal
> Warning (ExceptionA) | signal:
> Warning class (ExceptionA class) | signal:
> MCPackageLoader (Object) | notify:
> MCPackageLoader | warnAboutErrors
> [] in MCPackageLoader | basicLoad
> ExceptionHandler | try:on:in:do:
> InMidstOfFileinNotification class (ExceptionA class) | try:on:do:
> [] in ExecutableBlock | on:do:
> [] in MCPackageLoader | basicLoad
> [] in ExecutableBlock | ensure:
> [] in ExecutableBlock | ensure:
> MCPackageLoader | basicLoad
> [] in MCPackageLoader | loadWithNameLike:
> [] in MCPackageLoader | useChangeSetNamed:during:
> [] in ExecutableBlock | ensure:
> [] in ExecutableBlock | ensure:
> MCPackageLoader | useChangeSetNamed:during:
> MCPackageLoader | useNewChangeSetNamedLike:during:
> MCPackageLoader | loadWithNameLike:
> MCVersionLoader | load
> MetacelloGoferLoad (GoferLoad) | execute
> MetacelloMCSpecLoader | atomicLoad:
> MetacelloMCSpecLoader | atomicLoadPackageSpecs:repositories:
> [] in MetacelloMCSpecLoader | load
> MetacelloGemStonePlatform (MetacelloPlatform) | cacheRepositoryFileNamesDuring:using:
> MetacelloMCSpecLoader | load
> MetacelloMCVersionSpecLoader | load
> MetacelloMCVersion | loadRequiredFromArray:
> MetacelloMCVersion | load
> Executed Code
> GsMethod | _executeInContext:
> String | evaluateInContext:symbolList:
> JadeServer | evaluate:inContext:
> JadeServer | printIt:in:
>
>
>
> What i wrong ?
>
> How i can resolve this error ?
>
> Thanks,
>
> Dario
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Update GLASS enviroment

dario trussardi

Norbert,

i follow your indication and i update my GLASS to 1.0-beta.6.

Thank.


My stone run on MAC and i think to manage the request with Hyper.

After i load  (ConfigurationOfGLASS project version: '1.0-beta.6' )  load: 'Seaside Hyper'.


I stop the gemstone and restart with the script  :

        source /opt/gemstone/product/seaside/defSeaside
        $GEMSTONE/seaside/bin/startGemstone
        $GEMSTONE/seaside/bin/startnet
        $GEMSTONE/seaside/bin/startSeaside_Hyper 50081

The stone start but report:

----------------------------------------------------------------------------------------------------------

topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 830/830
[Info]: User ID: DataCurator
[Info]: Repository: dtr
[Info]: Session ID: 2
[Info]: GCI Client Host: <Linked>
[Info]: Page server PID: -1
[Info]: Login Time: 02/06/10 11:06:10.403 CET
gci login: currSession 1 rpc gem processId -1
successful login
topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1> topaz 1> GemStone Smalltalk Compiler Errors:
   | server site |
   true "enable for remote breakpoints and profiling"
     ifTrue: [
       GemToGemAnnouncement installStaticHandler.
       Exception
         installStaticException:
           [:ex :cat :num :args |
             BreakpointNotification signal.
             "needed to avoid infinite loop when resuming from a breakpoint"
             ex _incrementBreakpointsToIgnore. ]
         category: GemStoneError
         number: 6005
         subtype: nil.
      System commitTransaction ifFalse: [ nil error: 'Could not commit for GemToGemSignaling' ]].
   
   System transactionMode: #manualBegin.
   
   Exception
     installStaticException:
       [:ex :cat :num :args |
         "Run the abort in a lowPriority process, since we must acquire the
          transactionMutex."
         [
           SeasidePlatformSupport transactionMutex
             critical: [
               SeasidePlatformSupport doAbortTransaction ].
           System enableSignaledAbortError.
         ] forkAt: Processor lowestPriority.
       ]
     category: GemStoneError
     number: 6009
     subtype: nil.
   System enableSignaledAbortError.
   "This thread is needed to handle the SigAbort exception, when the primary
    thread is blocked on an accept. Assuming default 60 second
    STN_GEM_ABORT_TIMEOUT, wake up at 30 second intervals."
   [
     [ true ] whileTrue: [ (Delay forSeconds: 30) wait ].
   ] forkAt: Processor lowestPriority.
   
   
   server := SwazooServer singleton.
 *           ^1                                                       *******
   server initialize.
   
   site := (SeasideSite new)
 *          ^2                                                        *******
     name: 'Seaside';
     initialize;
     host: GsSocket getLocalHostName
       ip: (GsSocket getHostAddressByName: GsSocket getLocalHostName)
       port: 50081;
     initializeResourceFromUriPattern: '/', 'seaside'.
   
   server addSite: site.
   
   GsFile gciLogServer: 'Hyper Server started on port ', 50081 printString.
   
   SwazooServer startSite: 'Seaside'.
   "does not return, unless there's an error"

1: [1031] undefined symbol
2: [1031] undefined symbol

Now executing the following command saved from "iferr 1":
   where
Stack is not active
topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1>
[Info]: Logging out at 02/06/10 11:06:10 CET
logout

[Processo completato]

--------------------------------------------------------------------------------------------


In need to load the ConfigurationOfSwazoo2 ?

In the ConfigurationOfGLASS i found the Swazzo2 project but any group load it.

My consideration are right or i wrong something ?


Dario


> Dario,
>
> you should have an Eye on how the versions are tagged. 1.0-beta.7 is tagged with development. It isn't supposed to be loaded by users like you and me. Just take the versions tagged beta. So 1.0-beta.6 is the version you should use. I had trouble with temporary space limits while loading beta.6. Loading beta.4 first and upgrade to beta.6 worked for me.
>
> Hope this helps,
>
> Norbert
>
> On 05.02.2010, at 18:33, Dario Trussardi wrote:
>
>> Hi,
>>
>> 1) i create a new extent with:   Bootstrapping GLASS 1.0-beta.4 instructions
>>
>> The GemTools 1.0-beta.3 on Pharo 505 work fine with this extent and with  hold extent 2.3.1.
>>
>>
>> 2) I load into GLASS  ( with GemTools Monticello ) the : ConfigurationOfGLASS-DaleHenrichs.98.mcz.
>>
>>
>> 3) After i open a GemTools1.0-beta.3 workspaces and do a command:
>>
>> (ConfigurationOfGLASS project version: '1.0-beta.7')  load
>>
>>
>>
>> After some works how report into Transcript :
>>
>>
>> Loaded -> ConfigurationOfGsCore <-
>> Loaded -> ConfigurationOfGsOB <-
>> Loaded -> ConfigurationOfGsMisc <-
>> Loaded -> ConfigurationOfGsMonticello <-
>> Project: Core
>> Loading project version: ~0.238 [ConfigurationOfGsCore]
>> Preparing to Load -> Core-dkh.28 <-
>> Preparing to Load -> Bootstrap-DaleHenrichs.177 <-
>> Preparing to Load -> Sport3.010-dkh.20 <-
>> Preparing to Load -> Squeak-djr.216 <-
>> Project: Metacello
>> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
>> Preparing to Load -> Metacello-Core-DaleHenrichs.321 <-
>> Preparing to Load -> Gofer-Core-lr.115 <-
>> Preparing to Load -> Metacello-MC-DaleHenrichs.302 <-
>> Preparing to Load -> Metacello-Platform.gemstone-DaleHenrichs.12 <-
>> Project: Metacello Tools
>> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
>> Preparing to Load -> OB-Metacello-dkh.40 <-
>> Project: Release Support
>> Loading project version: ~0.235 [ConfigurationOfGsMisc]
>> Preparing to Load -> GemStone-Release-Support-dkh.41 <-
>> Project: Monticello
>> Loading project version: ~0.236 [ConfigurationOfGsMonticello]
>> Loaded -> ConfigurationOfGsCore <-
>> Preparing to Load -> PackageInfo-Base.g-dkh.30 <-
>> Preparing to Load -> Monticello.g-DaleHenrichs.399 <-
>> Preparing to Load -> Change-Notification-dkh.3 <-
>> Project: OB
>> Loading project version: ~0.237 [ConfigurationOfGsOB]
>> Loaded -> ConfigurationOfGsCore <-
>> Loaded -> ConfigurationOfGsMisc <-
>> Loaded -> ConfigurationOfGsMonticello <-
>> Preparing to Load -> OmniBrowser-DaleHenrichs.444 <-
>> Preparing to Load -> OB-Standard.g-dkh.431 <-
>> Preparing to Load -> OB-SUnitGUI.g-dkh.60 <-
>> Project: Announcements
>> Loading project version: ~0.235 [ConfigurationOfGsMisc]
>> Preparing to Load -> Announcements.g-dkh.11 <-
>> Preparing to Load -> OB-Tools.g-dkh.127 <-
>> Starting atomic load
>>
>>
>>
>>
>> THE SYSTEM ERASE THE ERROR :
>>
>>
>>
>>
>> InterpreterError 2094: The object <anArray( #'halt', 'Debug Warning: Warning: The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
>> GoferLoad
>> MetacelloVersion
>> MetacelloMCVersion
>> MetacelloMCVersionSpecLoader
>> ')> was not of the expected class <SymbolDictionary>.
>>
>>
>>
>> InterpreterError (Error) | defaultAction
>> InterpreterError (ExceptionA) | doResignal
>> ExceptionHandler | caughtException
>> ExceptionHandler | caughtEx:number:cat:args:
>> [] in ExceptionHandler | try:on:in:do:
>> Exception | _signal:number:args:
>> System class | signal:args:signalDictionary:
>> Array (Object) | _error:args:
>> Array (Object) | _errorExpectedClass:
>> Array (Object) | _validateClass:
>> System class | _signalGciError:args:signalDictionary:
>> UserDefinedError | defaultAction
>> UserDefinedError (ExceptionA) | doResignal
>> ExceptionHandler | caughtException
>> ExceptionHandler | caughtEx:number:cat:args:
>> [] in ExceptionHandler | try:on:in:do:
>> Exception | _signal:number:args:
>> System class | signal:args:signalDictionary:
>> System class | genericSignal:text:args:
>> System class | genericSignal:text:
>> Warning (Object) | halt:
>> Warning | defaultAction
>> Warning (ExceptionA) | doResignal
>> ExceptionHandler | caughtException
>> ExceptionHandler | caughtEx:number:cat:args:
>> [] in ExceptionHandler | try:on:in:do:
>> Warning (ExceptionA) | signal
>> Warning (ExceptionA) | signal:
>> Warning class (ExceptionA class) | signal:
>> MCPackageLoader (Object) | notify:
>> MCPackageLoader | warnAboutErrors
>> [] in MCPackageLoader | basicLoad
>> ExceptionHandler | try:on:in:do:
>> InMidstOfFileinNotification class (ExceptionA class) | try:on:do:
>> [] in ExecutableBlock | on:do:
>> [] in MCPackageLoader | basicLoad
>> [] in ExecutableBlock | ensure:
>> [] in ExecutableBlock | ensure:
>> MCPackageLoader | basicLoad
>> [] in MCPackageLoader | loadWithNameLike:
>> [] in MCPackageLoader | useChangeSetNamed:during:
>> [] in ExecutableBlock | ensure:
>> [] in ExecutableBlock | ensure:
>> MCPackageLoader | useChangeSetNamed:during:
>> MCPackageLoader | useNewChangeSetNamedLike:during:
>> MCPackageLoader | loadWithNameLike:
>> MCVersionLoader | load
>> MetacelloGoferLoad (GoferLoad) | execute
>> MetacelloMCSpecLoader | atomicLoad:
>> MetacelloMCSpecLoader | atomicLoadPackageSpecs:repositories:
>> [] in MetacelloMCSpecLoader | load
>> MetacelloGemStonePlatform (MetacelloPlatform) | cacheRepositoryFileNamesDuring:using:
>> MetacelloMCSpecLoader | load
>> MetacelloMCVersionSpecLoader | load
>> MetacelloMCVersion | loadRequiredFromArray:
>> MetacelloMCVersion | load
>> Executed Code
>> GsMethod | _executeInContext:
>> String | evaluateInContext:symbolList:
>> JadeServer | evaluate:inContext:
>> JadeServer | printIt:in:
>>
>>
>>
>> What i wrong ?
>>
>> How i can resolve this error ?
>>
>> Thanks,
>>
>> Dario
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Update GLASS enviroment

NorbertHartl
Dario,

I don't know exactly what you did but the problem appears familiar to me. It seems you have the startSeaside_Hyper script that came with gemstone 2.3 installation. To my knowledge this does not work with newer releases including dkh.231 of Glass. But I'm not sure. As long as you stay with Seaside 2.8 you should be able to fix this by changing the startSeaside_Hyper script according to

http://gemstonesoup.wordpress.com/2009/04/15/glass-beta-update-working-with-soap-preview/

Just look for a title called "Using Hyper: SeasideSite replaced by SeasideHTTPService". This worked for me back then.

Norbert

On 06.02.2010, at 11:47, Dario Trussardi wrote:

>
> Norbert,
>
> i follow your indication and i update my GLASS to 1.0-beta.6.
>
> Thank.
>
>
> My stone run on MAC and i think to manage the request with Hyper.
>
> After i load  (ConfigurationOfGLASS project version: '1.0-beta.6' )  load: 'Seaside Hyper'.
>
>
> I stop the gemstone and restart with the script  :
>
> source /opt/gemstone/product/seaside/defSeaside
> $GEMSTONE/seaside/bin/startGemstone
> $GEMSTONE/seaside/bin/startnet
> $GEMSTONE/seaside/bin/startSeaside_Hyper 50081
>
> The stone start but report:
>
> ----------------------------------------------------------------------------------------------------------
>
> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 830/830
> [Info]: User ID: DataCurator
> [Info]: Repository: dtr
> [Info]: Session ID: 2
> [Info]: GCI Client Host: <Linked>
> [Info]: Page server PID: -1
> [Info]: Login Time: 02/06/10 11:06:10.403 CET
> gci login: currSession 1 rpc gem processId -1
> successful login
> topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
> topaz 1> topaz 1> GemStone Smalltalk Compiler Errors:
>   | server site |
>   true "enable for remote breakpoints and profiling"
>     ifTrue: [
>       GemToGemAnnouncement installStaticHandler.
>       Exception
>         installStaticException:
>           [:ex :cat :num :args |
>             BreakpointNotification signal.
>             "needed to avoid infinite loop when resuming from a breakpoint"
>             ex _incrementBreakpointsToIgnore. ]
>         category: GemStoneError
>         number: 6005
>         subtype: nil.
>      System commitTransaction ifFalse: [ nil error: 'Could not commit for GemToGemSignaling' ]].
>
>   System transactionMode: #manualBegin.
>
>   Exception
>     installStaticException:
>       [:ex :cat :num :args |
>         "Run the abort in a lowPriority process, since we must acquire the
>          transactionMutex."
>         [
>           SeasidePlatformSupport transactionMutex
>             critical: [
>               SeasidePlatformSupport doAbortTransaction ].
>           System enableSignaledAbortError.
>         ] forkAt: Processor lowestPriority.
>       ]
>     category: GemStoneError
>     number: 6009
>     subtype: nil.
>   System enableSignaledAbortError.
>   "This thread is needed to handle the SigAbort exception, when the primary
>    thread is blocked on an accept. Assuming default 60 second
>    STN_GEM_ABORT_TIMEOUT, wake up at 30 second intervals."
>   [
>     [ true ] whileTrue: [ (Delay forSeconds: 30) wait ].
>   ] forkAt: Processor lowestPriority.
>
>
>   server := SwazooServer singleton.
> *           ^1                                                       *******
>   server initialize.
>
>   site := (SeasideSite new)
> *          ^2                                                        *******
>     name: 'Seaside';
>     initialize;
>     host: GsSocket getLocalHostName
>       ip: (GsSocket getHostAddressByName: GsSocket getLocalHostName)
>       port: 50081;
>     initializeResourceFromUriPattern: '/', 'seaside'.
>
>   server addSite: site.
>
>   GsFile gciLogServer: 'Hyper Server started on port ', 50081 printString.
>
>   SwazooServer startSite: 'Seaside'.
>   "does not return, unless there's an error"
>
> 1: [1031] undefined symbol
> 2: [1031] undefined symbol
>
> Now executing the following command saved from "iferr 1":
>   where
> Stack is not active
> topaz 1> [268 sz:0 cls: 68097 Boolean] true
> topaz 1>
> [Info]: Logging out at 02/06/10 11:06:10 CET
> logout
>
> [Processo completato]
>
> --------------------------------------------------------------------------------------------
>
>
> In need to load the ConfigurationOfSwazoo2 ?
>
> In the ConfigurationOfGLASS i found the Swazzo2 project but any group load it.
>
> My consideration are right or i wrong something ?
>
>
> Dario
>
>
>> Dario,
>>
>> you should have an Eye on how the versions are tagged. 1.0-beta.7 is tagged with development. It isn't supposed to be loaded by users like you and me. Just take the versions tagged beta. So 1.0-beta.6 is the version you should use. I had trouble with temporary space limits while loading beta.6. Loading beta.4 first and upgrade to beta.6 worked for me.
>>
>> Hope this helps,
>>
>> Norbert
>>
>> On 05.02.2010, at 18:33, Dario Trussardi wrote:
>>
>>> Hi,
>>>
>>> 1) i create a new extent with:   Bootstrapping GLASS 1.0-beta.4 instructions
>>>
>>> The GemTools 1.0-beta.3 on Pharo 505 work fine with this extent and with  hold extent 2.3.1.
>>>
>>>
>>> 2) I load into GLASS  ( with GemTools Monticello ) the : ConfigurationOfGLASS-DaleHenrichs.98.mcz.
>>>
>>>
>>> 3) After i open a GemTools1.0-beta.3 workspaces and do a command:
>>>
>>> (ConfigurationOfGLASS project version: '1.0-beta.7')  load
>>>
>>>
>>>
>>> After some works how report into Transcript :
>>>
>>>
>>> Loaded -> ConfigurationOfGsCore <-
>>> Loaded -> ConfigurationOfGsOB <-
>>> Loaded -> ConfigurationOfGsMisc <-
>>> Loaded -> ConfigurationOfGsMonticello <-
>>> Project: Core
>>> Loading project version: ~0.238 [ConfigurationOfGsCore]
>>> Preparing to Load -> Core-dkh.28 <-
>>> Preparing to Load -> Bootstrap-DaleHenrichs.177 <-
>>> Preparing to Load -> Sport3.010-dkh.20 <-
>>> Preparing to Load -> Squeak-djr.216 <-
>>> Project: Metacello
>>> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
>>> Preparing to Load -> Metacello-Core-DaleHenrichs.321 <-
>>> Preparing to Load -> Gofer-Core-lr.115 <-
>>> Preparing to Load -> Metacello-MC-DaleHenrichs.302 <-
>>> Preparing to Load -> Metacello-Platform.gemstone-DaleHenrichs.12 <-
>>> Project: Metacello Tools
>>> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
>>> Preparing to Load -> OB-Metacello-dkh.40 <-
>>> Project: Release Support
>>> Loading project version: ~0.235 [ConfigurationOfGsMisc]
>>> Preparing to Load -> GemStone-Release-Support-dkh.41 <-
>>> Project: Monticello
>>> Loading project version: ~0.236 [ConfigurationOfGsMonticello]
>>> Loaded -> ConfigurationOfGsCore <-
>>> Preparing to Load -> PackageInfo-Base.g-dkh.30 <-
>>> Preparing to Load -> Monticello.g-DaleHenrichs.399 <-
>>> Preparing to Load -> Change-Notification-dkh.3 <-
>>> Project: OB
>>> Loading project version: ~0.237 [ConfigurationOfGsOB]
>>> Loaded -> ConfigurationOfGsCore <-
>>> Loaded -> ConfigurationOfGsMisc <-
>>> Loaded -> ConfigurationOfGsMonticello <-
>>> Preparing to Load -> OmniBrowser-DaleHenrichs.444 <-
>>> Preparing to Load -> OB-Standard.g-dkh.431 <-
>>> Preparing to Load -> OB-SUnitGUI.g-dkh.60 <-
>>> Project: Announcements
>>> Loading project version: ~0.235 [ConfigurationOfGsMisc]
>>> Preparing to Load -> Announcements.g-dkh.11 <-
>>> Preparing to Load -> OB-Tools.g-dkh.127 <-
>>> Starting atomic load
>>>
>>>
>>>
>>>
>>> THE SYSTEM ERASE THE ERROR :
>>>
>>>
>>>
>>>
>>> InterpreterError 2094: The object <anArray( #'halt', 'Debug Warning: Warning: The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
>>> GoferLoad
>>> MetacelloVersion
>>> MetacelloMCVersion
>>> MetacelloMCVersionSpecLoader
>>> ')> was not of the expected class <SymbolDictionary>.
>>>
>>>
>>>
>>> InterpreterError (Error) | defaultAction
>>> InterpreterError (ExceptionA) | doResignal
>>> ExceptionHandler | caughtException
>>> ExceptionHandler | caughtEx:number:cat:args:
>>> [] in ExceptionHandler | try:on:in:do:
>>> Exception | _signal:number:args:
>>> System class | signal:args:signalDictionary:
>>> Array (Object) | _error:args:
>>> Array (Object) | _errorExpectedClass:
>>> Array (Object) | _validateClass:
>>> System class | _signalGciError:args:signalDictionary:
>>> UserDefinedError | defaultAction
>>> UserDefinedError (ExceptionA) | doResignal
>>> ExceptionHandler | caughtException
>>> ExceptionHandler | caughtEx:number:cat:args:
>>> [] in ExceptionHandler | try:on:in:do:
>>> Exception | _signal:number:args:
>>> System class | signal:args:signalDictionary:
>>> System class | genericSignal:text:args:
>>> System class | genericSignal:text:
>>> Warning (Object) | halt:
>>> Warning | defaultAction
>>> Warning (ExceptionA) | doResignal
>>> ExceptionHandler | caughtException
>>> ExceptionHandler | caughtEx:number:cat:args:
>>> [] in ExceptionHandler | try:on:in:do:
>>> Warning (ExceptionA) | signal
>>> Warning (ExceptionA) | signal:
>>> Warning class (ExceptionA class) | signal:
>>> MCPackageLoader (Object) | notify:
>>> MCPackageLoader | warnAboutErrors
>>> [] in MCPackageLoader | basicLoad
>>> ExceptionHandler | try:on:in:do:
>>> InMidstOfFileinNotification class (ExceptionA class) | try:on:do:
>>> [] in ExecutableBlock | on:do:
>>> [] in MCPackageLoader | basicLoad
>>> [] in ExecutableBlock | ensure:
>>> [] in ExecutableBlock | ensure:
>>> MCPackageLoader | basicLoad
>>> [] in MCPackageLoader | loadWithNameLike:
>>> [] in MCPackageLoader | useChangeSetNamed:during:
>>> [] in ExecutableBlock | ensure:
>>> [] in ExecutableBlock | ensure:
>>> MCPackageLoader | useChangeSetNamed:during:
>>> MCPackageLoader | useNewChangeSetNamedLike:during:
>>> MCPackageLoader | loadWithNameLike:
>>> MCVersionLoader | load
>>> MetacelloGoferLoad (GoferLoad) | execute
>>> MetacelloMCSpecLoader | atomicLoad:
>>> MetacelloMCSpecLoader | atomicLoadPackageSpecs:repositories:
>>> [] in MetacelloMCSpecLoader | load
>>> MetacelloGemStonePlatform (MetacelloPlatform) | cacheRepositoryFileNamesDuring:using:
>>> MetacelloMCSpecLoader | load
>>> MetacelloMCVersionSpecLoader | load
>>> MetacelloMCVersion | loadRequiredFromArray:
>>> MetacelloMCVersion | load
>>> Executed Code
>>> GsMethod | _executeInContext:
>>> String | evaluateInContext:symbolList:
>>> JadeServer | evaluate:inContext:
>>> JadeServer | printIt:in:
>>>
>>>
>>>
>>> What i wrong ?
>>>
>>> How i can resolve this error ?
>>>
>>> Thanks,
>>>
>>> Dario
>>>
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Update GLASS enviroment

dario trussardi
Norbert,

i follow your indication and change the \seaside\bin\startSeasideHyper.

Now work fine.

Very thanks,

        Dario

> Dario,
>
> I don't know exactly what you did but the problem appears familiar to me. It seems you have the startSeaside_Hyper script that came with gemstone 2.3 installation. To my knowledge this does not work with newer releases including dkh.231 of Glass. But I'm not sure. As long as you stay with Seaside 2.8 you should be able to fix this by changing the startSeaside_Hyper script according to
>
> http://gemstonesoup.wordpress.com/2009/04/15/glass-beta-update-working-with-soap-preview/
>
> Just look for a title called "Using Hyper: SeasideSite replaced by SeasideHTTPService". This worked for me back then.
>
> Norbert
>
> On 06.02.2010, at 11:47, Dario Trussardi wrote:
>
>>
>> Norbert,
>>
>> i follow your indication and i update my GLASS to 1.0-beta.6.
>>
>> Thank.
>>
>>
>> My stone run on MAC and i think to manage the request with Hyper.
>>
>> After i load  (ConfigurationOfGLASS project version: '1.0-beta.6' )  load: 'Seaside Hyper'.
>>
>>
>> I stop the gemstone and restart with the script  :
>>
>> source /opt/gemstone/product/seaside/defSeaside
>> $GEMSTONE/seaside/bin/startGemstone
>> $GEMSTONE/seaside/bin/startnet
>> $GEMSTONE/seaside/bin/startSeaside_Hyper 50081
>>
>> The stone start but report:
>>
>> ----------------------------------------------------------------------------------------------------------
>>
>> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 830/830
>> [Info]: User ID: DataCurator
>> [Info]: Repository: dtr
>> [Info]: Session ID: 2
>> [Info]: GCI Client Host: <Linked>
>> [Info]: Page server PID: -1
>> [Info]: Login Time: 02/06/10 11:06:10.403 CET
>> gci login: currSession 1 rpc gem processId -1
>> successful login
>> topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
>> topaz 1> topaz 1> GemStone Smalltalk Compiler Errors:
>>  | server site |
>>  true "enable for remote breakpoints and profiling"
>>    ifTrue: [
>>      GemToGemAnnouncement installStaticHandler.
>>      Exception
>>        installStaticException:
>>          [:ex :cat :num :args |
>>            BreakpointNotification signal.
>>            "needed to avoid infinite loop when resuming from a breakpoint"
>>            ex _incrementBreakpointsToIgnore. ]
>>        category: GemStoneError
>>        number: 6005
>>        subtype: nil.
>>     System commitTransaction ifFalse: [ nil error: 'Could not commit for GemToGemSignaling' ]].
>>
>>  System transactionMode: #manualBegin.
>>
>>  Exception
>>    installStaticException:
>>      [:ex :cat :num :args |
>>        "Run the abort in a lowPriority process, since we must acquire the
>>         transactionMutex."
>>        [
>>          SeasidePlatformSupport transactionMutex
>>            critical: [
>>              SeasidePlatformSupport doAbortTransaction ].
>>          System enableSignaledAbortError.
>>        ] forkAt: Processor lowestPriority.
>>      ]
>>    category: GemStoneError
>>    number: 6009
>>    subtype: nil.
>>  System enableSignaledAbortError.
>>  "This thread is needed to handle the SigAbort exception, when the primary
>>   thread is blocked on an accept. Assuming default 60 second
>>   STN_GEM_ABORT_TIMEOUT, wake up at 30 second intervals."
>>  [
>>    [ true ] whileTrue: [ (Delay forSeconds: 30) wait ].
>>  ] forkAt: Processor lowestPriority.
>>
>>
>>  server := SwazooServer singleton.
>> *           ^1                                                       *******
>>  server initialize.
>>
>>  site := (SeasideSite new)
>> *          ^2                                                        *******
>>    name: 'Seaside';
>>    initialize;
>>    host: GsSocket getLocalHostName
>>      ip: (GsSocket getHostAddressByName: GsSocket getLocalHostName)
>>      port: 50081;
>>    initializeResourceFromUriPattern: '/', 'seaside'.
>>
>>  server addSite: site.
>>
>>  GsFile gciLogServer: 'Hyper Server started on port ', 50081 printString.
>>
>>  SwazooServer startSite: 'Seaside'.
>>  "does not return, unless there's an error"
>>
>> 1: [1031] undefined symbol
>> 2: [1031] undefined symbol
>>
>> Now executing the following command saved from "iferr 1":
>>  where
>> Stack is not active
>> topaz 1> [268 sz:0 cls: 68097 Boolean] true
>> topaz 1>
>> [Info]: Logging out at 02/06/10 11:06:10 CET
>> logout
>>
>> [Processo completato]
>>
>> --------------------------------------------------------------------------------------------
>>
>>
>> In need to load the ConfigurationOfSwazoo2 ?
>>
>> In the ConfigurationOfGLASS i found the Swazzo2 project but any group load it.
>>
>> My consideration are right or i wrong something ?
>>
>>
>> Dario
>>
>>
>>> Dario,
>>>
>>> you should have an Eye on how the versions are tagged. 1.0-beta.7 is tagged with development. It isn't supposed to be loaded by users like you and me. Just take the versions tagged beta. So 1.0-beta.6 is the version you should use. I had trouble with temporary space limits while loading beta.6. Loading beta.4 first and upgrade to beta.6 worked for me.
>>>
>>> Hope this helps,
>>>
>>> Norbert
>>>
>>> On 05.02.2010, at 18:33, Dario Trussardi wrote:
>>>
>>>> Hi,
>>>>
>>>> 1) i create a new extent with:   Bootstrapping GLASS 1.0-beta.4 instructions
>>>>
>>>> The GemTools 1.0-beta.3 on Pharo 505 work fine with this extent and with  hold extent 2.3.1.
>>>>
>>>>
>>>> 2) I load into GLASS  ( with GemTools Monticello ) the : ConfigurationOfGLASS-DaleHenrichs.98.mcz.
>>>>
>>>>
>>>> 3) After i open a GemTools1.0-beta.3 workspaces and do a command:
>>>>
>>>> (ConfigurationOfGLASS project version: '1.0-beta.7')  load
>>>>
>>>>
>>>>
>>>> After some works how report into Transcript :
>>>>
>>>>
>>>> Loaded -> ConfigurationOfGsCore <-
>>>> Loaded -> ConfigurationOfGsOB <-
>>>> Loaded -> ConfigurationOfGsMisc <-
>>>> Loaded -> ConfigurationOfGsMonticello <-
>>>> Project: Core
>>>> Loading project version: ~0.238 [ConfigurationOfGsCore]
>>>> Preparing to Load -> Core-dkh.28 <-
>>>> Preparing to Load -> Bootstrap-DaleHenrichs.177 <-
>>>> Preparing to Load -> Sport3.010-dkh.20 <-
>>>> Preparing to Load -> Squeak-djr.216 <-
>>>> Project: Metacello
>>>> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
>>>> Preparing to Load -> Metacello-Core-DaleHenrichs.321 <-
>>>> Preparing to Load -> Gofer-Core-lr.115 <-
>>>> Preparing to Load -> Metacello-MC-DaleHenrichs.302 <-
>>>> Preparing to Load -> Metacello-Platform.gemstone-DaleHenrichs.12 <-
>>>> Project: Metacello Tools
>>>> Loading project version: ~1.0-beta.21 [ConfigurationOfMetacello]
>>>> Preparing to Load -> OB-Metacello-dkh.40 <-
>>>> Project: Release Support
>>>> Loading project version: ~0.235 [ConfigurationOfGsMisc]
>>>> Preparing to Load -> GemStone-Release-Support-dkh.41 <-
>>>> Project: Monticello
>>>> Loading project version: ~0.236 [ConfigurationOfGsMonticello]
>>>> Loaded -> ConfigurationOfGsCore <-
>>>> Preparing to Load -> PackageInfo-Base.g-dkh.30 <-
>>>> Preparing to Load -> Monticello.g-DaleHenrichs.399 <-
>>>> Preparing to Load -> Change-Notification-dkh.3 <-
>>>> Project: OB
>>>> Loading project version: ~0.237 [ConfigurationOfGsOB]
>>>> Loaded -> ConfigurationOfGsCore <-
>>>> Loaded -> ConfigurationOfGsMisc <-
>>>> Loaded -> ConfigurationOfGsMonticello <-
>>>> Preparing to Load -> OmniBrowser-DaleHenrichs.444 <-
>>>> Preparing to Load -> OB-Standard.g-dkh.431 <-
>>>> Preparing to Load -> OB-SUnitGUI.g-dkh.60 <-
>>>> Project: Announcements
>>>> Loading project version: ~0.235 [ConfigurationOfGsMisc]
>>>> Preparing to Load -> Announcements.g-dkh.11 <-
>>>> Preparing to Load -> OB-Tools.g-dkh.127 <-
>>>> Starting atomic load
>>>>
>>>>
>>>>
>>>>
>>>> THE SYSTEM ERASE THE ERROR :
>>>>
>>>>
>>>>
>>>>
>>>> InterpreterError 2094: The object <anArray( #'halt', 'Debug Warning: Warning: The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
>>>> GoferLoad
>>>> MetacelloVersion
>>>> MetacelloMCVersion
>>>> MetacelloMCVersionSpecLoader
>>>> ')> was not of the expected class <SymbolDictionary>.
>>>>
>>>>
>>>>
>>>> InterpreterError (Error) | defaultAction
>>>> InterpreterError (ExceptionA) | doResignal
>>>> ExceptionHandler | caughtException
>>>> ExceptionHandler | caughtEx:number:cat:args:
>>>> [] in ExceptionHandler | try:on:in:do:
>>>> Exception | _signal:number:args:
>>>> System class | signal:args:signalDictionary:
>>>> Array (Object) | _error:args:
>>>> Array (Object) | _errorExpectedClass:
>>>> Array (Object) | _validateClass:
>>>> System class | _signalGciError:args:signalDictionary:
>>>> UserDefinedError | defaultAction
>>>> UserDefinedError (ExceptionA) | doResignal
>>>> ExceptionHandler | caughtException
>>>> ExceptionHandler | caughtEx:number:cat:args:
>>>> [] in ExceptionHandler | try:on:in:do:
>>>> Exception | _signal:number:args:
>>>> System class | signal:args:signalDictionary:
>>>> System class | genericSignal:text:args:
>>>> System class | genericSignal:text:
>>>> Warning (Object) | halt:
>>>> Warning | defaultAction
>>>> Warning (ExceptionA) | doResignal
>>>> ExceptionHandler | caughtException
>>>> ExceptionHandler | caughtEx:number:cat:args:
>>>> [] in ExceptionHandler | try:on:in:do:
>>>> Warning (ExceptionA) | signal
>>>> Warning (ExceptionA) | signal:
>>>> Warning class (ExceptionA class) | signal:
>>>> MCPackageLoader (Object) | notify:
>>>> MCPackageLoader | warnAboutErrors
>>>> [] in MCPackageLoader | basicLoad
>>>> ExceptionHandler | try:on:in:do:
>>>> InMidstOfFileinNotification class (ExceptionA class) | try:on:do:
>>>> [] in ExecutableBlock | on:do:
>>>> [] in MCPackageLoader | basicLoad
>>>> [] in ExecutableBlock | ensure:
>>>> [] in ExecutableBlock | ensure:
>>>> MCPackageLoader | basicLoad
>>>> [] in MCPackageLoader | loadWithNameLike:
>>>> [] in MCPackageLoader | useChangeSetNamed:during:
>>>> [] in ExecutableBlock | ensure:
>>>> [] in ExecutableBlock | ensure:
>>>> MCPackageLoader | useChangeSetNamed:during:
>>>> MCPackageLoader | useNewChangeSetNamedLike:during:
>>>> MCPackageLoader | loadWithNameLike:
>>>> MCVersionLoader | load
>>>> MetacelloGoferLoad (GoferLoad) | execute
>>>> MetacelloMCSpecLoader | atomicLoad:
>>>> MetacelloMCSpecLoader | atomicLoadPackageSpecs:repositories:
>>>> [] in MetacelloMCSpecLoader | load
>>>> MetacelloGemStonePlatform (MetacelloPlatform) | cacheRepositoryFileNamesDuring:using:
>>>> MetacelloMCSpecLoader | load
>>>> MetacelloMCVersionSpecLoader | load
>>>> MetacelloMCVersion | loadRequiredFromArray:
>>>> MetacelloMCVersion | load
>>>> Executed Code
>>>> GsMethod | _executeInContext:
>>>> String | evaluateInContext:symbolList:
>>>> JadeServer | evaluate:inContext:
>>>> JadeServer | printIt:in:
>>>>
>>>>
>>>>
>>>> What i wrong ?
>>>>
>>>> How i can resolve this error ?
>>>>
>>>> Thanks,
>>>>
>>>> Dario
>>>>
>>>>
>>>>
>>>
>>
>