On Mon, Jan 3, 2011 at 3:25 PM, Alexandre Bergel <alexandre@bergel.eu> wrote:
Hi!

Sorry for the late answer. The student is now in my office and there is indeed a problem.
UUIDPlugin is not present on his harddisk. Maybe built in the VM.

I found the class UUID and remove the call to the primitive. It works. Strange problem. Shall I report it in codegoogle?

yes, please. We need to aboid this somehow
Alexandre, so you changed from:

primMakeUUID
<primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'>
UUIDGenerator default generateBytes: self forVersion: 4

to:

primMakeUUID
UUIDGenerator default generateBytes: self forVersion: 4.

?


What about changing to:

�primMakeUUID
�� � � �self isOSSafeForUUID�
�� � � � � � � ifTrue: [ ^ self internalPrimitiveMakeUUID ]
�� � � � � � � ifFalse: [^�UUIDGenerator default generateBytes: self forVersion: 4].


isOSSafeForUUID
�"it would be great being able to check wether the OS is 64 bits or not, but I don't know how to ask that from the image"
�^ Smalltalk os isUnix not

internalPrimitiveMakeUUID
<primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'>


Then....when this is really fixed, we remove all this crap.
Of you agree, I open a ticket.

Cheers

mariano



Cheers,
Alexandre


On 28 Dec 2010, at 10:09, Mariano Martinez Peck wrote:

>
>
> On Tue, Dec 28, 2010 at 2:00 PM, Alexandre Bergel <alexandre@bergel.eu> wrote:
> Hi!
>
> Several of my students experience a crash of Pharo when saving with Monticello. They all use linux. I can ask for more detailed description.
> Are we the only one to experience this?
>
>
> yes, probably the UUID known problem. Just renaming / removing the plugin may work.
> Are they in Ubuntu/debian?
>
> Please let us know if we should do this for the PharoOneClick image.
>
> cheers
>
> mariano
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel �http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>

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