Home > Archive > Smalltalk > April 2004 > [VW 7.2] Help_Object_Reference does not work?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[VW 7.2] Help_Object_Reference does not work?
|
|
| Michael B. 2004-04-12, 5:46 am |
| Hello!
I'm new to it, playing around with VisualWorks.
The Image is: "visualnc.im created at November 12, 2003 11:00:56 am",
when i choose "Help->Object Reference" i get an
"Unhandled exception: Message not understood: #tag".
The rest of the System seems to work properly, as little as i have seen so
far ;-)
I have attached some of the DebugStack to this posting.
Any Help?
Thanks, Mike
(from debug:)
Unhandled exception: Message not understood: #tag
UndefinedObject(Object)>>doesNotUnderstand:
XMLSourceFileFormat>>addElement:toText:
optimized [] in XMLSourceFileFormat>>embeddedStringAt:in:
(... snipped)
----------------------------------------------------------------------
UndefinedObject(Object)>>doesNotUnderstand:
Receiver:
an UndefinedObject
Arguments:
aMessage = a Message with selector: #tag and arguments: #()
Temporaries:
excpt = a MessageNotUnderstood
resumeValue = nil
Context PC = 25
----------------------------------------------------------------------
XMLSourceFileFormat>>addElement:toText:
Receiver:
a XMLSourceFileFormat
Instance Variables:
objectProperties = a Dictionary[0]
methodProperties = nil
state = #fragment
docName = 'st-source'
cachedFile = nil
cachedParser = nil
Arguments:
elm = nil
textStream = a TextStream
Temporaries:
save = nil
newM = nil
Context PC = 7
----------------------------------------------------------------------
optimized [] in XMLSourceFileFormat>>embeddedStringAt:in:
Receiver:
an UndefinedObject
Temporaries:
element = <imports></imports>
t = a TextStream
.file = an EncodedStream on an ExternalReadStream on
'c:\VisualWorks\pdp\PDPProbes.pst' with an UTF8StreamEncoder
.position = 4450
.self = a XMLSourceFileFormat
Context PC = 27
----------------------------------------------------------------------
(...snipped)
| |
| James A. Robertson 2004-04-12, 11:42 am |
| I'm not seeing this - are you sure that you don't somehow have
corrupted files?
On Mon, 12 Apr 2004 09:56:56 +0200, "Michael B." <VooDu@compuserve.de>
wrote:
>Hello!
>
>I'm new to it, playing around with VisualWorks.
>
>The Image is: "visualnc.im created at November 12, 2003 11:00:56 am",
>when i choose "Help->Object Reference" i get an
>"Unhandled exception: Message not understood: #tag".
>
>The rest of the System seems to work properly, as little as i have seen so
>far ;-)
>
>I have attached some of the DebugStack to this posting.
>Any Help?
>
>Thanks, Mike
>
>(from debug:)
>Unhandled exception: Message not understood: #tag
>UndefinedObject(Object)>>doesNotUnderstand:
>XMLSourceFileFormat>>addElement:toText:
>optimized [] in XMLSourceFileFormat>>embeddedStringAt:in:
>(... snipped)
>
>----------------------------------------------------------------------
>UndefinedObject(Object)>>doesNotUnderstand:
>Receiver:
> an UndefinedObject
>Arguments:
> aMessage = a Message with selector: #tag and arguments: #()
>Temporaries:
> excpt = a MessageNotUnderstood
> resumeValue = nil
>Context PC = 25
>
>----------------------------------------------------------------------
>XMLSourceFileFormat>>addElement:toText:
>Receiver:
> a XMLSourceFileFormat
>Instance Variables:
> objectProperties = a Dictionary[0]
> methodProperties = nil
> state = #fragment
> docName = 'st-source'
> cachedFile = nil
> cachedParser = nil
>Arguments:
> elm = nil
> textStream = a TextStream
>Temporaries:
> save = nil
> newM = nil
>Context PC = 7
>
>----------------------------------------------------------------------
>optimized [] in XMLSourceFileFormat>>embeddedStringAt:in:
>Receiver:
> an UndefinedObject
>Temporaries:
> element = <imports></imports>
> t = a TextStream
> .file = an EncodedStream on an ExternalReadStream on
>'c:\VisualWorks\pdp\PDPProbes.pst' with an UTF8StreamEncoder
> .position = 4450
> .self = a XMLSourceFileFormat
>Context PC = 27
>
>----------------------------------------------------------------------
>(...snipped)
>
>
>
<Talk Small and Carry a Big Class Library>
James Robertson, Product Manager, Cincom Smalltalk
http://www.cincomsmalltalk.com/blog/blogView
| |
| Michael B. 2004-04-12, 12:34 pm |
| > I'm not seeing this - are you sure that you don't somehow have
> corrupted files?
I am NOT sure, but how do i find out? It seems to happen in PDPProbes.pst if
i understand it right, but loading that file in an normal editor works. And
looking at some of the stuff it contains (in VW) seems to work too.
Mike
| |
| M. Roberts 2004-04-12, 2:42 pm |
| "Michael B." <VooDu@compuserve.de> wrote in message news:<c5diqc$9an$1@ngspool-d02.news.aol.com>...
> when i choose "Help->Object Reference" i get an
> "Unhandled exception: Message not understood: #tag".
The Object Reference browser will try to scan the sources file,
so something is likely wrong there. Either the sources file has
been corrupted because it wasn't unzipped/installed correctly,
or perhaps the VisualWorks Home isn't set properly.
You should have "visual.sou" in the same directory as "visual.im",
and it should be a proper XML file.
HTH,
M. Roberts
Cincom Systems, Inc.
| |
| Michael B. 2004-04-13, 7:37 am |
| "M. Roberts" <mroberts@cincom.com> wrote
> The Object Reference browser will try to scan the sources file,
> so something is likely wrong there.
Yes, i think so. I tried it again with the original visualnc.im as follows:
1. help/object reference (from now short: hOR) -> failure
2. tools/unload parcels: all PDP stuff and Tools-Parcel Manager
3. hOR -> works!
But: as the parcels were still loaded the *.pst files were found (i renamed
one and _then_ hOR complained about not finding it) and scanned partially -
until the exception came along.
Looking at that pst file with eg. file/file browser revealed no problem
to me. ("Looking at" dosn''t mean reading in detail, but i haven''t done
anything bad to that files...)
Strange. Anyway, now i know what hOR does.
Can i prevent it from _scanning_ those files?
I prefer to have the debugger loaded in the image ;-)
Tnx,
Mike
| |
| M. Roberts 2004-04-13, 12:54 pm |
| "Michael B." <VooDu@compuserve.de> wrote in message news:<c5ges7$qj8$1@ngspool-d02.news.aol.com>...
> "M. Roberts" <mroberts@cincom.com> wrote
> Can i prevent it from _scanning_ those files?
> I prefer to have the debugger loaded in the image ;-)
AFAIK, the debugger is just loaded by default.
I've tried several images (with the debugger loaded), and I have
no problems with the Object Reference.
My guess is that somehow the IDE isn't installed properly on
your workstation. Did you download the full ISO file and use
that installer, or did you download individual files and then
place everything by hand? If the latter, my guess is that some
files are missing, damaged, or misplaced.
The "Object Reference" is a rather simple-minded piece of code
(that we are in the process of replacing, not before late this
year at the earliest, though). It starts by looking at every
class in the system and culling out its reference documentation.
There's really no way to prevent it from scanning particular files,
as it doesn't know anything about files. The fact that it is
throwing an exception is a symptom of some other problem, likely
with the parcel files for PDP, as you suspect. There should be
matching pcl and pst files, and they need to be well-formed XML.
Again, my guess is that something went wrong during the install,
so you might save time by just starting over from there.
HTH,
M. Roberts
Cincom Systems, Inc.
| |
| Michael B. 2004-04-14, 4:35 am |
| It's OK now!
The .pst files WERE a little broken, but now after
reading the InstallationGuide,
page 14 Point 3. AND DOING SO... it all fine.
sorry!
Mike
|
|
|
|
|