[vtkusers] wx/vtk weirdness

"Eduardo M. Suárez Santana" esuarez at itccanarias.org
Fri Nov 27 11:13:45 EST 2009


Mathieu Malaterre wrote:
> On Fri, Nov 27, 2009 at 5:07 PM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
>   
>> On Fri, Nov 27, 2009 at 4:47 PM, "Eduardo M. Suárez Santana"
>> <esuarez at itccanarias.org> wrote:
>>     
>>> This looks weird to me. Spacing of vtkDICOMImageReader depends on
>>> whether I use wx or not.
>>>
>>> Can anyone reproduce?
>>>
>>> It fails in vtk-5.2.1 and vtk-5.4.2 on linux, python-2.6.2 and wxpython-2.8.10.1
>>>       
>> DICOMParser is using internally sscanf to decode the spacing. It will
>> fails to work when LC_NUMERIC is not compatible with "C" style. I
>> believe by default GTK (underlying implementation of wx on linux) sets
>> the LC_NUMERIC corresponding to your locales.
>>
>> HTH
>> --
>> Mathieu
>>
>>     
>
>
> Ref:
> http://wxwidgets.org/docs/faqgtk.htm#locale
>   
That makes sense. Thanks a lot.




More information about the vtkusers mailing list