Trouble setting baseline model in PAT

asked 2015-07-27 13:57:34 -0500

ethankheil's avatar

updated 2017-08-20 15:04:44 -0500

When attempting to select my baseline model in the Parametric Analysis Tool (PAT), I receive the following error:

Unhandled Exception

An unhandled exception has occurred.

boost::filesystem::copy_file: Acess is denied: "C:/Users...\test.osm", "C:/Users...\PATtest\seed\test.osm"

When I check the "seed" folder, however, I do see that the "test.osm" file has been copied over. Any suggestions would be greatly appreciated.

edit retag flag offensive close merge delete

Comments

Sorry for the problems you are seeing. I have a few questions.

  1. What version of OpenStudio are you using, and what platform?
  2. Is this a fresh PAT project or one upgraded from an older version of OpenStudio?
  3. If you try a different seed model does it still crash, or is it unique to one seed model?
  4. Try to throw away the directory next to the OSM file that you want to use as a seed (or just copy the OSM file using a file manager so there is no matching folder). Then try to load it as a seed. Does it still crash?
David Goldwasser's avatar David Goldwasser  ( 2015-07-27 14:09:21 -0500 )edit

Thank you David,

  1. I am using OpenStudio Version 1.8.0 on a Windows 8.1 machine.
  2. I have tried both fresh PAT (from scratch) and those made with OpenStudio version 1.7.0, but have experienced the same error in both cases.
  3. I have tried 3 different seed models, all of which have experienced the same error. After messing around a little bit more, I could get one model that was saved in OS 1.8.0 to run smoothly, while all the models saved as OS 1.7.0 seem to have this error.
  4. I'm not entirely sure I understand what you mean by "throw away the directory next to the OSM file"
ethankheil's avatar ethankheil  ( 2015-07-27 15:02:06 -0500 )edit

I have tried to update the OS 1.7.0 models to OS 1.8.0 by opening OS, allowing the update to occur and saving the file, but the saved file remains OS 1.7.0.

ethankheil's avatar ethankheil  ( 2015-07-27 15:03:31 -0500 )edit

image description

David Goldwasser's avatar David Goldwasser  ( 2015-07-27 15:21:22 -0500 )edit

Thanks David,

Unfortunately, that doesn't seem to help.

Best, Ethan

ethankheil's avatar ethankheil  ( 2015-07-27 15:25:55 -0500 )edit

The error message "access denied" might be literal. Can you verify that the location of the PAT project is writable? Perhaps try creating a new PAT project on your desktop or some location that you can be 100% certain is writable.

Kyle Benne's avatar Kyle Benne  ( 2015-07-28 09:05:08 -0500 )edit

I agree with Kyle, I suspect the issue is that the seed osm in the PAT project was set previously but then became locked. Can you delete the seed osm in your PAT project's directory?

macumber's avatar macumber  ( 2015-07-28 10:53:49 -0500 )edit

Kyle and macumber, Thank you for your help. Unfortunately neither of those issues seem to help. So far, the only luck I've had is running .osm files that have been converted to OS 1.8.0 successfully. All the .osm files that remain OS 1.7.0 seem to have this issue. As such, is there a way to upgrade the old 1.7.0 files to 1.8.0?

ethankheil's avatar ethankheil  ( 2015-07-28 14:07:28 -0500 )edit

Certainly. Just open the osm file in the OpenStudio app (1.8.0) and save it back out. OpenStudio App automatically does the version update when you open a file. PAT should be doing this too, but if you want to troubleshoot I'd start with upgrading the model with the OS App and going from there.

Kyle Benne's avatar Kyle Benne  ( 2015-07-28 14:24:50 -0500 )edit

Kyle,

For some reason (and maybe this is an entirely different issue), when I try to save a 1.7.0 file as you suggested, it doesn't save over the old file. Even if I "Save as" a new filename altogether, the file remains 1.7.0. As a double check, when I check the file properties after saving, the "Date modified" doesn't change at all, leaving me to believe the changes are not actually getting saved. Additionally, after I save, close OS and open the file again, I receive the message that the file is updated to 1.8.0 all over again.

ethankheil's avatar ethankheil  ( 2015-07-28 14:48:45 -0500 )edit