Open Zakio12 opened 8 months ago
Can you give some more details about your system? It appears you are on Windows, which version of Windows are you using? Does this issue occur in OpenStudio Application 1.7.0? Does it also occur in OpenStudio Application 1.6.0?
If you open your Registry Editor and navigate to Computer\HKEY_CURRENT_USER\Software\OpenStudioCoalition\OpenStudioApp\
do you see a sub-key for library
? If so, what are the values under it?
Indeed, I am on Windows 10 (22H2) and using the latest version of OpenStudio, which is 1.7.0.
Hi @Zakio12, I have a potential fix for this issue. If you are willing to try a test build to see if it is fixed that would be great. The test builds are at the bottom of this page: https://github.com/openstudiocoalition/OpenStudioApplication/actions/runs/8308715156?pr=682
This is possible duplicate of https://github.com/openstudiocoalition/OpenStudioApplication/issues/681
Thank you, @macumber, for your help. Loading now is faster. However, it still crashes.
Sorry to hear that @Zakio12, could you try to capture debug output so we can see where it is crashing? Assuming you installed the application to the default location, can you open a cmd prompt, do the following commands, then upload the out.txt
file?
set OPENSTUDIO_APPLICATION_DEBUG=1
C:\openstudio-1.7.0\bin\OpenStudioApp.exe > out.txt 2>&1
I am facing a similar issue where application takes around 4 minutes to load on an Ubuntu 22.04 system with SSD drive. I am posting the application log while loading below.
Application loads fast (~2s) upto the following messages.
[OpenStudioApp.main] <-2> main received argc=1 arguments
[OpenStudioApp.main] <-2> Argument 0=OpenStudioApp
[openstudio.OSAppBase] <-2> Measures dir: /home/eee/OpenStudio/Measures
[OpenStudioApp] <-2> setDViewPath called with t_dviewPath = '/home/eee/opt/DView'.
[OpenStudioApp] <-2> setDViewPath t_dviewPath is not empty.
[OpenStudioApp] <-2> setDViewPath: m_dviewPath = '/home/eee/opt/DView'.
[OpenStudioApp] <-2>
m_currLang=[en], m_useClassicCLI=0
Debug: Trying to change language from ' "en" ' to ' "en" '. ((null):0, (null))
Debug: translationFolder= "/usr/local/openstudioapplication-1.7.1-rc1/bin/translations" ((null):0, (null))
Debug: m_qtTranslator ok ((null):0, (null))
Debug: m_qtBaseTranslator ok ((null):0, (null))
Debug:
NO TRANSLATOR NEEDED for lang = "English"
((null):0, (null))
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationModule, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationModule failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationModule, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApplicationPathHelpers] <-2> Searching for CLI in '/usr/local/openstudioapplication-1.7.1-rc1/bin/openstudio'
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/openstudio
[OpenStudioApplicationPathHelpers] <-2> Found CLI at '/usr/local/openstudioapplication-1.7.1-rc1/bin/openstudio'
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/openstudio
[openstudio.OSAppBase] <-2> Starting measure manager server at http://localhost:34163
[openstudio.OSAppBase] <-2> Command: /usr/local/openstudioapplication-1.7.1-rc1/bin/openstudio measure -s 34163
[OpenStudioApp.main.QFont] <-2> Adding font worked
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApp.main] <-1> LibraryExecutablesPath: /usr/local/openstudioapplication-1.7.1-rc1/bin
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[OpenStudioApp.main] <-1> DataPath: /usr/local/openstudioapplication-1.7.1-rc1/bin
[OpenStudioApp.main] <-1> TranslationsPath: /usr/local/openstudioapplication-1.7.1-rc1/bin/translations
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[openstudio.osversion.VersionTranslator] <-2> Starting translation from Version 3.7.0.
[openstudio.osversion.VersionTranslator] <-2> Initial model has 921 objects.
[openstudio.osversion.VersionTranslator] <-2> Final model has 921 objects in IDF form.
[utilities.idf.Workspace] <-2> Workspace::isValid called.
[openstudio.osversion.VersionTranslator] <-2> Final model has 921 objects in Model form.
[openstudio.osversion.VersionTranslator] <-2> Starting translation from Version 3.7.0.
[openstudio.osversion.VersionTranslator] <-2> Initial model has 732 objects.
[openstudio.osversion.VersionTranslator] <-2> Final model has 732 objects in IDF form.
[utilities.idf.Workspace] <-2> Workspace::isValid called.
[openstudio.osversion.VersionTranslator] <-2> Final model has 732 objects in Model form.
[utilities.idf.Workspace] <-1> Renamed Object of type 'OS:Schedule:Constant' and named 'Always On Discrete' to 'Always On Discrete 1' to avoid a name conflict upon WorkspaceObject addition.
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[OpenStudioApplicationPathHelpers] <-2> getOpenStudioApplicationPath, info.dli_fname = 'OpenStudioApp'
[PathHelpers] <-2> completeAndNormalize: result = /home/eee/OpenStudioApp
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath failed as is, trying in to locate in systemPath
[PathHelpers] <-2> findInSystemPath, searching for 'OpenStudioApp' in PATH'
[PathHelpers] <-2> findInSystemPath, found 'OpenStudioApp' in PATH: '/usr/local/bin
[PathHelpers] <-2> completeAndNormalize: result = /usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1
[ApplicationPathHelpers] <-2> getOpenStudioApplicationPath, found '/usr/local/openstudioapplication-1.7.1-rc1/bin/OpenStudioApp-1.7.1-rc1'
[MainWindow] <-2>
m_currLang=[en]
[createModelTempDir] <-1> Created directory '/tmp/osmodel-24bd-a28c-38a1-4e30-1713159070-0'
[openstudio.OSDocument] <-2> OSDocument::fixWeatherFileInTemp: 1
[openstudio.OSDocument] <-2> No weather file
[openstudio.LocalLibraryController] <-2> Creating LocalLibraryController with base app 0x7ffdd060c8b0
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
[OSGridView] <-2> Creating cell wrapper row=0, col=0
[OSGridView] <-2> Creating cell wrapper row=0, col=1
[OSGridView] <-2> Creating cell wrapper row=0, col=2
[OSGridView] <-2> Creating cell wrapper row=0, col=3
[OSGridView] <-2> Creating cell wrapper row=0, col=4
[OSGridView] <-2> Creating cell wrapper row=0, col=5
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: QSslSocket::connectToHostEncrypted: TLS initialization failed ((null):0, (null))
Almost full time is taken up after the above message. The following messages are displayed after this period of slow down (during a period of ~5 seconds)
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
OpenStudio Version: 1.7.1-rc1+5f63e31f2c OS: Ubuntu 22.04.3 LTS
Did some trouble shooting. Had the following observations.
TLS backend
warnings go away once Analytics was disabled.Seems like some network resources are accessed during application startup causing application startup to be affected and GUI getting locked (Measures updates ???).
Running these activities after application startup in a separate thread without locking GUI may be a possible solution ??
Thanks @manuvarkey, the code that checks for the updated results measure is at: https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/src/openstudio_lib/OSDocument.cpp#L1482
You are right, we should exclude that check from the main thread or just skip it at launch. We can do one of those in the next release.
In the meantime, have you tried installing sudo apt install libssl3
?
I'd be surprised installing libssl3 does anything. We link to openssl 1.x because of openstudio-ruby (and the 3.2.2 upgrade in the next version should link to openssl 3, like qt expects). But I could be wrong!
@macumber libssl3
was already installed.
Can confirm that the issue is resolved on Linux (Ubuntu) in v1.7.2 after merging of #723.
Dear OpenStudio Support Team,
I am writing to report an issue I am encountering with the OpenStudio software. I have been experiencing persistent difficulties with the loading process and the stability of the program.
Specifically, whenever I attempt to open the software, it becomes stuck in the "Loading Library Files" window indefinitely. Even when it manages to progress beyond this stage, it takes an excessively long time, about 25 minutes, for the software to fully open. Furthermore, once the software is finally operational, it frequently crashes when attempting to create new constructions.
I've taken several steps to troubleshoot the issue, including uninstalling and reinstalling the software. However, even after performing a fresh installation, the problem persists unchanged.
Please let me know if there are any specific troubleshooting steps or information you require from me to further investigate and address this issue.
Thank you for your attention to this matter. I look forward to your prompt response and resolution.
Sincerely,
Zakaria