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

Update Build and NVDA crashes/errors and have to repeat #2347

Closed
nvaccessAuto opened this issue May 15, 2012 · 13 comments
Closed

Update Build and NVDA crashes/errors and have to repeat #2347

nvaccessAuto opened this issue May 15, 2012 · 13 comments

Comments

@nvaccessAuto
Copy link

Reported by kevinchao89 on 2012-05-15 22:44
Version: main-5191

For a while, since automatic updates was introduced. Regardless of which method I go about updating, whether it be automatic update or running from .exe, and if I am running local or install copy, updating install copy will always fail the first time and work the second time.
Note: Portable copy updates without any issues.

Log is as follows:
Input: kb(laptop):enter
IO - speech.speak (18:37:17):
Speaking ('en'), u'Open File - Security Warning dialog Do you want to run this file?\nName:\n... Chao\Downloads\nvda_snapshot_main-5191.exe\nPublisher:\nNV Access Inc\nType:\nApplication\nFrom:\nC:\Users\Kevin Chao\Downloads\nvda_snapshot_...\nWhat\u2019s the risk?'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (18:37:17):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (18:37:17):
Speaking ('en'), u'NV Access Inc link'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (18:37:17):
Unknown speech command: LangChangeCommand ('en')

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2012-05-15 23:10
When you say fail, what do you mean? Does NVDA start the install and then report that it failed? If so, we need a log from the temporary copy (i.e. just after the error dialog).

@nvaccessAuto
Copy link
Author

Comment 2 by kevinchao89 on 2012-05-15 23:23
Run .exe;
Select Run, accept ULA, select install local copy on computer, and hit continue;
ALT+Y for UAC;
And, here is where I get the following error message:
"The installation of NVDA failed. Please check the Log Viewer for more information."
In my original description, I provided the info from the log viewer

@nvaccessAuto
Copy link
Author

Comment 3 by kevinchao89 on 2012-05-15 23:28
Input: kb(laptop):space
IO - speech.speak (19:26:13):
Speaking ('en'), u'pressed'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:13):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:13):
Speaking ('en'), u'Updating NVDA dialog'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:13):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:13):
Speaking ('en'), u'Please wait while your previous installation of NVDA is being updated. text'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:13):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:13):
Speaking ('en'), u'Secure Desktop'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:13):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:19):
Speaking ('en'), u'Updating NVDA dialog'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:19):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:19):
Speaking ('en'), u'Please wait while your previous installation of NVDA is being updated. text'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:19):
Unknown speech command: LangChangeCommand ('en')
IO - tones.beep (19:26:19):
Beep at pitch 440, for 40 ms, left volume 50, right volume 50
DEBUGWARNING - RPC process 1144 (nvda_slave.exe) (19:26:19):
installer.copyProgramFiles:
Unable to copy C:\Users\KEVINC1\AppData\Local\Temp\nsb101B.tmp\app\nvda_slave.exe, trying rename and delete on reboot
DEBUGWARNING - RPC process 1144 (nvda_slave.exe) (19:26:20):
installer.copyProgramFiles:
Unable to copy C:\Users\KEVINC
1\AppData\Local\Temp\nsb101B.tmp\app\lib\IAccessible2Proxy.dll, trying rename and delete on reboot
IO - tones.beep (19:26:20):
Beep at pitch 440, for 40 ms, left volume 50, right volume 50
ERROR - RPC process 1144 (nvda_slave.exe) (19:26:20):
nvda_slave.main:
slave error
Traceback (most recent call last):
File "nvda_slave.pyw", line 26, in main
File "installer.pyc", line 257, in install
OSError: Error copying C:\Program Files\NVDA\nvda_UIAccess.exe to nvda.exe
IO - tones.beep (19:26:20):
Beep at pitch 1760, for 40 ms, left volume 50, right volume 50
ERROR - gui.installerGui.doInstall (19:26:20):
Installation failed: 1
IO - speech.speak (19:26:20):
Speaking ('en'), u'Downloads'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:20):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:20):
Speaking ('en'), u'Items View list'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:20):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:20):
Speaking ('en'), u'nvda_snapshot_main-5191.exe'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:20):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:20):
Speaking ('en'), u'Error dialog The installation of NVDA failed. Please check the Log Viewer for more information.'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:20):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (19:26:20):
Speaking ('en'), u'OK button'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (19:26:20):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (19:26:25):

@nvaccessAuto
Copy link
Author

Comment 4 by jteh on 2012-05-16 00:11
Strange. I can certainly see how this would have happened before, but ac735c6 was supposed to fix this problem.

@nvaccessAuto
Copy link
Author

Comment 5 by briang1 on 2012-05-16 07:17
Looking at this, it remended me of a friend of mine who never shuts his laptop down, and it got into a very confused state after a few updates and merely shutting it down properly and rebooting made it work properly. I assumed when he told me it was finger trouble, but maybe hibernate or standby does have some issues inWindows 7?
Worth a try.

@nvaccessAuto
Copy link
Author

Comment 6 by jteh on 2012-05-16 23:38
Kevin, are you running a virus scanner? If so, can you please try with this disabled?

@nvaccessAuto
Copy link
Author

Comment 7 by jteh on 2012-05-17 01:35
35d2992 through b2e5919 (merged in d488194) may fix, allow retry or at least help us to debug this. Even if it asks you to retry, please provide a log; we'd still like to know why this is happening. Also, please do answer comment:6.

@nvaccessAuto
Copy link
Author

Comment 8 by jteh on 2012-05-17 01:36
Changes:
Milestone changed from None to 2012.2

@nvaccessAuto
Copy link
Author

Comment 9 by kevinchao89 on 2012-05-18 21:41
Only virus scanner I'm running is Security Essentials (MSE)

It's quite rare that I shutdown or restart my Windows PC, but this time I restarted before doing a check for update.
After selecting checking for update, selecitng download/install, and ALT+Y for UAC; the followign error message was returned:

"The installation is unable to remove or overwrite a file. Another copy of NVDA may be running on another logged-on user account. Please make sure all installed copies of NVDA are shut down and try the installation again."
Note:

  1. This is right after a restart and there are no other copies running (maybe, installer is having an issue with closing out its own process or local/install copy?)
  2. Selecting "retry" worked this time. I will wait for the next couple of snapshots and see what happens. However, for now, I will go ahead and close this bug.

Following is log:

NVDA initialized
IO - speech.speak (17:28:21):
Speaking ('en'), u'Updating NVDA dialog'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:21):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (17:28:21):
Speaking ('en'), u'Please wait while your previous installation of NVDA is being updated. text'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:21):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (17:28:22):
Speaking ('en'), u'Secure Desktop'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:22):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (17:28:24):
Speaking ('en'), u'Updating NVDA dialog'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:24):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (17:28:24):
Speaking ('en'), u'Please wait while your previous installation of NVDA is being updated. text'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:24):
Unknown speech command: LangChangeCommand ('en')
IO - tones.beep (17:28:24):
Beep at pitch 440, for 40 ms, left volume 50, right volume 50
DEBUGWARNING - RPC process 3704 (nvda_slave.exe) (17:28:24):
installer.copyProgramFiles:
Unable to copy C:\Users\KEVINC~1\AppData\Local\Temp\nsbFDB1.tmp\app\nvda_slave.exe, trying rename and delete on reboot
ERROR - RPC process 3704 (nvda_slave.exe) (17:28:24):
nvda_slave.main:
Installation failed, try again
Traceback (most recent call last):
File "nvda_slave.pyw", line 26, in main
File "installer.pyc", line 257, in install
File "installer.pyc", line 118, in copyProgramFiles
RetriableFailier: Failed to rename C:\Program Files\NVDA\nvda_slave.exe after failed remove
ERROR - gui.installerGui.doInstall (17:28:24):
Failed to execute installer
Traceback (most recent call last):
File "gui\installerGui.pyc", line 32, in doInstall
RetriableFailier
IO - tones.beep (17:28:24):
Beep at pitch 1760, for 40 ms, left volume 50, right volume 50
IO - speech.speak (17:28:24):
Speaking ('en'), u'File in Use dialog The installation is unable to remove or overwrite a file. Another copy of NVDA may be running on another logged-on user account. Please make sure all installed copies of NVDA are shut down and try the installation again.'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:24):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (17:28:24):
Speaking ('en'), u'Retry button Alt+r'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (17:28:24):
Unknown speech command: LangChangeCommand ('en')
DEBUGWARNING - RPC process 2184 (nvda_update_nitb22.exe) (17:28:28):
Thread 2092, nvdaHelper\build\x86\remote\ia2Support.cpp, IA2Support_inProcess_terminate, 168:
WaitForMultipleObjects returned 258

Changes:
State: closed

@nvaccessAuto
Copy link
Author

Comment 10 by jteh on 2012-05-20 23:07
I suspect the virus scanner is the problem here. Unfortunately, i don't really know how we can work around it. It looks like when we remove a file, it still stays around for a while. It's also blocking file renames for so-called deleted files.

@nvaccessAuto
Copy link
Author

Comment 11 by elliott94 (in reply to comment 9) on 2012-05-21 06:59
Replying to kevinchao89:

Only virus scanner I'm running is Security Essentials (MSE)

I've seen several people experiencing this issue, all of which seem to be using MSE.

Couldn't you try disabling the software temperarily if this issue reappears?

@nvaccessAuto
Copy link
Author

Comment 12 by mdcurran on 2012-05-21 07:04
Please try snapshot for 320fd5d when its available. I hope it fixes your issue. It seems that removing a file and the copying to that location can fail in certain situations (specially where a virus scanner is involved).
Plan is to have beta3 (hopefully last one) out as soon as we know this is fixed.

@nvaccessAuto
Copy link
Author

Comment 13 by kevinchao89 on 2012-05-22 10:35
Excellent job! I updated to 5194 and there was no error at all, it was very smooth and seamless! Thank you! I think we can call this beta 3!

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

No branches or pull requests

1 participant