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

Stanton, Eric T etstant at sandia.gov
Tue Jul 12 16:42:50 EDT 2005


My apologies for not responding until now as I've been away from my
computer today. 
 
I am also sorry for all the trouble this problem caused you, Randy, and
anyone else. I will look into it now and submit a fix this afternoon. 
 
Best,
 
Eric 

________________________________

	From: paraview-bounces+etstant=sandia.gov at paraview.org
[mailto:paraview-bounces+etstant=sandia.gov at paraview.org] On Behalf Of
Randy Hudson
	Sent: Tuesday, July 12, 2005 12:07 PM
	To: paraview at paraview.org
	Cc: ANL Paraview List
	Subject: [Paraview] Summary of recent "lookmark" problem and
solution
	
	


	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/260dda5f/attachment.html


More information about the ParaView mailing list