[Paraview] Summary of recent "lookmark" problem and solution

Randy Hudson hudson at mcs.anl.gov
Tue Jul 12 14:06:32 EDT 2005



MY DESCRIPTION OF THE PROBLEM:
=============================================================
The paraview distributions from both 07/07 and 07/11, which I built on my Windows XP laptop, failed almost immediately upon starting.  This happens whether I run "paraview.exe" or "pvclient.exe".  (These are the two I use on my laptop.)

I did not have this problem under Linux (at least for the 07/11 dist.).

Here is the trace from one of them from Vis Studio:  
vtkXMLDataElement::GetNumberOfNestedElements() line 315 + 3 bytes 
vtkPVLookmarkManager::ImportMacroExamplesCallback() line 521 + 29 bytes 
vtkPVLookmarkManager::Create(vtkKWApplication * 0x056d4c98) line 335 
vtkPVWindow::Create(vtkKWApplication * 0x056d4c98) line 1161 + 58 bytes 
vtkPVApplication::Start(int 1, char * * 0x05695968) line 1143 + 26 bytes 
vtkPVProcessModuleGUIHelper::ActualRun(int 1, char * * 0x05695968) line 125 + 27 bytes 
vtkPVProcessModuleGUIHelper::RunGUIStart(int 1, char * * 0x05695968, int 1, int 0) line 108 + 19 bytes 
vtkPVProcessModule::Start(int 1, char * * 0x05695968) line 99 + 31 bytes 
vtkPVMain::Run(vtkPVOptions * 0x05693b20, vtkProcessModuleGUIHelper * 0x05694010, void (vtkProcessModule *)* 0x00410d22 ParaViewInitializeInterpreter(vtkProcessModule *), int 1, char * * 0x056935c8) line 196 + 33 bytes 
MyMain(int 1, char * * 0x056935c8) line 83 + 29 bytes 
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00400000, char * 0x000423a8, HINSTANCE__ * 0x00400000) line 106 + 13 bytes 
WinMainCRTStartup() line 330 + 54 bytes 
KERNEL32! 7c816d4f() 
Vis Studio marked the following statement as the one in error:  
return this->NumberOfNestedElements;    

THE FIRST SOLUTION SUGGESTED:
=============================================================
This looks like an error we saw here recently.  Most likely, you have a #LookmarkMacros# and/or a #ParaViewlmk# that is completely empty in your $HOMEPATH directory (probably C:).  These are XML files associated with lookmarks (a fairly recent addition to ParaView).  If you delete the file(s), everything should run properly again.  Lookmarks are still under development, and we have asked the person working on them to correct the problem we (and now you) have seen.

- Amy


RESULT:
=============================================================
I had the empty #LookmarkMacros# in my "C:/Documents and Settings/<userid>" directory, but not #ParaViewlmk#.  Deleting it did not work, and it was created again when I ran pvclient.


THE SECOND SOLUTION SUGGESTED:
=============================================================
Add the line , "<LmkFile/>", to the empty #LookmarkMacros# file.


RESULTS:
=============================================================
That worked, but now there WAS an empty #ParaViewlmk# file and pvclient died a bit further on.


SUCCESS:
=============================================================
After adding the line , "<LmkFile/>", to the empty #ParaViewlmk# file, pvclient ran.




Randy.
630 252 8690.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20050712/f386f0f2/attachment.html


More information about the ParaView mailing list