# Default reader not honored when loading exodus file

**URL:** https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387
**Category:** ParaView Support
**Tags:** exodus
**Created:** [November 29, 2023, 11:39pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387 "2023-11-29T23:39:10Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![gambka](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/73ab20/32.png) [@gambka](https://discourse.paraview.org/u/gambka)
#### Post date: [November 29, 2023, 11:39pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/1 "2023-11-29T23:39:10Z")

</div>

OS: MacOS Sonoma (for what it is worth I was seeing this same behavior on Ventura as well)  
ParaView version: 5.11.2  
Obtained ParaView: From the downloads page on the ParaView website.  
Do you see the problem on latest nightly build: Yes

This question is related to [this post](https://discourse.paraview.org/t/paraview-quit-unexpectedly-when-opening-exodus-file/8783) but I believe is different enough to warrant its own question. I have activated the `LegacyExodusIIReader` plugin and have it autoload since the default `IOSS reader` crashes with my `.e` file as highlighted in the linked post. My issue is every time I open ParaView the `Open Data With...` window pops up asking me to select either the `IOSS Reader` or `Legacy Exodus II Reader` even though I’ve clicked the `Set reader as default` button for the `Legacy Exodus II Reader`. I click this `Set reader as default` every time I open ParaView, hoping one time it will permanently stick and the `Open Data With...` window will cease to pop up.

I’ve gone to `Preferences->Miscellaneous` and under in the Default reader details I see the following:

 ![Screenshot 2023-11-29 at 4.13.34 PM](https://discourse.paraview.org/uploads/default/original/2X/f/f71e5d610e1898039c0b2906804bf2f1de71f094.png)

So it appears to be properly adding the default reader to the list but it doesn’t honor it when I open \*.e extensions. The line is added every time I click `Set reader as default`. Can someone explain to me why this is happening and how I can fix it so the `Open Data With...` window stops open every time I open ParaView?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [November 30, 2023, 3:05am UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/2 "2023-11-30T03:05:21Z")

</div>

@mwestphal

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 30, 2023, 1:21pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/3 "2023-11-30T13:21:14Z")

</div>

I’m unable to reproduce with ParaView 5.11.1 binary release on linux. The mechanism seems to work perfectly. Please try to identify if this issue is specific to macOS.

---

<div class="post-metadata">

### Author: ![gambka](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/73ab20/32.png) [@gambka](https://discourse.paraview.org/u/gambka)
#### Post date: [November 30, 2023, 2:55pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/4 "2023-11-30T14:55:27Z")

</div>

I’ll have to reach out some of my colleagues and see if there are any linux and or Windows boxes to confirm whether it is a macOS only issue. It looks like your testing rules out the issue on Linux. I have confirmation from other macOS users in my team that they have seen this issue. I’ll have to confirm if it is only the ARM based architecture or also the older intel based macs.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [November 30, 2023, 4:51pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/5 "2023-11-30T16:51:35Z")

</div>

@phismith Please test this with Windows, Mac and Linux. Reply back here, and talk to me on what you find. Thanks.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [November 30, 2023, 5:08pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/6 "2023-11-30T17:08:42Z")

</div>

I can confirm that the behavior is different on Windows vs Mac. On Windows, setting a default reader opens future files with the same extension in that default reader without prompting a pop-up menu choice. On Mac, it always presents the pop-up.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 30, 2023, 5:24pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/7 "2023-11-30T17:24:00Z")

</div>

Looks like a macOS specific issue then, please open it : [https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [November 30, 2023, 6:45pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/8 "2023-11-30T18:45:04Z")

</div>

List the link here please. Sandia will fund it.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [November 30, 2023, 10:01pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/9 "2023-11-30T22:01:45Z")

</div>

[Default readers not honored on MacOS (#22400) · Issues · ParaView / ParaView · GitLab (kitware.com)](https://gitlab.kitware.com/paraview/paraview/-/issues/22400)

Here you go. Thanks, Alan!

N

---

<div class="post-metadata">

### Author: ![phismith](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/a9adbd/32.png) [@phismith](https://discourse.paraview.org/u/phismith)
#### Post date: [November 30, 2023, 11:17pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/10 "2023-11-30T23:17:05Z")

</div>

I tried this out with v5.12.0-RC1 on Mac IOS Sonoma on an x86 Mac and it looks like it works fine. Please see if it works for you on the ARM machine with v5.12-RC1.

Thanks!  
-Phil

---

<div class="post-metadata">

### Author: ![gambka](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/73ab20/32.png) [@gambka](https://discourse.paraview.org/u/gambka)
#### Post date: [December 1, 2023, 12:34am UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/11 "2023-12-01T00:34:53Z")

</div>

Phil,

In looking into v5.12.0-RC1 I have come across something interesting. Both the v5.11.2 and v5.12.0-RC1 work if and only if I open ParaView from `/Applications/ParaView-5.12.0-RC1` and go to `File->Open` and navigate to the .e files after selecting the `LegacyExodusIIReader` as default the first time. However, that’s not how I’ve typically opened files for the ~10 years or so I’ve used ParaView. I’ve always added an alias to my `.bash_profile` or `.zshrc` as follows:

```auto
alias paraview="/Applications/ParaView-5.12.0-RC1.app/Contents/MacOS/paraview

```

so I can simply type anywhere in the terminal `paraview file_name.e` to open the file. Opening files this way, which is what I was doing in my testing in my original post still does **not** work with v5.12.0-RC1. The pop-up `Open Data with...` always pops up even after selecting a default. Interestingly, other defaults have always been recognized in opening ParaView this way (autoloading the Legacy plugin as it appears in the pop up window for selection, my changes to default point size, colorbar, etc.).

Any idea why opening via an alias would lead to different behavior?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [December 1, 2023, 5:36am UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/12 "2023-12-01T05:36:25Z")

</div>

@woodscn I’m going to take a guess. Please delete your configuration files, using Edit/ Reset to Default Settings. Then, please try running 5.12.0-RC1. Does that work better?

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [December 1, 2023, 6:17am UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/13 "2023-12-01T06:17:40Z")

</div>

I’m on Windows and Linux; @gambka will have to test the Mac aspects.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 1, 2023, 7:57am UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/14 "2023-12-01T07:57:22Z")

</div>

> [@gambka](#):
>
> Any idea why opening via an alias would lead to different behavior?

Sounds like settings not working correctly that way?

---

<div class="post-metadata">

### Author: ![gambka](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/73ab20/32.png) [@gambka](https://discourse.paraview.org/u/gambka)
#### Post date: [December 4, 2023, 3:35pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/15 "2023-12-04T15:35:23Z")

</div>

After deleting the configuration files and trying to reset the default reader still results in the same behavior when using an alias to open the executable versus manually opening files through the ParaView gui.

---

<div class="post-metadata">

### Author: ![gambka](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/73ab20/32.png) [@gambka](https://discourse.paraview.org/u/gambka)
#### Post date: [December 4, 2023, 3:41pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/16 "2023-12-04T15:41:38Z")

</div>

It does sound like the settings are not working correctly using the alias, but what I don’t understand is the alias is simply the path to the same executable that is executed when you double click on the ParaView icon in Applications.

My use case may be too specific to warrant a fix. It is probably more prudent for me to figure out why the IOSS reader is crashing and fix the creation of my Exodus file so I can avoid the need for the legacy reader since it will be phased out of ParaView eventually.

---

<div class="post-metadata">

### Author: ![phismith](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/a9adbd/32.png) [@phismith](https://discourse.paraview.org/u/phismith)
#### Post date: [December 20, 2023, 5:21pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/17 "2023-12-20T17:21:18Z")

</div>

Hi Kyle,

I just tried it with the file I am attaching and it works fine. Can you provide a file that will not work for you? Or did you get your file fixed?

[cube\_ssvar\_mtrans.e](https://discourse.paraview.org/uploads/short-url/e93aY0YXseLFNs07FdXaHurgvQe.e) (2.0 MB)

---

<div class="post-metadata">

### Author: ![gambka](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/73ab20/32.png) [@gambka](https://discourse.paraview.org/u/gambka)
#### Post date: [December 21, 2023, 9:09pm UTC](https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/18 "2023-12-21T21:09:20Z")

</div>

I was able to change the mesh creation script such that the IOSS reader no longer crashes. I still have issues with the default reader being honored if opened via a command line alias as I described previously for any and all .e files, including the one you provided. Opening manually via the GUI works as intended.

Now that I’ve corrected the root cause requiring the `LegacyExodusReader` in the first place I think I’m fine. I know the goal is to remove the `LegacyExodusReader` in the future so it may not be worth the time and effort to get it to work for the specific use case through an alias to open ParaView.

I do appreciate everyone’s help regarding this issue.
