Page 1 of 1

Bad File Descriptor in Windows 11

Posted: Fri Sep 02, 2022 1:26 am
by borndagain
I installed v5.5 on my new Windows 11 laptop successfully, but after a few days I can no longer access the program. I uninstalled and reinstalled several times. I've run the Windows troubleshooter, run program as administer, and changed all permissions to "allow". Here is the log:

raceback (most recent call last):
File "analyzer5.py", line 8689, in OnInit
File "analyzer5.py", line 8693, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 968, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8689, in OnInit
File "analyzer5.py", line 8693, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 968, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...
Traceback (most recent call last):
File "analyzer5.py", line 8714, in OnInit
File "analyzer5.py", line 8718, in ShowMain
File "analyzer5.py", line 126, in __init__
File "analyzer5.py", line 970, in LoadModules
File "sessionMan.pyc", line 261, in GetResources
File "shutil.pyc", line 283, in copyfile
OSError: [Errno 9] Bad file descriptor
OnInit returned false, exiting...

Re: Bad File Descriptor in Windows 11

Posted: Fri Sep 02, 2022 5:26 am
by Tim
This error occurs when Bible Analyzer is trying to backup your default.nts file to your Documents/Bible Analyzer User Modules folder.

This could be caused by a couple things. Go to your Documents/Bible Analyzer User Modules folder and delete (or move) the default.nts file if it is there and see if Bible Analyzer will start. That file is just a copy.

Let me know what happens.