Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

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

Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

glassdb
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium GLASS-Server Version-GLASS0.231

New issue 322 by norbert.hartl: Loading seaside 3.0.6.3 in fresh extent  
fails
http://code.google.com/p/glassdb/issues/detail?id=322

When installing a fresh 2.4.4.1 GemStone and using a extent0.seaside.dbf  
extent loading of seaside 3.0.6 fails. I load it via


       MCPlatformSupport autoCommit: true.
       MCPlatformSupport autoMigrate: true.
       MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
          ConfigurationOfGLASS project updateProject.
          ConfigurationOfGLASS project latestVersion load ].

       ConfigurationOfMetacello project updateProject.
       ConfigurationOfMetacello project latestVersion load.

       Gofer new
          squeaksource: 'MetacelloRepository';
          package: 'ConfigurationOfSeaside30';
          load.

       MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
          ((Smalltalk at: #ConfigurationOfSeaside30) project  
version: '3.0.6.3') load.
       ].

The result is that it complains about #'stable' not being defined in  
ConfigurationOfGsOB. Trace is attached

Attachments:
        seaside-load-trace.txt  8.0 KB

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

glassdb
Updates:
        Status: Accepted
        Labels: -Version-GLASS0.231 Version-1.0-beta.8.1

Comment #1 on issue 322 by [hidden email]: Loading seaside 3.0.6.3  
in fresh extent fails
http://code.google.com/p/glassdb/issues/detail?id=322

Norbert,

Did you upgrade GLASS before trying to load Seaside?

If you are starting from a virgin extent0.seaside.dbf in 2.4.4.1, you  
should upgrade GLASS before trying to load Seaisde. The following script  
should be used to upgrade GLASS if you are not using the Update GLASS menu  
item from GemTools:

   http://code.google.com/p/glassdb/wiki/GLASSUpgradeScript

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

glassdb

Comment #2 on issue 322 by norbert.hartl: Loading seaside 3.0.6.3 in fresh  
extent fails
http://code.google.com/p/glassdb/issues/detail?id=322

You can see in my load snipper there is

MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
          ConfigurationOfGLASS project updateProject.
          ConfigurationOfGLASS project latestVersion load ].

So I would assume that glass was upgraded before

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

glassdb

Comment #3 on issue 322 by [hidden email]: Loading seaside 3.0.6.3  
in fresh extent fails
http://code.google.com/p/glassdb/issues/detail?id=322

Yeah, I created the wiki page[1], because it's just not that easy to  
upgrade GLASS from an arbitrary point in time. It is difficult to upgrade  
Metacello when Metacello is involved in the upgrade process...Metacello  
depends upon Monticello and OB, but Monticello and OB can't be upgraded  
until Metacello is upgraded...

I've tried various tricks and hacks, but in the end, you have to "manually"  
upgrade Metacello before you can reliably upgrade GLASS.

The second set of difficulties arise when you consider that Monticello is  
used to upgrade Monticello and there are bug fixes to Monticello in later  
versions, so you have to load Monticello (and friends) BEFORE you get the  
bugfixes ...

Someday both Monticello and Metacello will be completely stable and the  
older versions will become ancient history and then simple upgrades will be  
possible:)

[1] http://code.google.com/p/glassdb/wiki/GLASSUpgradeScript

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

glassdb

Comment #4 on issue 322 by norbert.hartl: Loading seaside 3.0.6.3 in fresh  
extent fails
http://code.google.com/p/glassdb/issues/detail?id=322

Ok, I've integrated to mentioned script and it works

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

glassdb
Updates:
        Status: Fixed

Comment #5 on issue 322 by [hidden email]: Loading seaside 3.0.6.3  
in fresh extent fails
http://code.google.com/p/glassdb/issues/detail?id=322

(No comment was entered for this change.)

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

Hernan Wilkinson-3
Hi Dale,
 I tried to load seaside 3.0.6.3 on a fresh extent and I got an error because ConfigurationOfGrease did not have the version 10.0.6.4
 I loaded ConfigurationOfGrease latest version by hand and tried again. Now it looks like it is working
 
Hernan.

On Fri, Dec 2, 2011 at 2:40 PM, <[hidden email]> wrote:
Updates:
       Status: Fixed

Comment #5 on issue 322 by [hidden email]: Loading seaside 3.0.6.3 in fresh extent fails
http://code.google.com/p/glassdb/issues/detail?id=322

(No comment was entered for this change.)




--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Mobile: +54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Paraguay 523, Floor 7 N, Buenos Aires, Argentina

Reply | Threaded
Open this post in threaded view
|

Re: Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails

Dale Henrichs
Hernan,

Ah, that looks like Issue308 ...

Usually Metacello loads a new version of a configuration if the desired version isn't present, but if the configuration is dirty, Metacello won't load over the dirty configuration, so you end up with an error ...

There was a bug in Monticello that would end up dirtying packages that were just loaded and Grease was one of the configurations that would get itself dirtied that way ...

This bug combined with Metacello not overwriting dirty packages is trouble:)

Dale

[1] http://code.google.com/p/glassdb/issues/detail?id=308

----- Original Message -----
| From: "Hernan Wilkinson" <[hidden email]>
| To: [hidden email], "GemStone Seaside beta discussion" <[hidden email]>
| Sent: Tuesday, December 6, 2011 4:39:56 AM
| Subject: Re: [GS/SS Beta] Issue 322 in glassdb: Loading seaside 3.0.6.3 in fresh extent fails
|
| Hi Dale,
| I tried to load seaside 3.0.6.3 on a fresh extent and I got an error
| because ConfigurationOfGrease did not have the version 10.0.6.4
| I loaded ConfigurationOfGrease latest version by hand and tried
| again. Now it looks like it is working
|
| Hernan.
|
|
| On Fri, Dec 2, 2011 at 2:40 PM, < [hidden email] > wrote:
|
|
| Updates:
| Status: Fixed
|
| Comment #5 on issue 322 by [hidden email] : Loading seaside
| 3.0.6.3 in fresh extent fails
| http://code.google.com/p/ glassdb/issues/detail?id=322
|
| (No comment was entered for this change.)
|
|
|
|
|
| --
|
| Hernán Wilkinson
| Agile Software Development, Teaching & Coaching
| Mobile: +54 - 911 - 4470 - 7207
| email: [hidden email]
| site: http://www.10Pines.com
| Address: Paraguay 523, Floor 7 N, Buenos Aires, Argentina
|