WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-24-2022, 11:34 PM
BezierSpline BezierSpline is offline
Member
 
Join Date: Aug 2020
Location: Germany
Posts: 4
Vizinput intermittend failure

Hello!
We have been having some strange errors with vizinput:
The usual vizinput directory or file dialog sometimes appear to be completely broken. There does not seem to be an obvious cause for this and it occurs randomly.
See attached image for the directory prompt in the broken state. The buttons also no longer function.
Usually this also comes with a perfomance drop for the rest of the script.

The only theory so far, is that the Vizard process does not terminate correctly and any subsequent execution of the program breaks the functionality.

We do not get any error message or warning with this error.

Has anyone encountered this?

Best wishes
Attached Thumbnails
Click image for larger version

Name:	error.png
Views:	3689
Size:	5.0 KB
ID:	995  
Reply With Quote
  #2  
Old 02-03-2023, 03:11 PM
mspusch mspusch is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 223
Hi BezierSpline,

I'm reposting an answer here from our closed support forum where we were looking into this with you, so that the open community can also learn from the answers - hope that's OK.

Here the suggestions:

In the case of the vizinput.fileOpen dialog not even being displayed, do you know if the function ever returns from the call or is it essentially freezing the app?

We are not aware of any Windows log files that can shed light on internal OS call failures. However, we've used "Process Monitor" in the past to debug why certain OS calls were failing. Here is a link to download it:

https://docs.microsoft.com/en-us/sys...nloads/procmon

It will display all OS file/registry calls being made by all processes and display whether the call was successful or not. You will need to apply a filter so it only displays calls made by your process. When you display the directory/fileOpen dialogs, you should see a bunch of file/registry calls being made to load thumbnails, folder views, shell extensions, and so on. Hopefully this will help, and it could possibly point to the cause of the problem. In the case of the fileOpen dialog not being displayed, it could at least indicate whether the failure is due to the Python module never actually launching the dialog or if it failed within the OS level after the call was made.

all the best,

The Worldviz team
Reply With Quote
  #3  
Old 04-11-2023, 03:02 AM
BezierSpline BezierSpline is offline
Member
 
Join Date: Aug 2020
Location: Germany
Posts: 4
Post Vizinput Failure

Hello!
We have investigated this for a while, and were ultimately able to avoid the error by redeploying the SteamVR installation and briefing users to ensure that the VR hardware is properly connected and recognized before launching our application .exe file. Our usual error handling would normally stop our application, due to the VR hardware not being detected, so this was only the case when SteamVR had intermittend connection problems.
It seems that this error occured, because SteamVR services may become intermittendly unresponsive during application startup for this reason.
We were not able to determine why this affects the file dialog itself.
Further attemps to recreate this error with the same version of our application and a fresh SteamVR install have led to the application just stopping and logging that the connection to hardware has failed, as it should.
Should this error occur again, i will record SteamVR logfiles and make them available.
Thank you for the support mspusch and i will gladly assist if i can, should anyone encounter this problem in the future.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure to Unregister License shivanangel Vizard 1 05-13-2021 03:58 PM
vizinput disables keyboard? fivel_lab Vizard 1 01-29-2015 02:44 AM
vizinput module missing whaleeee Vizard 1 02-05-2013 11:30 PM
Detecting a Vicon Failure kevin Vizard 0 12-09-2011 12:27 PM


All times are GMT -7. The time now is 05:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC