Lost class migrating from 3.0 to 4.0

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

Lost class migrating from 3.0 to 4.0

HilaireFernandes
I am migrating a web application from 3.0 to 4.0.
I noted one class can't get load! It is however present in the
Squeaksource repo.

The class is a WAComponent, it is the entry point of the application
with all the initializations. All the libraries dependencies are
satisfied. I don't see reason why the class can't be load, and there is
no such warning. Trying to load by hand this sole class does not work
either.

Did any of you meet such problem with Pharo 4.0

Hilaire

--
Dr. Geo
http://drgeo.eu


Reply | Threaded
Open this post in threaded view
|

Re: Lost class migrating from 3.0 to 4.0

stepharo
Hi Hilaire

> I am migrating a web application from 3.0 to 4.0.
> I noted one class can't get load! It is however present in the
> Squeaksource repo.

you did not get a warning that the superclass is not loaded I imagine.
So this is strange. I never got such problem.
Yesterday I got a bug that I cannot publish on SmalltalkHub repo with my
password and the one
of olivier too.
So mega strange.

>
> The class is a WAComponent, it is the entry point of the application
> with all the initializations. All the libraries dependencies are
> satisfied. I don't see reason why the class can't be load, and there is
> no such warning. Trying to load by hand this sole class does not work
> either.
Uh
Did you try to copy past the definition from the external package browser?


>
> Did any of you meet such problem with Pharo 4.0
>
> Hilaire
>


Reply | Threaded
Open this post in threaded view
|

Re: Lost class migrating from 3.0 to 4.0

HilaireFernandes


Le 05/03/2016 10:46, stepharo a écrit :
> Hi Hilaire
>
>> I am migrating a web application from 3.0 to 4.0.
>> I noted one class can't get load! It is however present in the
>> Squeaksource repo.
>
> you did not get a warning that the superclass is not loaded I imagine.

No.

> So this is strange. I never got such problem.

I think it is a dependency related problem. I tried again from a fresh
image, then take care to hand load the dependent packages in the right
other so I do not get dependencies fail on installing my app package. In
that case I get the missing class installed too.


> Yesterday I got a bug that I cannot publish on SmalltalkHub repo with my
> password and the one
> of olivier too.
> So mega strange.

Yeah, I got this problem too before for new project I want to start, so
I have to used Squeaksource to publish my new project. Nevertheless, I
can still publish DrGeo code on SmalltalkHub.


>> The class is a WAComponent, it is the entry point of the application
>> with all the initializations. All the libraries dependencies are
>> satisfied. I don't see reason why the class can't be load, and there is
>> no such warning. Trying to load by hand this sole class does not work
>> either.
> Uh
> Did you try to copy past the definition from the external package browser?

I did not try this.

Hilaire

--
Dr. Geo
http://drgeo.eu


Reply | Threaded
Open this post in threaded view
|

Re: Lost class migrating from 3.0 to 4.0

stepharo
Hilaire

if you need that I have a look at your configuration let me know.
This is not that I have so much time but do not hesitate to ask.

Stef


Le 6/3/16 10:01, Hilaire a écrit :

>
> Le 05/03/2016 10:46, stepharo a écrit :
>> Hi Hilaire
>>
>>> I am migrating a web application from 3.0 to 4.0.
>>> I noted one class can't get load! It is however present in the
>>> Squeaksource repo.
>> you did not get a warning that the superclass is not loaded I imagine.
> No.
>
>> So this is strange. I never got such problem.
> I think it is a dependency related problem. I tried again from a fresh
> image, then take care to hand load the dependent packages in the right
> other so I do not get dependencies fail on installing my app package. In
> that case I get the missing class installed too.
>
>
>> Yesterday I got a bug that I cannot publish on SmalltalkHub repo with my
>> password and the one
>> of olivier too.
>> So mega strange.
> Yeah, I got this problem too before for new project I want to start, so
> I have to used Squeaksource to publish my new project. Nevertheless, I
> can still publish DrGeo code on SmalltalkHub.
>
>
>>> The class is a WAComponent, it is the entry point of the application
>>> with all the initializations. All the libraries dependencies are
>>> satisfied. I don't see reason why the class can't be load, and there is
>>> no such warning. Trying to load by hand this sole class does not work
>>> either.
>> Uh
>> Did you try to copy past the definition from the external package browser?
> I did not try this.
>
> Hilaire
>


Reply | Threaded
Open this post in threaded view
|

Re: Lost class migrating from 3.0 to 4.0

HilaireFernandes
Beside that it is fine. Thanks.

One problem si SmalltalkHub. On some project I can't gain write access,
like there: http://smalltalkhub.com/#!/~philippeback/Mold
Althought it is public

Hilaire

Le 06/03/2016 11:21, stepharo a écrit :
> Hilaire
>
> if you need that I have a look at your configuration let me know.
> This is not that I have so much time but do not hesitate to ask.
>
> Stef

--
Dr. Geo
http://drgeo.eu


Reply | Threaded
Open this post in threaded view
|

Re: Lost class migrating from 3.0 to 4.0

hernanmd
In reply to this post by HilaireFernandes
Hi Hilaire,

Have you checked obsolete behaviors/references in the class hierarchy?
Can you create the class manually and then load methods separately from MC Browser?

Hernán

2016-03-03 6:01 GMT-03:00 Hilaire <[hidden email]>:
I am migrating a web application from 3.0 to 4.0.
I noted one class can't get load! It is however present in the
Squeaksource repo.

The class is a WAComponent, it is the entry point of the application
with all the initializations. All the libraries dependencies are
satisfied. I don't see reason why the class can't be load, and there is
no such warning. Trying to load by hand this sole class does not work
either.

Did any of you meet such problem with Pharo 4.0

Hilaire

--
Dr. Geo
http://drgeo.eu



Reply | Threaded
Open this post in threaded view
|

Re: Lost class migrating from 3.0 to 4.0

HilaireFernandes
I did not try this. I prefer to start from scratch.

Le 07/03/2016 13:03, Hernán Morales Durand a écrit :
> Have you checked obsolete behaviors/references in the class hierarchy?
> Can you create the class manually and then load methods separately from
> MC Browser?

--
Dr. Geo
http://drgeo.eu