Traceback (most recent call last):


 "./qiling_test.py", line 38, in <module>

ql.run()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/core.py", line 198, in run

self.os.run()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/os/linux/linux.py", line 128, in run

raise self.ql.internal_exception


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/utils.py", line 19, in wrapper

return func(*args, **kw)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/core_hooks.py", line 135, in _hook_insn_cb

ret = h.call(ql, *args[ : -1])


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/core_hooks.py", line 36, in call

return self.callback(ql, *args)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/os/linux/linux.py", line 65, in hook_syscall

return self.load_syscall(intno)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/os/posix/posix.py", line 167, in load_syscall

self.syscall_map(self.ql, self.get_func_arg()[0], self.get_func_arg()[1], self.get_func_arg()[2], self.get_func_arg()[3], self.get_func_arg()[4], self.get_func_arg()[5])


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/qiling/os/posix/syscall/types.py", line 15, in ql_syscall_gettid

th = ql.os.thread_management.cur_thread
AttributeError: 'NoneType' object has no attribute 'cur_thread'

Traceback (most recent call last):


 "/Users/vincent/.pyenv/versions/3.6.3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap

self.run()


 "/Users/vincent/.pyenv/versions/3.6.3/lib/python3.6/multiprocessing/process.py", line 93, in run

self._target(*self._args, **self._kwargs)


 "/Users/vincent/.pyenv/versions/a2c_3.6.3/lib/python3.6/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 38, in _worker

observation = env.reset()


 "/Users/vincent/.pyenv/versions/a2c_3.6.3/lib/python3.6/site-packages/gym/core.py", line 264, in reset

observation = self.env.reset(**kwargs)


 "/Users/vincent/.pyenv/versions/a2c_3.6.3/lib/python3.6/site-packages/gym/core.py", line 277, in reset

return self.env.reset(**kwargs)


 "/Users/vincent/.pyenv/versions/a2c_3.6.3/lib/python3.6/site-packages/gym/core.py", line 265, in reset

return self.observation(observation)


 "/Users/vincent/.pyenv/versions/a2c_3.6.3/lib/python3.6/site-packages/stable_baselines3/common/atari_wrappers.py", line 202, in observation

frame = cv2.cvtColor(frame, cv2.COLOR_RGB2GRAY)
AttributeError: 'NoneType' object has no attribute 'cvtColor'
