# Issues loading Python script and .mrb file

**URL:** <https://discourse.slicer.org/t/issues-loading-python-script-and-mrb-file/41012>\
**Category:** Support\
**Tags:** python, file-import, data-loading\
**Created:** [January 9, 2025, 9:46am UTC](https://discourse.slicer.org/t/issues-loading-python-script-and-mrb-file/41012 "2025-01-09T09:46:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Symon](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Symon](https://discourse.slicer.org/u/Symon)\
**Post date:** [January 9, 2025, 9:46am UTC](https://discourse.slicer.org/t/issues-loading-python-script-and-mrb-file/41012/1 "2025-01-09T09:46:52Z")

</div>

Hi,

I’m new to 3D Slicer and I have somme issues with it.  
I have DICOM files that I load to 3D Slicer (no problem there). These are CT-Scan Dynamic with 247 images (7.8Go for the DICOM file).

I saved my work in a “.mrb” file, but when I want to load it, I have black screens : my CT just disappear, nothing to see…  
I think the file do not save completely because it is too big… What do you think ?  
When I load the file, this appear in the consol :

[VTK] [nrrd] nrrdRead: trouble  
[VTK] [nrrd] \_nrrdRead: trouble reading NRRD file  
[VTK] [nrrd] \_nrrdFormatNRRD\_read:  
[VTK] [nrrd] \_nrrdEncodingGzip\_read: expected 8287944704 bytes but received 1611130266

Another issue I do have it’s using a Python script that “Threshold” all my images (I do not want to do it manually 247 times…). When I put the program in the consol, 3D Slicer is running, but bugged and shut off itself in about 2minutes… The script already exists and have worked well on other CT-Scan Dynamic (with just 68 images), so I do not understand what the issue…

If someone can help me and have any solution…

Thanks in advance  
Symon

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [January 9, 2025, 4:24pm UTC](https://discourse.slicer.org/t/issues-loading-python-script-and-mrb-file/41012/2 "2025-01-09T16:24:06Z")

</div>

The mrb file is just a .zip, so if you change the extension you can look at it with any tool. Probably it got truncated or there was file corruptioin.

Regarding your other issue, if you have a reproducible example script that illustrates the issue someone might be able to give specific suggestions.
