KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Cannot close DNS
Topic Summary: Cannot close DNS with KB
Created On: 09/29/2011 07:13 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Cannot close DNS   - gwatts - 09/29/2011 07:13 AM  
 Cannot close DNS   - Chucker - 09/29/2011 08:49 AM  
 Cannot close DNS   - Lunis Orcutt - 09/29/2011 03:09 PM  
 Cannot close DNS   - Dr. Mel - 09/30/2011 07:57 AM  
 Cannot close DNS   - gwatts - 10/01/2011 05:47 AM  
 Cannot close DNS   - Chucker - 10/01/2011 11:36 AM  
 Cannot close DNS   - edmart - 10/01/2011 12:12 PM  
 Cannot close DNS   - Chucker - 10/01/2011 12:33 PM  
 Cannot close DNS   - Jomark - 10/01/2011 04:46 PM  
 Cannot close DNS   - Lunis Orcutt - 10/01/2011 09:55 PM  
Keyword
 09/29/2011 07:13 AM
User is offline View Users Profile Print this message


gwatts
Junior Member

Posts: 22
Joined: 08/07/2010

M-tech 8650 Clevo P151HM1 notebook W7 64 bit DNS Med 10.1 with KB 2011.

I am not certain that KnowBrainer is the cause, but I am not able to close DNS when KB is open and it never happened before KB.  I have to power off in order to close Dragon. Any suggestions?

See error attachment.

Thank you.

 

Garrison Watts



error 3.odt
error 3.odt  (15 KB)



-------------------------

Garrison Watts


 


M_Tech 8650


 


 

 09/29/2011 08:49 AM
User is offline View Users Profile Print this message

Author Icon
Chucker
Top-Tier Member

Posts: 9674
Joined: 10/10/2006

Garrison,

As long as you have an application that is actively engaging (linked or hooked to), you will not be able to shut down Dragon NaturallySpeaking.

I'll let Lunis go into more detail, but basically close KnowBrainer first, then you will be able to close down Dragon NaturallySpeaking. You can always, and you should, save your user profile if you can't completely shut down Dragon under any circumstance. Nevertheless, I believe that if you load Dragon via loading KnowBrainer, then shutting down KnowBrainer also shuts down Dragon. I just don't have KnowBrainer installed on this system and, because I use VoicePower which has the same problem but which has a startup/shutdown utility that automatically closes Dragon and saves your user profile, I always launch KnowBrainer separately, so I can't recall exactly what KB 2011 does and doesn't do if you launch Dragon via KnowBrainer.

In addition, if you're going to post an attachment in this forum, be aware of the fact that it has to be in a format that can be opened by other users. I don't recognize the format that you're using (i.e., the extension), but is inaccessible to anyone wishing to view it. Lunis may be able to clarify which file formats are supported, but if you're trying to attach a screen capture, be sure to save it as a JPEG (jpg) or PNG. Since we can't see your error (i.e., can't open up your error file attachment), there may be another issue here. However, the above is the most common reason.

Chuck Runquist
Technical Project Manager
VoiceTeach LLC
Home of VoicePower®: Simply powerful, powerfully simple

If you hear the sound of hoofbeats, think horses not zebras.
variation on Occam's Razor (Law of Parsimony)



-------------------------

 09/29/2011 03:09 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22643
Joined: 10/01/2006

KnowBrainer shouldn't prevent NaturallySpeaking from closing but if NaturallySpeaking is exited before closing KnowBrainer it will cause a harmless error. The most efficient solution is to say Close KnowBrainer which will exit KnowBrainer, close NaturallySpeaking and save your user files; all-in-one shot. If you don't wish to save your user files say Close KnowBrainer Without Saving.

-------------------------


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012 


 


 


 

 09/30/2011 07:57 AM
User is offline View Users Profile Print this message


Dr. Mel
Junior Member

Posts: 15
Joined: 08/27/2011

I have been experiencing an inconsistent problem somewhat along the same lines, when I give a voice command to close KnowBrainer with DNS 10.1 Medical running. About half the time the shutdown process will go smoothly and both programs will shut down smoothly. I will hear the computer voice telling me what is going on.  The other half of the time, KB shuts down and I then have to give an additional voice command to shut down DNS.  Is this also because DNS is still running some process?

-------------------------

DNS Medical 11, MTECH M8700 16GB RAM Intel Mobil Core i7-2820QM, 2.3 GHZ

 10/01/2011 05:47 AM
User is offline View Users Profile Print this message


gwatts
Junior Member

Posts: 22
Joined: 08/07/2010

I appreciate all the answers, and I add the original error in jpg. 

Sorry you must squint to see it.

Thank you all.

 

GW

DNSerror.jpg
DNSerror.jpg  (15 KB)



-------------------------

Garrison Watts


 


M_Tech 8650


 


 

 10/01/2011 11:36 AM
User is offline View Users Profile Print this message

Author Icon
Chucker
Top-Tier Member

Posts: 9674
Joined: 10/10/2006

Garrison,

Your problem is actually very simple.

Whenever you save your user profile(s), or if you automatically save your user profile(s) when closing Dragon NaturallySpeaking, Dragon makes a copy of your current user profile (i.e., not your active profile – the one that you're using – but the profile that you saved the last time that you closed Dragon NaturallySpeaking). It does this so that it can use that profile to merge you're currently active user profile, and then saves the merged previous and active user profile (the one with the any changes, corrections, or modifications made during the current session). It does this primarily to protect your user profile from corruption during the save process. In addition, if you have accepted the default settings, it also backs up your user profile every fifth save. Once this process is complete, all the files in the temporary backup folder are cleared (deleted). The temporary backup folder is located as follows:

C:\ProgramData\Nuance\NaturallySpeaking11\Users\<your user name>\tb

Notice that the temporary backup folder is "\tb".

However, there are occasions where this folder is not cleared. This occasionally occurs during those saves in which DNS is also backing up your user profile. Why this occurs is not exactly clear, but it probably has to do with Dragon closing before the folder is cleared, which leaves the data that was stored in that folder temporarily intact.

When DNS uses the \tb folder to store your user profile and merge it with your active user profile, these files are all protected. That is, if the folder is not cleared, when Dragon attempts to access this folder the next time that you try to save your user profile, it finds that the first file that it tries to save already exists. Under this condition Dragon will stop the save process and notify you with the message that you are given in the attachment that you posted. What that message says is basically the following:



If you read the warn the error message completely, you notice two things: (a) The last line in the error message states "Error Details: The file exists.", and (b) it tells you that the file in question (aco.ini) from your current user profile cannot be copied to the from the original user profile (current folder) to the \tb folder. Read the above carefully and you'll see exactly what I mean.

When this occurs, Dragon will not save your user profile because this is basically a safety procedure to protect your user profile from being inadvertently or incorrectly merged and/or backed up and then saved.

There are two ways of handling this:

1.  The first and the easiest is to simply re-save your user profile. This will clear the , usually, the tb folder and the second time that you attempt to save your user profile disabled go through and complete properly.

2.  On occasion, the folder cannot or does not get cleared when you make a second attempt to save your user profile. In this case, simply go to the location specified above and delete the "\tb" folder, or delete the files contained within it. It doesn't matter if you delete the entire folder because Dragon NaturallySpeaking will re-created the next time that you save your user profile(s). Nevertheless, you can do it either way.

Then go back and re-save your user profile. It will correctly save such.

This problem occurs in both DNS 10-10.1 and DNS 11-11.5. However, note a couple of things:

1.  The above error message was taken from Windows XP and DNS 10.1 Medical. The version of Dragon doesn't matter, but the path does because the path to this folder in Windows XP is different from the path of this folder in Windows Vista/Windows 7. So, if you compare the above screen capture to yours that you attached, you'll notice that the paths are different. That doesn't make any difference because the problem is the same, it's just the location of the folder that differs between Windows XP and Windows Vista/Windows 7. I gave you the right path for Windows Vista/Windows 7 at the top of this post.

2.  When this error occurs, always try re-saving your user profile first before you do anything else. If you simply assume that your user profile cannot be saved and you close Dragon without saving such, then you lose one ever changes, corrections or modifications that you made during that dictation session. While your corrections are always stored so that they will be added (adapted) to your user profile when you run the Acoustic and Language Model Optimizer, any words that you added to the vocabulary you can simply kiss goodbye and you will have to re-add them. Unfortunately, there's no way to recover from that. Also, the next time that you load Dragon NaturallySpeaking, unless you run the Acoustic and Language Model Optimizer, any changes, modifications, or corrections that you did in the previous dictation session will not be in your loaded user profile. Therefore, you'll be back to square one with a user profile that was current prior to your previous dictation session. So, follow the procedures above whenever this particular problem comes up.

Chuck Runquist
Technical Project Manager
VoiceTeach LLC
Home of VoicePower®: Simply powerful, powerfully simple

Education is when you read the fine print. Experience is what you get if you don't. - Pete Seeger



-------------------------

 10/01/2011 12:12 PM
User is offline View Users Profile Print this message

Author Icon
edmart
Top-Tier Member

Posts: 454
Joined: 10/07/2006

Chuck,

Whilst I happen always to do what you recommend in your post (and have never had the problem the second time around), that is a masterful explanation, for which many thanks.

I have only ever had it in XP, never in Windows 7.

Ed 



-------------------------

DNS 12 Pro, Windows 7 Professional, SP1, i7-2700K 3.50 Ghz Sandybridge, 16Gb DDR3 PC3-160000C9 2000Mhz dual channel RAM, SpeechMike 5276 and Samson Airline 77

 10/01/2011 12:33 PM
User is offline View Users Profile Print this message

Author Icon
Chucker
Top-Tier Member

Posts: 9674
Joined: 10/10/2006

Ed,

Actually, the problem is been around since DNS 9-9.5. So, I just pulled up my technotes and pasted them, obviously inserting the screen capture.

Regardless, you're most welcome.

Chuck Runquist
Technical Project Manager
VoiceTeach LLC
Home of VoicePower®: Simply powerful, powerfully simple

"Kindness is the language which the deaf can hear and the blind can see." -- Mark Twain



-------------------------

 10/01/2011 04:46 PM
User is offline View Users Profile Print this message


Jomark
Top-Tier Member

Posts: 1302
Joined: 10/19/2006

I had this problem intermittently recently and tried a repair etc.

This helped for a while but it happened again and on looking at my user folders I found that the /tb folder was full of files. Remembering from the dim and distant past that this folder should be empty, I deleted it and so far have not had the problem again



-------------------------
Jomark
 10/01/2011 09:55 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22643
Joined: 10/01/2006

Normally when you receive this error, all you have to do is attempt to save your user files again. If all goes right, NaturallySpeaking should reattempt flushing (as Chuck elegantly outlined in an earlier portion of this thread) the tb folder which normally works. We have seen some instances where Windows will prevent a folder flush and in this situation, your only choice is to reboot because you won't be able to manually delete the contents of the folder either. Everything should work after a reboot but as a last resort, it never hurts to manually delete the contents of the tb folder because this is exactly what NaturallySpeaking is supposed to do each time you save your user files.

-------------------------


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012 


 


 


 

KnowBrainer Speech Recognition » KnowBrainer Software and Support » Cannot close DNS

Statistics
27373 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 2028 on 04/05/2013 at 07:36 PM.
There are currently 153 guests browsing this forum, which makes a total of 153 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.