Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing idc causes RuntimeError #2

Open
cessna85 opened this issue Mar 15, 2023 · 0 comments
Open

Importing idc causes RuntimeError #2

cessna85 opened this issue Mar 15, 2023 · 0 comments

Comments

@cessna85
Copy link

ERROR:jfx_bridge.bridge:Unexpected exception for {'v': 5, 'ID': '6bad126e-0d0a-43e2-9f94-942bd80fe916', 'type': 'cmd', 'cmd': {'cmd': 'import', 'args': {'name': 'idc'}}, 'respond': True}: Function can be called from the main thread only
Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/jfx_bridge/bridge.py", line 380, in run
result = self.bridge_conn.handle_command(
File "/home/user/.local/lib/python3.10/site-packages/jfx_bridge/bridge.py", line 1547, in handle_command
response_dict[RESULT] = self.serialize_to_dict(result)
File "/home/user/.local/lib/python3.10/site-packages/jfx_bridge/bridge.py", line 855, in serialize_to_dict
VALUE: self.create_handle(data).to_dict(),
File "/home/user/.local/lib/python3.10/site-packages/jfx_bridge/bridge.py", line 721, in create_handle
bridge_handle = BridgeHandle(obj)
File "/home/user/.local/lib/python3.10/site-packages/jfx_bridge/bridge.py", line 570, in init
self.attrs = dir(local_obj)
File "/home/user/idault-8.2/python/3/ida_ida.py", line 4568, in getattribute
d[name] = pdict[name]0
File "/home/user/idault-8.2/python/3/idc.py", line 122, in
"MAXADDR" : (lambda: ida_ida.inf_get_privrange_start_ea(), None),
File "/home/user/idault-8.2/python/3/ida_ida.py", line 3639, in inf_get_privrange_start_ea
return _ida_ida.inf_get_privrange_start_ea(*args)
RuntimeError: Function can be called from the main thread only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant