[Insight-developers] Re: [Insight-users] Re: error!: Analyze reader in release 1.2

Luis Ibanez luis.ibanez@kitware.com
Tue, 25 Mar 2003 13:21:04 -0500


Hi Hans,

The easy way to fix it is to make a checkout
of Insight with the release tag, or simply
updating your checkout with the 1.2 release,
like

        cvs update -r Release-1-2

Apply the fixes you consider convenient, make
an experimental build on it, and then commit
the changes. The will go into the 1.2 branch.

Once this is done, we could produce new tarballs
for the download page.


Regards,


  Luis


-------------------------------------------
Hans Johnson wrote:
> FYI,
> 
> This is fixed in the CVS releases.
> 
> Is there any way that ITK version 1.2.1 could be produced without this
> error?
> 
> Regards,
> Hans
> 
> 
> Luis Ibanez wrote:
> 
>>Hi Zhuo,
>>
>>This seems to be a bug that was present
>>in Analyze reader in the 1.2 release.
>>
>>
>>Please do the following:
>>
>>1) edit the file:
>>
>>  Insight/Code/IO/itkImageIOFactory.cxx
>>
>>
>>2) look for the line # 100 where you will
>>   find code like:
>>
>>ObjectFactoryBase::RegisterFactory( GiplImageIOFactory::New() );
>>ObjectFactoryBase::RegisterFactory( AnalyzeImageIOFactory::New());
>>ObjectFactoryBase::RegisterFactory( StimulateImageIOFactory::New());
>>
>>3) Comment out the line of the Analyze ImageIOFactory
>>
>>4) Recompile the ITKIO library
>>
>>5) Recompile the ImageReadWrite program
>>
>>6) Run the program again.
>>
>>
>>Please let us know if you have any problems
>>
>>
>>Thanks
>>
>>
>>Luis
>>
>>
>>------------------------------------
>>
>>zhuo Chen wrote:
>>
>>
>>>I executed ImageReadWrite under MS-DOS environment and
>>>occured the following error:
>>>D:\>ImageReadWrite DicomtoVtk.mhd DicomtoVtkTest.vtk
>>>ExceptionObject caught!
>>>
>>>itk::ExceptionObject <00E6F424>
>>>Location: "Unknown"
>>>File:D:\cz\research\cztask\VHP\ITK
>>>Install<3.19>\InsightToolkit-1.2.0\InsightToolkit-1.2.0
>>>\Code\IO\itkAnalyzeImageIO.cxx
>>>Line:1002
>>>Description: File cannot be read
>>>
>>>What is the reason?
>>>
>>>_________________________________________________________
>>>Do You Yahoo!? 
>>>雅虎通网络KTV, 随时随地免费卡拉OK~~
>>>http://rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com//chat/index.html
>>>
>>
>>
>>
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-users
> 
> 
>