WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

TypeError: cannot unpack non-iterable NoneType object #32

@ElvezTheElf

Description

@ElvezTheElf

C:\Users\User\Desktop\Ömer\bionluk\dicom2stl-main>python dicom2stl.py dicomFiles/test/ --output test.stl

Temp dir: C:\Users\User\AppData\Local\Temp\tmpb92h54r6
Isovalue = 0.0
Error in loadLargestSeries. No files found.
dicomdir = dicomFiles/test/
Traceback (most recent call last):
File "C:\Users\User\Desktop\Ömer\bionluk\dicom2stl-main\dicom2stl.py", line 160, in
img, modality = dicomutils.loadLargestSeries(fname[0])
TypeError: cannot unpack non-iterable NoneType object

Hello dave3d, above is the error message I get when I tried to use your script to turn an example dicom series intro stl.

I am not sure what that error means, but I also tried putting the files in a .zip file.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions