Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

NVDA and coppying your user settings to your user settings directory #2485

Closed
nvaccessAuto opened this issue Jun 23, 2012 · 11 comments
Closed
Labels
Milestone

Comments

@nvaccessAuto
Copy link

Reported by Brendon22 on 2012-06-23 23:21
Hi, When I try and use The Use currently saved settings on the logon and other secure screens (requires administrator privileges) Setting after pressing enter on the yes button and the message: Warning: Custom plugins were detected in your user settings directory. Copying
these to the system profile could be a security risk. Do you still wish to
copy your settings? Windows will tell me that NVDA is not responding? And I get no speech? and I think that there should be beeping to tell the user that something is going on. Because there isn’t any. Using Windows 7 Home 64-Bit. Thank you very much for all of your nice work!

@nvaccessAuto
Copy link
Author

Comment 1 by briang1 on 2012-06-24 11:22
So do you get the prompt to allow you to carry on? Does the copy work or are you mearely mentioning the apparent unresponsiveness of nvda while its performing the task?

If it fails, then which synth are you using, and which voice if not espeak.

@nvaccessAuto
Copy link
Author

Comment 2 by Brendon22 on 2012-06-25 03:40
Hi, yes I get the prompt to go on. But then the whole computer will not work until it finishes. It does finish but while it's doing it windows will come up and say that NVDA is not responding. Hmmm I'm using the new voices. But I have seen this happen with E-Speak. Running Win 7 64-Bit. And there isn't any beeping to tell the user what is going on also.

@nvaccessAuto
Copy link
Author

Comment 3 by briang1 on 2012-06-25 09:37
OK so stuffing lots of add ons, including ocr into the current snap and then doing the copy seems to result in a long delay also. Indeed, from the log you can see that this appears to be a problem that triggers the nvda watchdog. Maybe its the same issue that can make updating longer than expected.
IO - speech.speak (10:21:21):
Speaking currently saved settings on the logon and other secure screens (requires administrator privileges) button'
IO - inputCore.InputManager.executeGesture (10:21:26):
Input: kb(desktop):space
IO - speech.speakSpellingGen (10:21:26):
Speaking character u'space'
DEBUG - queueHandler.registerGeneratorObject (10:21:26):
Adding generator 4
IO - speech.speak (10:21:26):
Speaking [- queueHandler.pumpAll (10:21:27):
generator 4 finished
IO - speech.speak (10:21:27):
Speaking [u'Warning dialog Custom plugins were detected in your user settings directory. Copying these to the system profile could be a security risk. Do you still wish to copy your settings?'](u'pressed']
DEBUG)
IO - speech.speak (10:21:27):
Speaking button Alt+y'
IO - inputCore.InputManager.executeGesture (10:21:37):
Input: kb(desktop):space
IO - speech.speakSpellingGen (10:21:37):
Speaking character u'space'
DEBUG - queueHandler.registerGeneratorObject (10:21:37):
Adding generator 5
IO - speech.speak (10:21:37):
Speaking [- queueHandler.pumpAll (10:21:37):
generator 5 finished
DEBUGWARNING - watchdog.watcher (10:21:38):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 155, in
File "core.pyc", line 339, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "gui\settingsDialogs.pyc", line 201, in onCopySettings
File "config__init
.pyc", line 364, in setSystemConfigToCurrentConfig
File "config__init
_.pyc", line 374, in _setSystemConfig
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 190, in copytree
File "shutil.pyc", line 128, in copy2
File "shutil.pyc", line 84, in copyfile
File "shutil.pyc", line 49, in copyfileobj

WARNING - watchdog.watcher (10:21:53):
Core frozen in stack:
File "nvda.pyw", line 155, in
File "core.pyc", line 339, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "gui\settingsDialogs.pyc", line 201, in onCopySettings
File "config__init
_.pyc", line 364, in setSystemConfigToCurrentConfig
File "config__init__.pyc", line 374, in _setSystemConfig
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 190, in copytree
File "shutil.pyc", line 128, in copy2
File "shutil.pyc", line 84, in copyfile
File "shutil.pyc", line 49, in copyfileobj

WARNING - watchdog.watcher (10:22:08):
Core frozen in stack:
File "nvda.pyw", line 155, in
File "core.pyc", line 339, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "gui\settingsDialogs.pyc", line 201, in onCopySettings
File "config__init
_.pyc", line 364, in setSystemConfigToCurrentConfig
File "config__init__.pyc", line 374, in _setSystemConfig
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 190, in copytree
File "shutil.pyc", line 128, in copy2
File "shutil.pyc", line 84, in copyfile

WARNING - watchdog.watcher (10:22:23):
Core frozen in stack:
File "nvda.pyw", line 155, in
File "core.pyc", line 339, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "gui\settingsDialogs.pyc", line 201, in onCopySettings
File "config__init
_.pyc", line 364, in setSystemConfigToCurrentConfig
File "config__init__.pyc", line 374, in _setSystemConfig
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 190, in copytree
File "shutil.pyc", line 128, in copy2
File "shutil.pyc", line 84, in copyfile
File "shutil.pyc", line 49, in copyfileobj

WARNING - watchdog.watcher (10:22:38):
Core frozen in stack:
File "nvda.pyw", line 155, in
File "core.pyc", line 339, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "gui\settingsDialogs.pyc", line 201, in onCopySettings
File "config__init
_.pyc", line 364, in setSystemConfigToCurrentConfig
File "config__init__.pyc", line 374, in _setSystemConfig
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 187, in copytree
File "shutil.pyc", line 190, in copytree
File "shutil.pyc", line 128, in copy2
File "shutil.pyc", line 84, in copyfile
File "shutil.pyc", line 52, in copyfileobj

IO - tones.beep (10:22:46):
Beep at pitch 1760, for 40 ms, left volume 50, right volume 50
IO - speech.speak (10:22:46):
Speaking [u'Success dialog Successfully copied NVDA user settings'](u'pressed']
DEBUG)
IO - speech.speak (10:22:46):
Speaking button'
IO - inputCore.InputManager.executeGesture (10:22:51):
Input: kb(desktop):space
IO - speech._speakSpellingGen (10:22:51):
Speaking character u'space'
DEBUG - queueHandler.registerGeneratorObject (10:22:51):
Adding generator 6
IO - speech.speak (10:22:51):
Speaking [- queueHandler.pumpAll (10:22:51):
generator 6 finished
IO - speech.speak (10:22:51):
Speaking [u'General Settings dialog'](u'pressed']
DEBUG)

@nvaccessAuto
Copy link
Author

Comment 4 by Brendon22 on 2012-06-26 08:48
Hello, Today, I tryed to make a Portable coppy on the same USB Drive that I've done every other Portable coppy onto. And today I got an errar: Failed to create portable copy: error 112 copying ?\C:\Users\Brendon Donohue\AppData\Roaming\nvda\addons\vocalizer-voice-karen\ena
speech\components\synth_karen_full_vssq5_f22.dat. Done with NVDA Version 2012.2.1. On Windows 7 64-Bit.

@nvaccessAuto
Copy link
Author

Comment 5 by Brendon22 on 2012-06-26 08:58
Hello, Today, I tryed to make a Portable coppy on the same USB Drive that
I've done every other Portable coppy onto. And today I got an errar:
Failed to create portable copy: error 112 copying ?\C:\Users\Brendon
Donohue\AppData\Roaming\nvda\addons\vocalizer-voice-karen\ena
speech\components\synth_karen_full_vssq5_f22.dat. Done with NVDA Version
2012.2.1. On Windows 7 64-Bit.

@nvaccessAuto
Copy link
Author

Comment 6 by briang1 on 2012-06-26 16:51
I think this is a different issue. the issue here is the silence when you copy the normal settings to the protected screens settings. It takes a longer time as more add ons are there I suspect. Your issue looks like yet another of the problems I've seen with that new driver and nvda. Not sure if there is a ticket for it yet.

@nvaccessAuto
Copy link
Author

Comment 7 by mdcurran on 2012-07-02 01:24
As explained on nvda-dev, error 112 means you have run out of disc space.
In regards to the original issue: Are you saying that you never see the progress dialog with the message "please wait while settings are copied to the system configuration"? this progress dialog should also continuously beep at the same pitch. It is possible that it does not have the focus. Can you find it if you alt+tab around a bit?

@nvaccessAuto
Copy link
Author

Comment 8 by briang1 on 2012-07-02 07:04
Actually, in xp on several machines, I've never heard it beep more than once even if the time taken to copy is more than 15 seconds or so. Suspect the watchdog activity is responsible.

@nvaccessAuto
Copy link
Author

Comment 9 by mdcurran on 2012-07-04 06:03
If trying to copy when you're already an administrator (running as administrator on Vista/7 or being in the administrators group on XP), NVDA would definitely freeze while it copies. My mistake I never tried this.
f684648 should handle this a lot better. There should no longer be a freeze and you should hear the beeps correctly. Also it will ask the user to retry or cancel if there is an error copying.
Please test this and close if it now works for you.
Changes:
Milestone changed from None to 2012.3

@nvaccessAuto
Copy link
Author

Comment 10 by Brendon22 on 2012-07-10 00:05
Hi, Yes it now doesn't freeze. But it takes way! way! way! To long for your settings to coppy over. It took around about four minutes for my settings to be coppyed over. And after saving my settings Nun of the new voices come up at the log-on screen. I only get E-Speak?

@nvaccessAuto
Copy link
Author

Comment 11 by jteh on 2012-07-10 01:18
Original issue is fixed. Vocalizer not working on secure screens is covered by #2509. Time to copy is simply because Vocalizer makes your config very large.
Changes:
State: closed

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

No branches or pull requests

1 participant