[Glass] Load Seside 3.1 into Gemstone 3.2.1

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

[Glass] Load Seside 3.1 into Gemstone 3.2.1

Reg Krock-4
Dale and James

What is the correct code to load 3.1 into Gemstone 3.2.1.

1) I first tried the following and the project was not found. 
run
"based on https://code.google.com/p/glassdb/wiki/Seaside30Configuration"
MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
  ConfigurationOfMetacello project updateProject.
  ConfigurationOfMetacello loadLatestVersion.
  Gofer project load: 'Seaside31' group: 'Seaside-Adaptors-Swazoo'.
].
%
2) The I tried to load 3.0 and it failed on the error message below.
run
"based on https://code.google.com/p/glassdb/wiki/Seaside30Configuration"
MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
  ConfigurationOfMetacello project updateProject.
  ConfigurationOfMetacello loadLatestVersion.
  Gofer project load: 'Seaside30' group: 'Seaside-Adaptors-Swazoo'.
].
%
and it fails with the following error message:

   ERROR 2718 , a ArgumentError occurred (error 2718), (argument at: 1) contains codePoint 16rd800 not legal for Unicode (ArgumentError)

What is the best way forward here?

Regards

Reg

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Load Seside 3.1 into Gemstone 3.2.1

Reg Krock-4
Dale,

I ran it as:

MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [ 
GsDeployer bulkMigrate: [
    Metacello new
      configuration: 'Seaside3';
      version: '3.1.1';
      load: #('Tests' 'Zinc' 'FastCGI' 'Swazoo') ] ]

and it worked like a charm.

Thanks

Reg

On 30 Jun2014, at 1:12 PM, Dale Henrichs <[hidden email]> wrote:

Reg,

Johan published instructions[1] a while back for loading Seaside3.1 in GemStone3.2:

  Gofer new 
        url: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
        package: 'ConfigurationOfSeaside3'; 
        load. 
  ((Smalltalk at: #ConfigurationOfSeaside3) project version: '3.1.1') load:#('Tests' 'Zinc' 'FastCGI' 'Swazoo'). 

I would modify that a bit to use the Metacello scripting api and GsDeployer:

  GsDeployer bulkMigrate: [
    Metacello new
      configuration: 'Seaside3';
      version: '3.1.1';
      load: #('Tests' 'Zinc' 'FastCGI' 'Swazoo') ].

Dale



On Mon, Jun 30, 2014 at 9:36 AM, Reg Krock <[hidden email]> wrote:
Dale and James

What is the correct code to load 3.1 into Gemstone 3.2.1.

1) I first tried the following and the project was not found. 
run
"based on https://code.google.com/p/glassdb/wiki/Seaside30Configuration"
MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
  ConfigurationOfMetacello project updateProject.
  ConfigurationOfMetacello loadLatestVersion.
  Gofer project load: 'Seaside31' group: 'Seaside-Adaptors-Swazoo'.
].
%
2) The I tried to load 3.0 and it failed on the error message below.
run
"based on https://code.google.com/p/glassdb/wiki/Seaside30Configuration"
MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
  ConfigurationOfMetacello project updateProject.
  ConfigurationOfMetacello loadLatestVersion.
  Gofer project load: 'Seaside30' group: 'Seaside-Adaptors-Swazoo'.
].
%
and it fails with the following error message:

   ERROR 2718 , a ArgumentError occurred (error 2718), (argument at: 1) contains codePoint 16rd800 not legal for Unicode (ArgumentError)

What is the best way forward here?

Regards

Reg



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Load Seside 3.1 into Gemstone 3.2.1

Dale Henrichs-3
Reg,

GsDeployer does almostOutOfMemory, so you can get away with just the GsDeployer block...

Dale


On Mon, Jun 30, 2014 at 11:22 AM, Reg Krock <[hidden email]> wrote:
Dale,

I ran it as:

MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [ 
GsDeployer bulkMigrate: [
    Metacello new
      configuration: 'Seaside3';
      version: '3.1.1';
      load: #('Tests' 'Zinc' 'FastCGI' 'Swazoo') ] ]

and it worked like a charm.

Thanks

Reg

On 30 Jun2014, at 1:12 PM, Dale Henrichs <[hidden email]> wrote:

Reg,

Johan published instructions[1] a while back for loading Seaside3.1 in GemStone3.2:

  Gofer new 
        url: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
        package: 'ConfigurationOfSeaside3'; 
        load. 
  ((Smalltalk at: #ConfigurationOfSeaside3) project version: '3.1.1') load:#('Tests' 'Zinc' 'FastCGI' 'Swazoo'). 

I would modify that a bit to use the Metacello scripting api and GsDeployer:

  GsDeployer bulkMigrate: [
    Metacello new
      configuration: 'Seaside3';
      version: '3.1.1';
      load: #('Tests' 'Zinc' 'FastCGI' 'Swazoo') ].

Dale



On Mon, Jun 30, 2014 at 9:36 AM, Reg Krock <[hidden email]> wrote:
Dale and James

What is the correct code to load 3.1 into Gemstone 3.2.1.

1) I first tried the following and the project was not found. 
run
"based on https://code.google.com/p/glassdb/wiki/Seaside30Configuration"
MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
  ConfigurationOfMetacello project updateProject.
  ConfigurationOfMetacello loadLatestVersion.
  Gofer project load: 'Seaside31' group: 'Seaside-Adaptors-Swazoo'.
].
%
2) The I tried to load 3.0 and it failed on the error message below.
run
"based on https://code.google.com/p/glassdb/wiki/Seaside30Configuration"
MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
  ConfigurationOfMetacello project updateProject.
  ConfigurationOfMetacello loadLatestVersion.
  Gofer project load: 'Seaside30' group: 'Seaside-Adaptors-Swazoo'.
].
%
and it fails with the following error message:

   ERROR 2718 , a ArgumentError occurred (error 2718), (argument at: 1) contains codePoint 16rd800 not legal for Unicode (ArgumentError)

What is the best way forward here?

Regards

Reg




_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass