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

Cursor control application error: FileNotFoundError: [Errno 2] No such file or directory: 'hand_pose.json' #21

Open
ztbupt opened this issue Jan 27, 2024 · 0 comments

Comments

@ztbupt
Copy link

ztbupt commented Jan 27, 2024

The first(Hand Pose demo) and second(Hand gesture recoginition) demo work good, but the third(Cursor control application) demo meet below issues:

Traceback (most recent call last):
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_9901/750183242.py", line 1, in
with open('hand_pose.json', 'r') as f:
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 284, in _modified_open
return io_open(file, *args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'hand_pose.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 2105, in showtraceback
stb = self.InteractiveTB.structured_traceback(
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1396, in structured_traceback
return FormattedTB.structured_traceback(
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1287, in structured_traceback
return VerboseTB.structured_traceback(
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1140, in structured_traceback
formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1030, in format_exception_as_a_whole
self.get_records(etb, number_of_lines_of_context, tb_offset) if etb else []
File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1082, in get_records
style = stack_data.style_with_executing_node(style, self._tb_highlight)
File "/home/em3/.local/lib/python3.8/site-packages/stack_data/core.py", line 455, in style_with_executing_node
class NewStyle(style):
File "/usr/lib/python3/dist-packages/pygments/style.py", line 91, in new
ndef[4] = colorformat(styledef[3:])
File "/usr/lib/python3/dist-packages/pygments/style.py", line 58, in colorformat
assert False, "wrong color format %r" % text
AssertionError: wrong color format 'ansiyellow'

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