Quote:
Originally Posted by jejellyroll
hello Airkeukeu
you're talking about Phil Roberts' version...I doubt it works ... the last update was in 2018
use my version
Could you help? I tried to run your version and i get the following error.
Traceback (most recent call last):
File "Configuration.py", line 279, in set_logfile
logging.config.fileConfig(conf_file, {"logFile":log_file})
File "logging\config.py", line 71, in fileConfig
File "logging\config.py", line 104, in _create_formatters
File "configparser.py", line 978, in __getitem__
KeyError: 'formatters'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "fpdb.pyw", line 78, in <module>
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "GuiSessionViewer.py", line 64, in <module>
import GuiHandViewer
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "GuiHandViewer.py", line 28, in <module>
import Hand
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "Hand.py", line 42, in <module>
Configuration.set_logfile("fpdb-log.txt")
File "Configuration.py", line 281, in set_logfile
sys.stderr.write(f"Could not setup log file {file_name}")
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'write'