[BUG] Imported class seems to be nil

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

[BUG] Imported class seems to be nil

PabloEstefo
Hi everyone,

I did a "file in” of this code that I filed out from Pharo. It is just an abstract class with no dependences to classes that were not in the amber image that I imported.

Once I got the class imported, I tried to print it and It shows a nil. Also I got “ni does not understand _____” errors when I send any message.
Then I committed the category, reloaded the page and It behaves in the same way.

I am using the 0.11.0 version.

Thanks in advance,

Pablo

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Imported class seems to be nil

Nicolas Petton
Hi!

My guess is that you are using the chunk format from Pharo and trying to
import it into amber.

You should know that the chunk format of Amber isn't 100% compatible
with the one of Pharo. Therefore you might need to adapt it there and
there.

My advice would be to look at existing .st files in Amber and adapt your
chunk file accordingly (class definitions are a bit different, you'll
need to remove timstamps, etc.)

If you still have issues after that, do not hesitate to ask again here!


Cheers,
Nico

Pablo Estefó writes:

> Hi everyone,
>
> I did a "file in” of this code that I filed out from Pharo. It is just an abstract class with no dependences to classes that were not in the amber image that I imported.
>
> Once I got the class imported, I tried to print it and It shows a nil. Also I got “ni does not understand _____” errors when I send any message.
> Then I committed the category, reloaded the page and It behaves in the same way.
>
> I am using the 0.11.0 version.
>
> Thanks in advance,
>
> Pablo


--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Imported class seems to be nil

PabloEstefo
Hi,

On Nov 21, 2013, at 11:41, Nicolas Petton <[hidden email]> wrote:

> Hi!
>
> My guess is that you are using the chunk format from Pharo and trying to
> import it into amber.
>
> You should know that the chunk format of Amber isn't 100% compatible
> with the one of Pharo. Therefore you might need to adapt it there and
> there.
>
> My advice would be to look at existing .st files in Amber and adapt your
> chunk file accordingly (class definitions are a bit different, you'll
> need to remove timstamps, etc.)
>

I’ll consider this.
Thanks!


> If you still have issues after that, do not hesitate to ask again here!
>

For sure!

>
> Cheers,
> Nico
>
> Pablo Estefó writes:
>
>> Hi everyone,
>>
>> I did a "file in” of this code that I filed out from Pharo. It is just an abstract class with no dependences to classes that were not in the amber image that I imported.
>>
>> Once I got the class imported, I tried to print it and It shows a nil. Also I got “ni does not understand _____” errors when I send any message.
>> Then I committed the category, reloaded the page and It behaves in the same way.
>>
>> I am using the 0.11.0 version.
>>
>> Thanks in advance,
>>
>> Pablo
>
>
> --
> Nicolas Petton
> http://nicolas-petton.fr
>
> --
> You received this message because you are subscribed to the Google Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> For more options, visit https://groups.google.com/groups/opt_out.


Cheers,
Pablo

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.