# I am having trouble with error codes when analyzing a series of images.

**URL:** https://discourse.slicer.org/t/i-am-having-trouble-with-error-codes-when-analyzing-a-series-of-images/30494
**Category:** Support
**Tags:** lungctanalyzer
**Created:** [July 10, 2023, 12:33pm UTC](https://discourse.slicer.org/t/i-am-having-trouble-with-error-codes-when-analyzing-a-series-of-images/30494 "2023-07-10T12:33:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mikiN](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mikiN](https://discourse.slicer.org/u/mikiN)
#### Post date: [July 10, 2023, 12:33pm UTC](https://discourse.slicer.org/t/i-am-having-trouble-with-error-codes-when-analyzing-a-series-of-images/30494/1 "2023-07-10T12:33:07Z")

</div>

I am analyzing images with CTlunganalyzer. When I try to analyze the second person’s data in succession, I get the error code “failed to compute results: ‘None Type’ object has no attribute ‘LookupValue’”. I have no choice but to exit the 3D slicer once.

Can someone please help me?

---

<div class="post-metadata">

### Author: ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)
#### Post date: [July 10, 2023, 1:48pm UTC](https://discourse.slicer.org/t/i-am-having-trouble-with-error-codes-when-analyzing-a-series-of-images/30494/2 "2023-07-10T13:48:58Z")

</div>

Thank you for the feedback.  
How do you analyze the second person’s data in detail?  
Are you closing the scene, then loading new data, then starting LungCTSegmenter and -Analyzer again?

---

<div class="post-metadata">

### Author: ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)
#### Post date: [July 10, 2023, 7:46pm UTC](https://discourse.slicer.org/t/i-am-having-trouble-with-error-codes-when-analyzing-a-series-of-images/30494/3 "2023-07-10T19:46:20Z")

</div>

We pushed an update [f77147e](https://github.com/rbumm/SlicerLungCTAnalyzer/commit/f77147e59a972637f4a23eea3b9c49ed738ae711) to make subsequent segmentations a bit more fail-proof.  
There is now a check for the existence of CT volume and lung segmentation with right and left lung segment detection when you press “Compute results”.

Please try it out after an update via the extension manager in 1-2 days.

---

<div class="post-metadata">

### Author: ![mikiN](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mikiN](https://discourse.slicer.org/u/mikiN)
#### Post date: [July 10, 2023, 11:22pm UTC](https://discourse.slicer.org/t/i-am-having-trouble-with-error-codes-when-analyzing-a-series-of-images/30494/4 "2023-07-10T23:22:20Z")

</div>

Thank you for your reply.  
I tried the method myself several times. As a result, perhaps I had incorrectly set the lung segmentation and base CT with different people. Therefore, I have solved the problem!

Thank you for sharing the update.
