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

error create_dll.py", line 172, in _render_resource_file #1

Open
marklove5102 opened this issue Oct 26, 2024 · 0 comments
Open

error create_dll.py", line 172, in _render_resource_file #1

marklove5102 opened this issue Oct 26, 2024 · 0 comments

Comments

@marklove5102
Copy link

C:\powerclang-windows-x64\lese\py\PyMalDLL-master>python create_dll_cli.py --original-dll C:\Windows\System32\user32.dll --output-folder ./output
[+] Parsing DLL exports.
[+] 1165 exports extracted.
[+] Parsing DLL version info.
[+] Rendering output files.
Traceback (most recent call last):
File "C:\powerclang-windows-x64\lese\py\PyMalDLL-master\create_dll_cli.py", line 52, in
creator.render(
File "C:\Users\freem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\py_mal_dll\create_dll.py", line 65, in render
self._render_resource_file()
File "C:\Users\freem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\py_mal_dll\create_dll.py", line 172, in _render_resource_file
fp.write(template.render(self.version_info))
UnicodeEncodeError: 'gbk' codec can't encode character '\xa9' in position 710: illegal multibyte sequence

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

1 participant