Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OS Application does not launch in Windows 10 #400

Open
svpx opened this issue Jul 14, 2021 · 11 comments
Open

OS Application does not launch in Windows 10 #400

svpx opened this issue Jul 14, 2021 · 11 comments

Comments

@svpx
Copy link

svpx commented Jul 14, 2021

Issue
I installed the latest Open Studio Application and I am not able to start the application. On clicking the application, I see a small window open up and then disappear with no further action or even a running thread in the task manager.

Please see the video here

What I have tried:

  • Reinstall application
  • Restart after uninstall and install
  • Checked for compatibility by running in compatibility mode (Not sure if that ever helps, but tried it anyways)
  • Checked video card drivers - as suggested in one of the threads having similar issue
  • Checked if Dell - Back and Update application was causing an issue - It wasn't, since its not installed on the system.
  • Installed previous version of OSA, similar behavior was observed.

System and Environment Info

  • Dell XPS 15 7590
  • Windows 10 Pro 21H1
  • OS Build 19043.1052 / Windows Feature Experience Pack 120.2212.2020.0
  • Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz 2.40 GHz
  • 64-bit operating system, x64-based processor
  • 16GB RAM
  • Nvidia GeForce GTX 1650
@macumber
Copy link
Collaborator

Thanks for the detailed report. Can you open a command prompt (type cmd then return in the Windows search bar), then give the following commands:

cd c:\openstudioapplication-1.2.0\bin
set OPENSTUDIO_APPLICATION_DEBUG=1
set OPENSTUDIO_APPLICATION_LOGFILE_PATH=%HOMEDRIVE%%HOMEPATH%\Desktop\osapp.log
.\OpenStudioApp.exe

image

That should produce a osapp.log file on your Desktop, could you upload it here?

@svpx
Copy link
Author

svpx commented Jul 20, 2021

Thanks for the response and sorry for my late reply, I was on vacation.

Here is the log file created after running the commands.

osapp.log

@macumber
Copy link
Collaborator

Thanks for the log. There are some pretty unusual items in there, did you happen to build the OS App yourself? I don't know any other reason why it would be referring to a an IddFile at D:\OSN\src\utilities\idd\IddField.cpp. It seems like this was a custom build that was built against an invalid version of the OS SDK?

@svpx
Copy link
Author

svpx commented Jul 21, 2021

No, not really. I just installed it from the windows installer. Did not see a reason to build it my self since I have used the installer before and it has always worked. It's the first time I have had this issue.

@macumber
Copy link
Collaborator

Can you uninstall the version that you have and try reinstalling one of the installers from this official release:

https://github.com/openstudiocoalition/OpenStudioApplication/releases/tag/v1.2.0

@macumber macumber reopened this Jul 21, 2021
@svpx
Copy link
Author

svpx commented Jul 21, 2021

Hi,
So here is what I did now, uninstalled OSA and reinstalled from the link you have provided, still seem to get the same error. I have attached a screen recording with this post. Am I missing a step or is it more system related ?

Also attaching the new log once again.
osapp.log

PS: Restarting does not help.

@macumber
Copy link
Collaborator

@jmarrec you have any idea what the path D:\OSN\src\utilities\idd\IddField.cpp could be from?

@macumber
Copy link
Collaborator

@svpxdev could you try opening the file explorer and going to your new install (should be C:\openstudioapplication-1.2.0\bin) and double clicking the OpenStudioApp.exe file there? I wonder if that shortcut is pointing to some other installed version?

@svpx
Copy link
Author

svpx commented Jul 22, 2021

There is just one version of installed OSA
image

And has the same behaviour
image

@jmarrec
Copy link
Collaborator

jmarrec commented Jul 23, 2021

I think that D:\OSN might just be the path of the build dir on the Jenkins CI instance that built the OS SDK.

(I'm a bit confused by why the CLI (openstudio) is from 04/05 but openstudiolib.dll is from 08/06, but that's probably just cmake changing the timestamp on the dll)

From the log, it seems that the SDK doesn't manage to read its own IDD, or an older version of the IDD. I would start by removing any user defined Libraries... This is very annoying on windows when the GUI doesn't work, but you can do it by launching the registry editor. Do Windows Key + R, then type regedit

Go to Computer\HKEY_CURRENT_USER\SOFTWARE\NREL\OpenStudioApp\library\. Before you delete it, could you tell us how many entries you have in there and what they point to? Eg: I have 3 entries, 1 is hvac_library.osm, two is office_default.osm and the third is a dummy file I added at C:\Untitled.osm

Eg: first entry:

image

Anyways, delete the library entry altogether (right click on the left panel, then click "Delete"), then try relaunching the OSapp.

image

@svpx
Copy link
Author

svpx commented Jul 26, 2021

I dont have the library installed it seems like.
image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants