[nvda-addons] Re: Question: Possible issue on this add-on or in add-on manager
- From: James Scholes <james@xxxxxxxxxxxxx>
- To: nvda-addons@xxxxxxxxxxxxx
- Date: Sun, 17 Apr 2016 00:17:14 +0100
Noelia wrote:
I don't know when it happens and I can't see nothing in the log.
This is why you can't see anything in the log:
try:
shutil.copy(os.path.join(globalVars.appArgs.configPath,
"reportPasswords.ini"), os.path.join(os.path.dirname(__file__),
"globalPlugins"))
except:
pass
You're silencing any exceptions that do occur. So if the copy operation
is failing due to previously-opened file handles that weren't disposed
of properly for example, you'll never see that error.
--
James Scholes
http://twitter.com/JamesScholes
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting
bugs.
Community addons are available from:
http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe:
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx
Other related posts: