Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

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

Description

@marklove5102

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions