Settings window draws blank in current beta 6.18b3
I'm seeing a behavior where when opening Settings in 6.18b3, the content portion of the window is all white, the window cannot be closed, and SecSpy has to be force quit to escape it.
Comments
-
Maybe this was related to a corrupted preferences file? I'm not sure. I just fell back to the current release build 6.17 and the preferences window was still opening blank/white, and then I realized that my action scripts that toggle CMA modes per camera were no longer working. I reverted to a preferences backup and that resolved it.
One thing I had done in recent days for testing purposes was duplicate a camera and set the duplicate to view only mode. Later I deleted the duplicate.
Question: since all URLs reference cameras by ID, which seems to be determined by the order of cameras in the preferences, does this mean camera ID changes when cameras are added/deleted from the middle of the list?
ie
Cam1 = 0
Cam2 = 1
Cam3 = 2
Duplicate Cam2
Are the IDs then:
Cam1 = 0
Cam2 = 1
Cam2(duplicate) = 2
Cam3 = 3
If that's the case...I wonder how people with many cameras and script actions deal with that, as any camera addition/deletion would mean re-working all the scripts that reference cameras by ID. That would be very inconvenient.
If that's how it works, I think it would be better if users could "lock" the currently assigned camera ID, so the addition/deletion of a camera does not ripple a change in ID assignments to other cameras.
-
I'm getting the same blank settings window behavior in 6.17 release also. The only thing I can figure would be causing it - the only thing that has changed - is that I added a user, and I changed my password.
My password strings are fairly long alpha_numeric_underscore, ie:
username: username
password: my_password_is_this_long_my_password_is
If I restore my preferences from 12/22 before any changes were made, I can open and close the settings window repeatedly with no issue.
I add my new long password to the only admin user.
Settings remains ok.
I add a new additional user, per above 8 digit username and long password same as string length above. I set the user to "View" only permissions.
Save that.
Now when I re-open the settings, the window turns white, and I cannot escape it.
-
...and then I relaunch SecSpy open settings via menubar vs key command, it opens normally.
I add a user, click save, and it shows "TypeError: Load failed" below the save button. And then on next attempt to open Settings, it's blank/white.
@Ben help please when you can
-
Strange, I can't reproduce this, but it certainly sounds like there is a bug lurking there somewhere. To debug this, please do the following:
- In Safari, under Settings > Advanced, enable the option to "Show features for web developers".
- This activates a "Develop" menu - from this, select "Show JavaScript Console".
- Connect to SecuritySpy's web interface (on the same Mac this would be at http://localhost:8000)
- Log in via an Admin account, go to the Web settings, and reproduce the problem.
- You should now see some output in the JavaScript console - please post it here or email it to us.
In answer to your question about the camera numbers: each camera is assigned a number when you add it, and this number will never change.
-
@photonclock can I just double-check whether you're using any backslash characters or any other unusual characters in the username/password (apart from underscores which are fine)?
-
alpha_numeric_underscore_only in the passwords.
Trying the test you suggested now...
-
🤨 I can't reproduce this via the Safari web UI.
Will report back when I can figure out how to reliably reproduce...
-
Strange that it's different - the Settings widow is basically a web view into the HTML settings pages, just like Safari. We've made some changes in the latest beta version (currently 6.18b4) that makes the web settings more robust, so please install this update and let me know if this problem still exists or not. Thanks.
