Using Store with VW7.9

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

Using Store with VW7.9

abergel
Hello,

Apparently bundles and packages that are saved on Cincom Store using VW 7.9 cannot be loaded in VW7.8 or earlier. Is this really the case? Is there a way to keep the compatibility?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Using Store with VW7.9

Samuel S. Shuster-2
Alexandre,

> Is this really the case? Is there a way to keep the compatibility?

Really? In what way are you finding this to be true? It is not our intention to have such incompatibility.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Using Store with VW7.9

abergel
On the cincom public store we develop Roassal under VW7.9pul.
If I take VW 7.8.1nc and I tried to load it, then I get a rollback: "Unhandled exception: Incompatible version Id". Maybe you can try to load it in a non 7.9 VW. It loads perfectly under 7.9.

I am not sure where the problems comes from. I tried to use the debugger to understand what's exactly happens, but the parcel mechanism is not that easy to understand.

Any idea what is going wrong?

Cheers,
Alexandre



On May 29, 2012, at 7:34 PM, Samuel S. Shuster wrote:

> Alexandre,
>
>> Is this really the case? Is there a way to keep the compatibility?
>
> Really? In what way are you finding this to be true? It is not our intention to have such incompatibility.
>
>                                And So It Goes
>                                     Sames
> ______________________________________________________________________
>
> Samuel S. Shuster [|]
> VisualWorks Engineering, Store Project
> Smalltalk Enables Success -- What Are YOU Using?
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Using Store with VW7.9

Niall Ross
Dear Alexandre,
    from your latest versions in the OR, I gather the issue is related
to having the SUnit-Bridge2SU2 parcel as a prereq of your bundle and
loading the 7.8.1 version as against the 7.9 version.

Loading the SUnit-Bridge2SU2 parcel deploys the bridge, an agressive
action to do on code while loading.  You are reparenting test case
classes - the error you quote may well relate to that, e.g. extension
method looking for old class after it has been reparented?

It is (I think) not usual to make this parcel a prereq of anything.  
(One may argue that it can never be a sensible prereq of anything unless
in bizarre circumstances.)  It may be not that surprising you encounter
an issue when loading it is a prereq.

You could consider not making it a prereq (just accept loading it
post-hoc), or else tweak it not to deploy the bridge on loading and
deploy the bridge after loading, or something.

There have been changes in the parcel in 7.9.  (There may also have been
changes in atomicity of loading between 7.8 and 7.9.)  Either could
explain why this is more survivable in 7.9 than in 7.8.  I'll look at
it.  But I suggest avoiding such an aggressive operation while loading.

                   HTH
                         Niall Ross

>On the cincom public store we develop Roassal under VW7.9pul.
>If I take VW 7.8.1nc and I tried to load it, then I get a rollback: "Unhandled exception: Incompatible version Id". Maybe you can try to load it in a non 7.9 VW. It loads perfectly under 7.9.
>
>I am not sure where the problems comes from. I tried to use the debugger to understand what's exactly happens, but the parcel mechanism is not that easy to understand.
>
>Any idea what is going wrong?
>
>Cheers,
>Alexandre
>
>
>
>On May 29, 2012, at 7:34 PM, Samuel S. Shuster wrote:
>
>  
>
>>Alexandre,
>>
>>    
>>
>>>Is this really the case? Is there a way to keep the compatibility?
>>>      
>>>
>>Really? In what way are you finding this to be true? It is not our intention to have such incompatibility.
>>
>>                               And So It Goes
>>                                    Sames
>>______________________________________________________________________
>>
>>Samuel S. Shuster [|]
>>VisualWorks Engineering, Store Project
>>Smalltalk Enables Success -- What Are YOU Using?
>>
>>
>>
>>
>>    
>>
>
>  
>


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Using Store with VW7.9

abergel
Dear Niall, Samuel and Helge,

I simply removed the dependency on the bridge, and the problem is gone. Thanks for your help.

Cheers,
Alexandre


On May 30, 2012, at 1:01 PM, Niall Ross wrote:

> Dear Alexandre,
>   from your latest versions in the OR, I gather the issue is related to having the SUnit-Bridge2SU2 parcel as a prereq of your bundle and loading the 7.8.1 version as against the 7.9 version.
>
> Loading the SUnit-Bridge2SU2 parcel deploys the bridge, an agressive action to do on code while loading.  You are reparenting test case classes - the error you quote may well relate to that, e.g. extension method looking for old class after it has been reparented?
>
> It is (I think) not usual to make this parcel a prereq of anything.  (One may argue that it can never be a sensible prereq of anything unless in bizarre circumstances.)  It may be not that surprising you encounter an issue when loading it is a prereq.
>
> You could consider not making it a prereq (just accept loading it post-hoc), or else tweak it not to deploy the bridge on loading and deploy the bridge after loading, or something.
>
> There have been changes in the parcel in 7.9.  (There may also have been changes in atomicity of loading between 7.8 and 7.9.)  Either could explain why this is more survivable in 7.9 than in 7.8.  I'll look at it.  But I suggest avoiding such an aggressive operation while loading.
>
>                  HTH
>                        Niall Ross
>
>> On the cincom public store we develop Roassal under VW7.9pul. If I take VW 7.8.1nc and I tried to load it, then I get a rollback: "Unhandled exception: Incompatible version Id". Maybe you can try to load it in a non 7.9 VW. It loads perfectly under 7.9.
>>
>> I am not sure where the problems comes from. I tried to use the debugger to understand what's exactly happens, but the parcel mechanism is not that easy to understand.
>> Any idea what is going wrong?
>>
>> Cheers,
>> Alexandre
>>
>>
>>
>> On May 29, 2012, at 7:34 PM, Samuel S. Shuster wrote:
>>
>>
>>> Alexandre,
>>>
>>>  
>>>> Is this really the case? Is there a way to keep the compatibility?
>>>>    
>>> Really? In what way are you finding this to be true? It is not our intention to have such incompatibility.
>>>
>>>                              And So It Goes
>>>                                   Sames
>>> ______________________________________________________________________
>>>
>>> Samuel S. Shuster [|]
>>> VisualWorks Engineering, Store Project
>>> Smalltalk Enables Success -- What Are YOU Using?
>>>
>>>
>>>
>>>
>>>  
>>
>>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Using Store with VW7.9

vpena
Dear Niall, Samuel and Helge,

Maybe this is a bit redundant, but trying with the prerequisites to have
then automatically loaded I added SUnitPreload, SUnit and SUnitToo (in
that order) to Spy, even if Roassal was going to load them after that. I
did not add the SUnit-Brigde2SU2 parcel in Roassal like before.

I try to load the Spy bundle again in a 7.7 and had the same
"Incompatible id version error". This appeared for the SUnitToo parcel
before even reaching the SUnit-Brigde2SU2 parcel as a Spy prerequisite.
And then for the SUnit-Bridge2SU2 again. Of course, if I remove the 3
parcels, everything goes back to normal.

If it helps, the Spy version of this problem is the number 1.29.7.

I don't understand why this happen. Any ideas?

Thanks,
Vanessa.


On 05/30/2012 07:25 PM, Alexandre Bergel wrote:

> Dear Niall, Samuel and Helge,
>
> I simply removed the dependency on the bridge, and the problem is gone. Thanks for your help.
>
> Cheers,
> Alexandre
>
>
> On May 30, 2012, at 1:01 PM, Niall Ross wrote:
>
>> Dear Alexandre,
>>    from your latest versions in the OR, I gather the issue is related to having the SUnit-Bridge2SU2 parcel as a prereq of your bundle and loading the 7.8.1 version as against the 7.9 version.
>>
>> Loading the SUnit-Bridge2SU2 parcel deploys the bridge, an agressive action to do on code while loading.  You are reparenting test case classes - the error you quote may well relate to that, e.g. extension method looking for old class after it has been reparented?
>>
>> It is (I think) not usual to make this parcel a prereq of anything.  (One may argue that it can never be a sensible prereq of anything unless in bizarre circumstances.)  It may be not that surprising you encounter an issue when loading it is a prereq.
>>
>> You could consider not making it a prereq (just accept loading it post-hoc), or else tweak it not to deploy the bridge on loading and deploy the bridge after loading, or something.
>>
>> There have been changes in the parcel in 7.9.  (There may also have been changes in atomicity of loading between 7.8 and 7.9.)  Either could explain why this is more survivable in 7.9 than in 7.8.  I'll look at it.  But I suggest avoiding such an aggressive operation while loading.
>>
>>                   HTH
>>                         Niall Ross
>>
>>> On the cincom public store we develop Roassal under VW7.9pul. If I take VW 7.8.1nc and I tried to load it, then I get a rollback: "Unhandled exception: Incompatible version Id". Maybe you can try to load it in a non 7.9 VW. It loads perfectly under 7.9.
>>>
>>> I am not sure where the problems comes from. I tried to use the debugger to understand what's exactly happens, but the parcel mechanism is not that easy to understand.
>>> Any idea what is going wrong?
>>>
>>> Cheers,
>>> Alexandre
>>>
>>>
>>>
>>> On May 29, 2012, at 7:34 PM, Samuel S. Shuster wrote:
>>>
>>>
>>>> Alexandre,
>>>>
>>>>
>>>>> Is this really the case? Is there a way to keep the compatibility?
>>>>>
>>>> Really? In what way are you finding this to be true? It is not our intention to have such incompatibility.
>>>>
>>>>                               And So It Goes
>>>>                                    Sames
>>>> ______________________________________________________________________
>>>>
>>>> Samuel S. Shuster [|]
>>>> VisualWorks Engineering, Store Project
>>>> Smalltalk Enables Success -- What Are YOU Using?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

error.png (113K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using Store with VW7.9

Samuel S. Shuster-2

On May 31, 2012, at 8:42 PM, Vanessa Peña Araya wrote:

> If it helps, the Spy version of this problem is the number 1.29.7.
>
> I don't understand why this happen. Any ideas?

Yes.

The parcel prerequisites for that bundle read:

#(#('SUnitPreload' '4.0 RC3') #('SUnit' '4.0 RC4') #('SUnitToo' '7.8 - 1003') #('SUnit-Bridge2SU2' '7.9 - 1') #('Roassal' '') #('Method Wrapper Base' '1.6') #('AT Profiling UI' ''))


So, if you don't have THOSE VERSIONS, which you won't in a pre-7.9 setup, you will get that error.

In other words, everything is working perfect and correctly.

IF the code really does require those explicit versions, then what it is telling you is, you can't load it, and that is what it should do.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc