[vwnc] No access to source code for base

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

[vwnc] No access to source code for base

Stefano Franchi
        After a recent move from Macintosh to a Linux box I seem to have lost access
to the source code for the base. Amy attempt to visualize the code in the
browser, debugger, etc. gives me decompiled code. with the usual message:

" ***This is decompiled code.***
        The source was unavailable because the source pointer appears to point
        to an incorrect position in the file. The file may have been modified after
        this method was updated."

I checked and rechecked that directories, env variables, etc. are set properly
and everything seems to be all right. In fact I do have regular access to the
source code for other parcels in the VISUALWORKS tree. So there seems to be
something wrong with the visual.sou, I guess. Or perhaps the visual.sou
visual.cha pair. Does anyone know how I can restore the installation to a
fully working setup?

Thx,

Stefano



--
______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
University of Texas A&M           Fax: (979) 845-0458
305B Bolton Hall                  [hidden email]
College Station, TX 77843-4237

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] No access to source code for base

Reinout Heeck

On Mar 11, 2008, at 5:47 PM, Stefano Franchi wrote:

> After a recent move from Macintosh to a Linux box I seem to have  
> lost access
> to the source code for the base. Amy attempt to visualize the code  
> in the
> browser, debugger, etc. gives me decompiled code. with the usual  
> message:

Note that this message is not /the/ usual: the system specializes it  
for several different cases.
Here it seems that your .sou belongs to a different version of VW:

>
>
> " ***This is decompiled code.***
> The source was unavailable because the source pointer appears to  
> point
> to an incorrect position in the file. The file may have been  
> modified after
> this method was updated."


In your image you can use the launcher menu 'Help'->'About  
VisualWorks' to see the image version.
If you open the .sou in a text viewer you can see its version  
somewhere near the 10th line.
The .cha files typically hold no image version info.

Another reason that source could be broken is that you transfered it  
as text (altering the line-end convention).

R
-

>
>
> I checked and rechecked that directories, env variables, etc. are  
> set properly
> and everything seems to be all right. In fact I do have regular  
> access to the
> source code for other parcels in the VISUALWORKS tree. So there  
> seems to be
> something wrong with the visual.sou, I guess. Or perhaps the  
> visual.sou
> visual.cha pair. Does anyone know how I can restore the installation  
> to a
> fully working setup?
>
> Thx,
>
> Stefano
>
>
>
> --
> ______________________________________________________________
> Stefano Franchi
> Department of Philosophy          Ph:  (979) 862-2211
> University of Texas A&M           Fax: (979) 845-0458
> 305B Bolton Hall                  [hidden email]
> College Station, TX 77843-4237
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] No access to source code for base

Stefano Franchi
On Tuesday 11 March 2008 16:21:43 Reinout Heeck wrote:

> On Mar 11, 2008, at 5:47 PM, Stefano Franchi wrote:
> > After a recent move from Macintosh to a Linux box I seem to have
> > lost access
> > to the source code for the base. Amy attempt to visualize the code
> > in the
> > browser, debugger, etc. gives me decompiled code. with the usual
> > message:
>
> Note that this message is not /the/ usual: the system specializes it
> for several different cases.


Sorry for the slip---it sounded usual to me, I guess, since I have been seeing
it all the times  for the last few days ...

>
> Here it seems that your .sou belongs to a different version of VW:
> > " ***This is decompiled code.***
> > The source was unavailable because the source pointer appears to
> > point
> > to an incorrect position in the file. The file may have been
> > modified after
> > this method was updated."
>
> In your image you can use the launcher menu 'Help'->'About
> VisualWorks' to see the image version.
> If you open the .sou in a text viewer you can see its version
> somewhere near the 10th line.

Thanks Reinout,

that seems to be the problem. I am running image 7.4 and the visual.sou is
version 7.4.1 I must have messed up the file transfer, somehow.
Do I dare to presume that  if I copy over the correct 7.4 visual.sou
everything should be all right again?

Cheers,

Stefano

______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
University of Texas A&M           Fax: (979) 845-0458
305B Bolton Hall                  [hidden email]
College Station, TX 77843-4237

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] No access to source code for base

Reinout Heeck

On Mar 11, 2008, at 11:07 PM, Stefano Franchi wrote:
>
> Do I dare to presume that  if I copy over the correct 7.4 visual.sou
> everything should be all right again?

I do ;-)

R
-

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc