[BUG] Decoding problem in morph files WAS: [GOODIE] Personal Info rmation Manager

Torsten.Bergmann at phaidros.com Torsten.Bergmann at phaidros.com
Thu Apr 13 08:43:05 UTC 2000


The Organizer works nicely but I cant read the
morph file on windows.
Seems like we have again a encoding/decoding problem while
writing and reading (morph) files on different platforms.

If I try to file in the morph file from the tar
(http://ugweb.cs.ualberta.ca/~gargus/organizer.tar.gz)
on a windows system the debugger comes up and reports that 
Squeak cant find a key in the Smalltalk dictionary.
(SmartRefStream>>readInstance tries to evaluate 
"Smalltalk at: newValue" where newValue is a
symbol holding #Dictionary). 

I was suprised that the Smalltalk dictionary should not
contain the key #Dictionary.
Comparing the symbol in the Debugger with the same symbol 
inspected from a workspace shows the problem:

#Dictionary in Workspace
   68 105 99 116 105 111 110 97 114 121

#Dictionary while reading from the morph file.
10 68 105 99 116 105 111 110 97 114 121 4 0

So the symbol read from Joshua's morph-file has 3 Bytes more.
I'm not at home so I cant test it on linux, but I think we
should figure out these incompatibilities and fix them.

Was someone able to load the morph into his image ?

Bye
Torsten



-----Original Message-----
From: Joshua Gargus [mailto:gargus at cs.ualberta.ca]
Sent: Donnerstag, 13. April 2000 08:40
To: Squeak Mailing List
Subject: [GOODIE] Personal Information Manager


Hi All,

I've finally whipped my PIM into a semi-releasable state.
There are still some rough edges, but I can use it quite
efficiently.

The file 'organizer.tar.gz' contains a 'readme.txt' file, two
changesets (one is optional but suggested, see readme.txt),
two '.obj' files which contain icons for the organizer, and
'organizer.morph', which is the documentation for the PIM.

I just noticed that the file is 329K (mostly due to the 
documentation morph), so rather than clog the pipes of
those with modems, I have placed the file at:

http://ugweb.cs.ualberta.ca/~gargus/organizer.tar.gz

Until I find a better home for it (on the swiki?)


Code, comments, and crushing critiques welcome,
Joshua

-- 





More information about the Squeak-dev mailing list