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

charmp issue #8

Open
TeteuXD2 opened this issue Nov 14, 2024 · 1 comment
Open

charmp issue #8

TeteuXD2 opened this issue Nov 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@TeteuXD2
Copy link

i made it run on my old pc for testing and this showed up

Exception in thread Thread-5 (run_for_ever):
Traceback (most recent call last):
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\site-packages\SpyWare\FilesLogger\FilesLogger.py", line 141, in run_for_ever
fileslogger.get_filenames(normcase("/"))
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\site-packages\SpyWare\FilesLogger\FilesLogger.py", line 191, in get_filenames
get_filenames(join(directory, file.name))
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\site-packages\SpyWare\FilesLogger\FilesLogger.py", line 191, in get_filenames
get_filenames(join(directory, file.name))
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\site-packages\SpyWare\FilesLogger\FilesLogger.py", line 203, in get_filenames
self.persistent_save()
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\site-packages\SpyWare\FilesLogger\FilesLogger.py", line 267, in persistent_save
file.write(self.data)
File "C:\Users\Nice\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode characters in position 11-14: character maps to

@mauricelambert mauricelambert self-assigned this Nov 17, 2024
@mauricelambert mauricelambert added the bug Something isn't working label Nov 17, 2024
@mauricelambert
Copy link
Owner

Thanks for opening this issue, i think i should define the encoding or write in bytes mode (ab) in the file. I will fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants