# Pmx file save error without results

**URL:** <https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702>\
**Category:** Bug Reports\
**Tags:** results\
**Created:** [February 3, 2023, 8:13am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702 "2023-02-03T08:13:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 3, 2023, 8:13am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/1 "2023-02-03T08:13:14Z")

</div>

First of all PrePoMax is a very useful piece of software and up to now it was working for me nearly error free.  
Now my pmx file with resuts is nearly 2Gb and i want to reduce the file size and i tried to save the pmx  
model without the results.  
If I press “File → Close … results” and after that “File → save” I get always and error. Also with a complete new and empty file.  
And i get the same error, when i set the settings option “Save results in .pmx files” to no and press save.  
I tried that in v1.3.5.1 and in v1.3.5 on Win 10 Pro  
[![](https://fatigue.pro/wp-content/uploads/2023/02/Prepomax_error_close_results.png) ](https://fatigue.pro/wp-content/uploads/2023/02/Prepomax_error_close_results.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 3, 2023, 8:25am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/2 "2023-02-03T08:25:12Z")

</div>

What is the error message ? Can you share a screenshot of it ?

---

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 3, 2023, 8:36am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/3 "2023-02-03T08:36:05Z")

</div>

yes, I added a screenshot to that topic.  
 ![](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/4e78281bd43e3ad04dd8d2619217c69066af06d3.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 3, 2023, 8:40am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/4 "2023-02-03T08:40:44Z")

</div>

Can you check if it happens on another, possibly more powerful, computer ? It can be caused by insufficient RAM and may not occur with smaller files.

---

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 3, 2023, 8:47am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/5 "2023-02-03T08:47:21Z")

</div>

> [@fatigue.pro](#):
>
> If I press “File → Close … results” and after that “File → save” I get always and error. Also with a complete new and empty file.

As I wrote, I get this error also with a new empty file if i press “Close … results” before save.

I have 64 GB RAM and 918GB free disk space. But i selected the wrong screenshot, here is the right one.  
 ![](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/4e78281bd43e3ad04dd8d2619217c69066af06d3.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 3, 2023, 10:33am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/6 "2023-02-03T10:33:26Z")

</div>

All right, so it’s not a matter of insufficient memory and it’s not limited to large files as the error message could suggest. I can’t reproduce this issue though.

To clarify, you get this error when you just start PrePoMax, create a new model, use Close Current Result or Close All Results and then Save ? That’s really strange. I would recommend trying on a different computer and with previous versions of PrePoMax (to see in which version this bug appeared).

---

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 3, 2023, 10:51am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/7 "2023-02-03T10:51:51Z")

</div>

Yes, simply:  
Start PrePoMax → New → Close Current/All result(s) → save → specify location/file name → Error

I tried on Win 10 Pro:  
v1.3.5.1 → Error  
v1.3.5 → Error  
v1.3.4 → works fine

In v1.3.4 is only one option “Close result” and not “Close **Current** result” and “Close **All** results”.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 3, 2023, 4:18pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/8 "2023-02-03T16:18:46Z")

</div>

It is not a problem with the hardware. It is a software issue but I cannot reproduce the problem you are having. Are you trying to save the model to a hard drive or some USB, network, cloud drive?

Can you try to download a new copy of PrePoMax and put it into another folder where you have administrative rights and repeat the procedure?

---

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 3, 2023, 7:10pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/9 "2023-02-03T19:10:56Z")

</div>

I use a normal folder in my local home folder.

If I use a new copy and run it with admin rights then it works fine. And if i run it afterwards without admin rights then it works too.  
Maybe there is somewhere a file that can be only accessed with admin rights?

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 5, 2023, 8:41am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/10 "2023-02-05T08:41:51Z")

</div>

The only files accessed by PrePoMax are those in the PrePoMax base folder. Especially the file for settings is accessed after every save if the feature Open last file is enabled. Also, recent files are stored in the settings file. So the folder where PrePoMax is should not be one of the protected system folders like Program Files…

---

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 8, 2023, 5:12pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/11 "2023-02-08T17:12:39Z")

</div>

> [@fatigue.pro](#):
>
> If I use a new copy and run it with admin rights then it works fine. And if i run it afterwards without admin rights then it works too.

This workaround helps for the “Close all Results” option, but when i want to use the settings option  
“Save results in .pmx files” → No  
then i still get the following error. It seems that this behavior is independent from the admin rights.  
 ![](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/961784b9d35c77bf169c7a806f5bbe2084aa748d.png)  
Hopefully that helps someone else with the same issue.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 9, 2023, 6:01pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/12 "2023-02-09T18:01:19Z")

</div>

I really don’t know what the problem could be. Could you share the whole path of the PrePoMax.exe?

---

<div class="post-metadata">

**Author:** ![fatigue.pro](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/fatigue.pro/32/1786_2.png) [@fatigue.pro](https://prepomax.discourse.group/u/fatigue.pro)\
**Post date:** [February 10, 2023, 7:00am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/13 "2023-02-10T07:00:17Z")

</div>

PrePoMax.exe in:  
C:\Users\PEGR\_software\PrePoMax v1.3.5.1  
work dir:  
C:\Users\PEGR\_software\PrePoMax v1.3.5.1\Temp

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 10, 2023, 7:30am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/14 "2023-02-10T07:30:53Z")

</div>

The paths you posted should not be problematic and should not be the source of the problem.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 10, 2023, 9:39am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/15 "2023-02-10T09:39:46Z")

</div>

Now I was able to reproduce the bug. Thank you. I will fix it as soon as possible.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 10, 2023, 9:53am UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/16 "2023-02-10T09:53:19Z")

</div>

I have fixed it for the next PrePoMax version. At the moment, if you are using the setting “Save results in .pmx files → No", please do not use the command Close current result or Close all results. If you only save to the .pmx file, the results will not be saved into the .pmx file regardless if they are open inside PrePoMax due to the setting.

---

<div class="post-metadata">

**Author:** ![Cimek](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Cimek](https://prepomax.discourse.group/u/Cimek)\
**Post date:** [March 14, 2023, 12:54pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/17 "2023-03-14T12:54:52Z")

</div>

Hi, my first post here.

I have also experienced this bug in versions 1.3.5 and 1.3.5.1, before finding a report already here.

I would just add, that i get the same error message when just trying to save the model (using “File → Save” or “File → Save As”) while the setting “Save results in .pmx files" is set to “No”. I tried this with a fresh install and only changing this setting. To fix the error you have to change this setting back to “Yes” and restart PrePoMax.

This can be a problem, because if you change this setting while having an unsaved model open it prevents you from saving it and you loose all your work up to then (changing it back doesn’t fix it until you restart PrePoMax). For that reason i would recommend adding a disclaimer not to change this setting next to those files on the Downloads page.

Other than that excellent program Matej!

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 14, 2023, 6:36pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/18 "2023-03-14T18:36:40Z")

</div>

I will add a note to the Download page.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 27, 2023, 4:57pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/19 "2023-03-27T16:57:55Z")

</div>

I have fixed this behaviour in the new PrePoMax version, so I am closing this topic.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 27, 2023, 4:57pm UTC](https://prepomax.discourse.group/t/pmx-file-save-error-without-results/702/20 "2023-03-27T16:57:58Z")

</div>


