# Error - eddy preprocessing

**URL:** <https://community.mrtrix.org/t/error-eddy-preprocessing/7555>\
**Category:** Uncategorized\
**Created:** [April 22, 2024, 7:26am UTC](https://community.mrtrix.org/t/error-eddy-preprocessing/7555 "2024-04-22T07:26:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![krai13](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/k/edb3f5/32.png) [@krai13](https://community.mrtrix.org/u/krai13)\
**Post date:** [April 22, 2024, 7:26am UTC](https://community.mrtrix.org/t/error-eddy-preprocessing/7555/1 "2024-04-22T07:26:42Z")

</div>

Hi, I am a relatively new user to DTI analysis. I am constantly getting an error when I apply ‘eddy’ in ubuntu shell scripting, the error being - some random symbols and ‘terminating program’. its a single shell image, b values are 0 and 1000.  
Please help!!!

Thanks,  
Kartik

 ![image](https://community.mrtrix.org/uploads/default/original/2X/3/33a1325efd61457af7eee142534edccb15ffc227.png)

---

<div class="post-metadata">

**Author:** ![jdtournier](https://community.mrtrix.org/user_avatar/community.mrtrix.org/jdtournier/32/2594_2.png) [@jdtournier](https://community.mrtrix.org/u/jdtournier)\
**Post date:** [April 24, 2024, 7:26pm UTC](https://community.mrtrix.org/t/error-eddy-preprocessing/7555/2 "2024-04-24T19:26:01Z")

</div>

Hi @krai13,

Given the strange symbols shown on the terminal, I suspect the issue is that your system is set to use an unexpected (non-UTF8) text encoding, which neither `eddy` or `python` can deal with… What does the `locale` command report?

Cheers,  
Donald.

---

<div class="post-metadata">

**Author:** ![krai13](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/k/edb3f5/32.png) [@krai13](https://community.mrtrix.org/u/krai13)\
**Post date:** [April 25, 2024, 4:26am UTC](https://community.mrtrix.org/t/error-eddy-preprocessing/7555/3 "2024-04-25T04:26:13Z")

</div>

Hi Donald,  
Thanks for responding. This is what locale reports.

 ![image](https://community.mrtrix.org/uploads/default/original/2X/a/a644025c8fdcdb38e6aac1d571741fe89f4116f4.png)

Also, after applying eddy, these two files are getting generated so that means that eddy is working but not producing all the needed files.

 ![image](https://community.mrtrix.org/uploads/default/original/2X/9/94089c746b119ef614034a67ffcdd4fb67cd2132.png)

---

<div class="post-metadata">

**Author:** ![Rachel\_Run\_Jin](https://community.mrtrix.org/user_avatar/community.mrtrix.org/rachel_run_jin/32/5270_2.png) [@Rachel\_Run\_Jin](https://community.mrtrix.org/u/Rachel_Run_Jin)\
**Post date:** [September 18, 2025, 10:52am UTC](https://community.mrtrix.org/t/error-eddy-preprocessing/7555/4 "2025-09-18T10:52:51Z")

</div>

Hi @krai13 and @jdtourneir, sorry to bother you. I encounter the same problem and I was wondering whether there are any solutions or alternative ways to run eddy?  
I have check the files and codes and it’s all correct. but it shows some random characters and terminate. Thank you
