Closed MathiasMagnus closed 1 year ago
I tried tracking down the issue, but the pyInstaller compiled stack trace isn't very informative, and my attempts at decompiling them have failed, the decompiler even though it supports Python 3.11 doesn't know an opcode in the decompiled bytecode.
PS C:\Users\mate\amdsmi.exe_extracted> C:\Users\mate\Source\Repos\pycdc\.vscode\build\Release\pycdc.exe .\main.pyc
# Source Generated with Decompyle++
# File: main.pyc (Python 3.11)
Unsupported opcode: POP_JUMP_FORWARD_IF_FALSE
import sys
import re
from exceptions import *
from command import *
from device import *
import settings
def parse_gpu_index(index):
Error decompyling .\main.pyc: invalid vector subscript
If the stack trace were from the original script, I may be able to do more, or if someone tells me how to run the tools before it's packaged as an executable.
We don't support windows afaik. I personally never tested it on windows. And I know other devs don't test it on windows. Out of curiosity - why is it called amdsmi.exe? Are you compiling it yourself? Can be confused with https://github.com/RadeonOpenCompute/amdsmi .
When run on a hu-HU (Hungarian) localized Windows, the command-line tool instacrashes with the following stack trace:
Hex
0x82
in decimal is ASCII 130, which is the letter "á", likely picked up from my name, Máté, but who knows. When changing the display language to en-US it doesn't crash. (It simply fails to return any devices.)