Hi, thank you so much for your kind help. Now I can run the example 
successfully after reinstalling itk-rtk with the given wheel.

Best,
Zhehao


From: Simon Rit <simon....@creatis.insa-lyon.fr>
Sent: Wednesday, May 6, 2020 3:11:38 AM
To: Aurélien Coussat <aurelien.cous...@creatis.insa-lyon.fr>
Cc: Zhang, Zhehao <zhehao.zh...@wustl.edu>; rtk-users@public.kitware.com 
<rtk-users@public.kitware.com>
Subject: Re: [Rtk-users] Trouble on the FirstReconstruction example

Hi,
Thanks for the report, I can reproduce the problem. Actually, ITK recently 
updated their packages and it seems that our old packages are not compatible 
with the new ones. We will release new ones soon but in the mean time, you 
should use an older version of ITK packages (5.0.1) or use a package built by 
our CI, e.g. one those available here:
https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts
Best regards,
Simon

On Wed, May 6, 2020 at 9:27 AM Aurélien Coussat 
<aurelien.cous...@creatis.insa-lyon.fr<mailto:aurelien.cous...@creatis.insa-lyon.fr>>
 wrote:
Hi,

I cannot reproduce the problem. Are you sure you haven't altered 
FirstReconstruction.py in any way? Could you provide the exact content of the 
file?

Thank you!

Aurélien.

On Tue, 2020-05-05 at 22:01 +0000, Zhang, Zhehao wrote:

Dear all,



Hi! I am new to RTK and want to use it on Python. So I installed RTK through 
pip, like

pip install itk

pip install itk-rtk



I think the examples for ITK work well. However, when I tried to run the 
FirstReconstruction example for RTK, some trouble have stopped me for a while.

I used the order “python FirstReconstruction.py test.mha geometry.xml” to run 
the given Python code, but I continued to get the error



Traceback (most recent call last):

  File "FirstReconstruction.py", line 88, in <module>

    writer.Update()

RuntimeError: 
C:\P\IPP\standalone-build\ITKs\Modules\Core\Common\src\itkProcessObject.cxx:1400:

itk::ERROR: FieldOfViewImageFilter(000001C546A88980): Input Primary is required 
but not set.



Additionally, this ‘Input Primary is required but not set’ error also occurred 
in some other examples, on both Windows and Ubuntu systems. I have no idea how 
to solve it. Could you please help me out?



Thank you very much.



Sincerely,

Zhehao



_______________________________________________

Rtk-users mailing list

Rtk-users@public.kitware.com<mailto:Rtk-users@public.kitware.com>

https://public.kitware.com/mailman/listinfo/rtk-users
_______________________________________________
Rtk-users mailing list
Rtk-users@public.kitware.com<mailto:Rtk-users@public.kitware.com>
https://public.kitware.com/mailman/listinfo/rtk-users
From: Simon Rit<mailto:simon....@creatis.insa-lyon.fr>
Sent: Wednesday, May 6, 2020 3:10 AM
Subject: Re: [Rtk-users] Trouble on the FirstReconstruction example

Hi,
Thanks for the report, I can reproduce the problem. Actually, ITK recently 
updated their packages and it seems that our old packages are not compatible 
with the new ones. We will release new ones soon but in the mean time, you 
should use an older version of ITK packages (5.0.1) or use a package built by 
our CI, e.g. one those available here:
https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts
Best regards,
Simon

On Wed, May 6, 2020 at 9:27 AM Aurélien Coussat 
<aurelien.cous...@creatis.insa-lyon.fr<mailto:aurelien.cous...@creatis.insa-lyon.fr>>
 wrote:
Hi,

I cannot reproduce the problem. Are you sure you haven't altered 
FirstReconstruction.py in any way? Could you provide the exact content of the 
file?

Thank you!

Aurélien.

On Tue, 2020-05-05 at 22:01 +0000, Zhang, Zhehao wrote:
Dear all,

Hi! I am new to RTK and want to use it on Python. So I installed RTK through 
pip, like

pip install itk

pip install itk-rtk

I think the examples for ITK work well. However, when I tried to run the 
FirstReconstruction example for RTK, some trouble have stopped me for a while.
I used the order “python FirstReconstruction.py test.mha geometry.xml” to run 
the given Python code, but I continued to get the error

Traceback (most recent call last):
  File "FirstReconstruction.py", line 88, in <module>
    writer.Update()
RuntimeError: 
C:\P\IPP\standalone-build\ITKs\Modules\Core\Common\src\itkProcessObject.cxx:1400:
itk::ERROR: FieldOfViewImageFilter(000001C546A88980): Input Primary is required 
but not set.

Additionally, this ‘Input Primary is required but not set’ error also occurred 
in some other examples, on both Windows and Ubuntu systems. I have no idea how 
to solve it. Could you please help me out?

Thank you very much.

Sincerely,
Zhehao


_______________________________________________

Rtk-users mailing list

Rtk-users@public.kitware.com<mailto:Rtk-users@public.kitware.com>

https://public.kitware.com/mailman/listinfo/rtk-users
_______________________________________________
Rtk-users mailing list
Rtk-users@public.kitware.com<mailto:Rtk-users@public.kitware.com>
https://public.kitware.com/mailman/listinfo/rtk-users

_______________________________________________
Rtk-users mailing list
Rtk-users@public.kitware.com
https://public.kitware.com/mailman/listinfo/rtk-users

Reply via email to