newbie question 
Author Message
 newbie question

I am trying to send this again.  It didn't seem to make it the first time...

Quote:

> I am suddenly getting a "Source unavailable for this method" message for
> every method in my image.  This just started happening after I have been
> using the image for about 2 weeks.  I haven't found anything on the web
that
> describes this problem.  Is it possible that it can't find a sources file?
> BTW: I am new to Dolphin.  Thanks.

> =jason



Tue, 28 Jun 2005 12:06:36 GMT  
 newbie question

Quote:

> I am trying to send this again.  It didn't seem to make it the first
> time...

If you didn't see it go out, then you won't have seen Bill's reply either...

Quote:
>> I am suddenly getting a "Source unavailable for this method" message
>> for every method in my image.  This just started happening after I
>> have been using the image for about 2 weeks.  I haven't found
>> anything on the web that describes this problem.  Is it possible
>> that it can't find a sources file?

Yes, certainly it's possible, though I can't guess how you've managed to get it
into that state.  Since you suddenly can't see *any* source, my guess is that
you have indeed managed to separate the "image" file from the "source"/"change"
files somehow.

For every saved image, called XXX, you should have three files:
    XXX.img
    XXX.sml
    XXX.chg
all together in the same folder.

The .img file is the saved state of the running Dolphin program, and that
clearly still exists or you wouldn't be able to start the image...
The .sml file is contains the source for shipped classes.  This does not
normally change (unless you do a "compress sources" which few people do).
The .chg file contains -- among other things -- all the sources for your own
methods.  If you dont' "compress changes" (and I never do) then it contains
every version of every method.

If you save the image under a new name then Dolphin will recreate all three of
the files (even the .sml file although it doesn't change).

If you can see all your own sources but not the Object-Arts stuff, then you've
probably just lost (somehow ;-) the .sml file, and you will *probably* be ok if
you just find a copy (by doing a "Fresh Install", if necessary) somewhere and
copy/rename it to XXX.sml.

If you can't see your own changes either, then you are probably hosed.  You'll
need to restore from backup, or -- in the unlikely event that you don't have
one ;-) -- go back to a clean image (again, you may have to do a "Fresh
install") and re-install your packages.  If you can find an old .changes file
somewhere then you can use Ian's Chunk Browser
(http://www.idb.me.uk/goodies.html) to re-import any methods from that file
that didn't make it into packages before you hit the problem.

    -- chris



Tue, 28 Jun 2005 18:35:35 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Newbie Question (Was: Newbie Question...)

2. Not a newbie, but a newbie question...

3. Trivial Newbie Question (Newbie)

4. Newbie Question: Realbasic Question

5. Yet another question on system calls(newbie question)

6. A few more newbie questions..

7. Newbie question about worth of specializing in Smalltalk

8. Very Newbie questions

9. Newbie question

10. newbie questionS

11. Another Newbie Question

12. newbie question on treemodel

 

 
Powered by phpBB® Forum Software