pbtk
pbtk copied to clipboard
Can not extract proto file
File "gui.py", line 462, in run for name, contents in self.extractor'func': File "c:\pbkt\pbtk\extractors\jar_extract.py", line 51, in handle_jar with JarWrapper(path) as jar: File "c:\pbkt\pbtk\utils\java_wrapper.py", line 25, in init self.handle_file(fname) File "c:\pbkt\pbtk\utils\java_wrapper.py", line 43, in handle_file self.handle_file(self.name + '/' + cls) File "c:\pbkt\pbtk\utils\java_wrapper.py", line 35, in handle_file jar.extractall(self.name) File "c:\users\user\appdata\local\programs\python\python37\lib\zipfile.py", line 1636, in extractall self._extract_member(zipinfo, path, pwd) File "c:\users\user\appdata\local\programs\python\python37\lib\zipfile.py", line 1690, in _extract_member open(targetpath, "wb") as target: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\user\AppData\Local\Temp\tmprh1yw3mr\prn.class'
C:\Users\legen\REPOS\pbtk-master>gui.py C:\Users\legen\REPOS\pbtk-master\gui.py:31: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead class PBTKGUI(QApplication): C:\Users\legen\REPOS\pbtk-master\gui.py:449: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead class Worker(QThread): Traceback (most recent call last): File "C:\Users\legen\REPOS\pbtk-master\gui.py", line 462, in run for name, contents in self.extractor'func': File "C:\Users\legen\REPOS\pbtk-master\extractors\jar_extract.py", line 51, in handle_jar with JarWrapper(path) as jar: File "C:\Users\legen\REPOS\pbtk-master\utils\java_wrapper.py", line 25, in init self.handle_file(fname) File "C:\Users\legen\REPOS\pbtk-master\utils\java_wrapper.py", line 43, in handle_file self.handle_file(self.name + '/' + cls) File "C:\Users\legen\REPOS\pbtk-master\utils\java_wrapper.py", line 35, in handle_file jar.extractall(self.name) File "C:\Users\legen\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 1633, in extractall self._extract_member(zipinfo, path, pwd) File "C:\Users\legen\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 1687, in _extract_member open(targetpath, "wb") as target: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\legen\AppData\Local\Temp\tmpkrkni0gr\p\prn.class'
Almost identical error here. Is it just not waiting long enough for the temp file to be created?