Error when trying to run dumper.py
13Stewartc opened this issue · comments
Traceback (most recent call last):
File "d:\Stews-Stuff\13Stewartc(A) Tools\Frostbite Scripts\frostbite3\dumper.py", line 7, in
import payload
File "d:\Stews-Stuff\13Stewartc(A) Tools\Frostbite Scripts\frostbite3\payload.py", line 8, in
liblz4 = ctypes.cdll.LoadLibrary(r"..\thirdparty\liblz4")
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\ctypes_init_.py", line 452, in LoadLibrary
return self.dlltype(name)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\ctypes_init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\thirdparty\liblz4' (or one of its dependencies). Try using the full path with constructor syntax.
Same error happens if the frostbite scripts folder is anywhere on my system. Adding thirdparty to C:\Users\ removes this error but generates a new one. (still fails). I have Python 3.9 Windows Store edition as well as the standard edition installed.
Your working directory is set to C:\Users\%username%
while it should be the dir where dumper.py is. If you're running the script using IDLE editor or with a double-click in Explorer, this shouldn't happen.
Using Visual Studio Code to run the script. Appreciate your suggestion, set the workspace to the correct location, but it keeps throwing a different error now :/ Too many errors, not worth my time. Appreciate your help.