Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger Error with object deconstructor #95

Open
aksitchler opened this issue Dec 16, 2024 · 1 comment
Open

Logger Error with object deconstructor #95

aksitchler opened this issue Dec 16, 2024 · 1 comment
Assignees

Comments

@aksitchler
Copy link

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

@hymanjd
Copy link
Collaborator

hymanjd commented Dec 16, 2024

@ehinrichs can you look into this?

ehinrichs added a commit that referenced this issue Dec 17, 2024
bug fix for #95
hymanjd pushed a commit that referenced this issue Dec 17, 2024
bug fix for #95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants