[Insight-users] Can't instantiate writer and reader object

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Aug 7 07:08:54 EDT 2007


On 8/7/07, "Marco Körner" <MarcoKoerner at gmx.de> wrote:
> > > > Are you accessing files from a remote directory? To me it
> > > looks like
> > > > the problem is at a lower level than ITK.
> > >
> > > No, I don't. I found out that the error message is defined in
> > > Utilities/gdcm/srcgdcmUtil.cxx (line 844), but i couldn't
> > > figure out the reasons.
> >
> > Sometimes the MAC address is used for generated a UID (unique
> > identifier), could that be the case here?
>
> Oh ... I figured out the problem: The named error message appears if my notebook's WLan chip is turned off. Activating the WLan device will keep the itk application running ... what a strange thing.
>
> I guess the reader/writer needs a MAC address to intantiate. When the WLan chip is deactivated the device seems to be not present. So the requeste for the MAC address fails.
>
> How could I convince ITK to use the ethernet card instead the WLan card to retrieve a MAC address?

It picks the first one in the list. I could change the code to take
the first *active* one.

Thanks for report
-Mathieu


More information about the Insight-users mailing list