When I try to run a python script I get Illegal instruction
and that's it, it doesn't give any more details so I have no idea what's going on, is there a way to find out what is causing the Illegal instruction
error?
Also, I run the code using sudo
I don't get any output, the program just exits.
UPDATE:
The script I'm running is the simple-agent
script from bluez:
https://github.com/pauloborges/bluez/blob/master/test/simple-agent
Also, I ran line by line like @buratino said and I got the error in the second line:
from gi.repository import GObject