error loading .pr file

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

error loading .pr file

dabrowsa@indiana.edu
Hi,

I'm brand new to squeak, I've just been playing with 3.9 for the last
week.  I've successfully put together a simple little app ( a Venn
diagram puzzle) and I'm trying to export it as a project file.  So I
selected "save project on file" from the world menu, answered "yes" when
asked if I wanted to included changes from the changes file, and saved a
.pr file into the Squeaklets folder.  But when I tried to test it by
immediately loading the .pr file back, either from Navigator->Find or
World->load project from file, I got a "message not understood" error.
The Transcript shows:

(RenamedClassSourceReader is Undeclared).

I went back and saved the file again without including the changes, but
that didn't help.

Is this a problem with 3.9?

What's the preferred why to save a project so that you can share it with
someone else?  I had a look at the Squeak FAQ, and that suggests sharing
the entire image and changes files, but that seems a tad ridiculous -
don't those files also contain everything unrelated to the project?







_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

dabrowsa.vcf (222 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: error loading .pr file

Edgar J. De Cleene



El 3/31/07 10:01 PM, "Andrew Dabrowski" <[hidden email]> escribió:

> (RenamedClassSourceReader is Undeclared).
RenamedClassSourceReader  don't exist in 3.9 final, that't why you have
problems.

> Is this a problem with 3.9?
Maybe more as one, so we start 3.10 and you could try at
http://ftp.squeak.org/3.10alpha/Squeak3.10alpha.7073.zip

And if some was wrong, you could complain direct to me.
As several things is changing, if you first Squeak experience , better learn
with it.

As sharing code, I like to send me via private mail your .pr and only you
.cs.

In general , .pr files works fine, but not always.

And old release .pr could not work on newer images.

Exist another ways of sharing code, I prefer using .sar what let's pack all
needed files in one auto loading file.
As example , in my Rompecabezas (puzzle) http://wiki.squeak.org/squeak/5861
I have versions what let's guess image and load the necessary , if some is
not in the target one.

>From install/preamble of version what could load into normal 3.9 and
SqueakLight

| misFotos listaArchivos member form str |
Smalltalk version  = 'SqueakLight' ifTrue:[ self fileInMemberNamed:
'MixedCurves.2.cs'.
    self fileInMemberNamed: 'MinimalSound.2.cs'].

self fileInMemberNamed: 'Morphic-Puzzle.47.cs'.

member _ self memberNamed: 'CatClubBallooning.jpg'.
PuzzleMorph foto: (Form fromBinaryStream: member contentStream binary).
member _ self memberNamed: 'Taunt011.wav'.
PuzzleMorph sonido: (member contentStream binary).
PuzzleMorph allPieces

And you have code, picts, sound, any what was necessary. Guessing version is
a bonus track :=)


Edgar



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners