Page 1 of 1

Error cannot write to log file. Permission denied

Posted: Fri Oct 29, 2021 10:30 pm
by dmdcissp
Hi Tim,

All of a sudden I am getting permission errors for the log file. So I restarted BA as administrator and now I get the following errors in the log file.

C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:114: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:118: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:122: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:128: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:132: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:139: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:143: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:147: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:150: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:154: wxPyDeprecationWarning: Call to deprecated item. Use Append instead.
C:\Program Files (x86)\Bible Analyzer 5\BibleAnalyzer5.exe\textViewer.py:59: wxPyDeprecationWarning: Call to deprecated item. Use SetToolTip instead.

I am running Windows 10.

Thanks,
Dave

Re: Error cannot write to log file. Permission denied

Posted: Sat Oct 30, 2021 5:28 am
by Tim
This is caused by a deprecation notice in the wxPython toolkit Bible Analyzer uses. It tries to wright the log file in the same folder as the Bible Analyzer exe file but this folder is normally protected. This notice will be removed with the next release of Bible Analyzer. In the meanwhile one can either ignore the notice and write error,
or run Bible Analyzer as administrator,
or run Bible Analyzer in portable mode.