On Tue, Jun 22, 2010 at 8:17 PM, tgc05
<thomas@costick.net> wrote:
Hi Stef. �I would have thought the VM initialize processing could be changed to avoid this problem, but I don't know the details �:)
Hi Thomas. I cope paste here what I said before:
"More in details, the problem is that when you pass an image, it is
interpreted as "SmalltalkImage current getSystemAttribute: 1"
When
you drag a second file (in your case a second image) it is interpreted
as source file, not image, and thus the error with the encoding.
Put a breakpoint in the method startUpAfterLogin if you want to
experiment a bit.
At least with this, you know why it was the
problem and how to avoid it. Maybe we should raise a better error or
even better, if I have already defined an image in the ini file, but I
drag another one, override the first one and take the dragged one. I
will ask in Pharodev mailing list."
So what I recommend you is to put a breakpoint in startUpAfterLogin� and start to play. And let us know what happens.
Thanks
Mariano
�
If the problem cannot be fixed, or if it will take time, it would be good to have the work-around described in the "Pharo By Example" book. That is, to comment out or delete the line "ImageFile=Contents\Resources\Pharo-1.0.image" in Pharo.ini. �Without this fix, a new Smalltalker will hit the error as soon as they try to use the PBE.image file.
Image file management is one of those things that I like to get a clear understanding of at an early stage when learning a new dev environment.
--Thomas Costick
_____________________
http://twitter.com/3dbloke
http://blog.3dbloke.com
On 22 June 2010 17:47, St�phane Ducasse [via Smalltalk]
<[hidden email]> wrote:
thanks thomas.
This problem was reported on the squeak-vm mailing-list and there is not much we can do.
May be I'm wrong.
Stef
On Jun 22, 2010, at 6:38 PM, tgc05 wrote:
_______________________________________________
Pharo-users mailing list
[hidden email]
View this message in context: Re: Error:invalid utf8 input detected.
_______________________________________________
Pharo-users mailing list
Pharo-users@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users