Re: newbie question

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

Re: newbie question

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

"Jason Rogers" <[hidden email]> wrote in message news:...
> 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


Reply | Threaded
Open this post in threaded view
|

Re: newbie question

Chris Uppal-3
Jason Rogers wrote:

> 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...

>> 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