Patching cancelled...
Patching cancelled... when try to apply
Install properly as a user-plugin. Dont mix with other keystone stuff
@Kein What does that mean? i just installed it as given by the instructions. no other user-plugins installed.
eg import urllib.request as r; exec(r.urlopen('https://github.com/gaasedelen/patching/raw/main/install.py').read())
The issue is that from patching.util.qt import QT_AVAILABLE
returns False and thus self.view is not populated and cant be opened
c:\Users\%USER%\AppData\Roaming\Hex-Rays\IDA Pro\plugins\
Yes, i know where the plugins folder is. There is nothing in it besides the patching plugin.
I managed to fix it by installing PyQt5 via pip and moving the file
D:\Program Files\Python311\Lib\site-packages\PyQt5\sip.cp311-win_amd64.pyd to
E:\Programs\IDA Pro 7.6\python\3\PyQt5\sip.pyd
Then i commented out line 32 (self.setWindowFlags) in patching\ui\save_ui.py
To fix IDA crashing when clicking on "Assemble...", i commented out line 42
(self._line_assembly.setFocus) in patching\ui\preview_ui.py
IDA Pro 7.6, Python 3.11, PyQt5==5.15.9
I managed to fix it by installing PyQt5 via pip and moving the file
D:\Program Files\Python311\Lib\site-packages\PyQt5\sip.cp311-win_amd64.pydtoE:\Programs\IDA Pro 7.6\python\3\PyQt5\sip.pyd
This fixed both the "Assemble" crashing and "Patching cancelled" issue for me. Thank you.
I managed to fix it by installing PyQt5 via pip and moving the file
D:\Program Files\Python311\Lib\site-packages\PyQt5\sip.cp311-win_amd64.pydtoE:\Programs\IDA Pro 7.6\python\3\PyQt5\sip.pydThen i commented out line 32 (
self.setWindowFlags) inpatching\ui\save_ui.pyTo fix an IDA crashing when clicking on "Assemble...", i commented out line 42 (
self._line_assembly.setFocus) inpatching\ui\preview_ui.pyIDA Pro 7.6, Python 3.11, PyQt5==5.15.9
thanks,I don't know how you came up with the solution, but it did solve my problem
I managed to fix it by installing PyQt5 via pip and moving the file
D:\Program Files\Python311\Lib\site-packages\PyQt5\sip.cp311-win_amd64.pydtoE:\Programs\IDA Pro 7.6\python\3\PyQt5\sip.pydThen i commented out line 32 (
self.setWindowFlags) inpatching\ui\save_ui.pyTo fix an IDA crashing when clicking on "Assemble...", i commented out line 42 (
self._line_assembly.setFocus) inpatching\ui\preview_ui.pyIDA Pro 7.6, Python 3.11, PyQt5==5.15.9
thanks+1