Skip to content

Logger Error with object deconstructor #95

@aksitchler

Description

@aksitchler

I'm getting this error when a DFN object goes out of scope

Exception ignored in: <function DFNWORKS.del at 0x168b56160>
Traceback (most recent call last):
File "/Users/alexissitchler/Library/Python/3.9/lib/python/site-packages/pydfnworks/general/dfnworks.py", line 232, in del
File "/Users/alexissitchler/Library/Python/3.9/lib/python/site-packages/pydfnworks/general/logging.py", line 54, in print_log
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 2097, in info
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 1446, in info
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 1589, in _log
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 1599, in handle
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 1661, in callHandlers
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 952, in handle
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 1186, in emit
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/logging/init.py", line 1175, in _open
LookupError: unknown encoding: ascii

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions