SlicerRT not compatible with nightly

When installing SlicerRT it says

File “/Users/alex/Applications/”, line 233
except Exception, e:
SyntaxError: invalid syntax

Thanks for the report! We are in transition to Python3, which is not a trivial task, so it might take a while until everything is functional again.

I’ll fix this asap though. And please keep reporting anything new that comes up!

@cpinter I will submit a PR on SlicerRT with a first round of updates.

Traceback (most recent call last):
File “/Users/alex/Applications/”, line 730, in getLoadablesFromFileLists
loadablesByPlugin[plugin] = plugin.examineForImport(fileLists)
File “/Users/alex/Applications/”, line 43, in examineForImport
for loadableIndex in xrange(0,loadablesCollection.GetNumberOfItems()):
NameError: name ‘xrange’ is not defined
Warning: Plugin failed: DicomRtImportExportPlugin

See python console for error message.
DICOM Plugin failed: name ‘xrange’ is not defined

@jcfr I’m working on it right now

@Alex_Vergara Please stand by with more error reports until I have committed the first fixes

the last error was not on loading but when trying to import a DICOMRT

@cpinter and I just synced offline and Csaba will continue his effort and i will help as needed later.

@Alex_Vergara SlicerRT works in the latest nightly. There is one more error coming from Slicer core when you load an RTImage, but otherwise it seems to works well. I’ll still do some tests to make sure, but I think the main functions should be fine now. Thanks for the report!

1 Like