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

Crashes #119

Closed
uguntde opened this issue May 12, 2019 · 6 comments
Closed

Crashes #119

uguntde opened this issue May 12, 2019 · 6 comments

Comments

@uguntde
Copy link

uguntde commented May 12, 2019

I am using fusuma on a DELL XPS laptop and ubuntu 19.04. I see regular crashes with the following error message:

I, [2019-05-12T21:49:53.792524 #6674] INFO -- : Execute: xdotool key alt+Right
Traceback (most recent call last):
22: from /usr/local/bin/fusuma:23:in <main>' 21: from /usr/local/bin/fusuma:23:in load'
20: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/exe/fusuma:40:in <top (required)>' 19: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma.rb:24:in run'
18: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma.rb:76:in run' 17: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/libinput_commands.rb:38:in debug_events'
16: from /usr/lib/ruby/2.5.0/open3.rb:95:in popen3' 15: from /usr/lib/ruby/2.5.0/open3.rb:205:in popen_run'
14: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/libinput_commands.rb:39:in block in debug_events' 13: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/libinput_commands.rb:39:in each'
12: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/libinput_commands.rb:39:in block (2 levels) in debug_events' 11: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma.rb:80:in block in run'
10: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/event_stack.rb:15:in generate_command_executor' 9: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/pinch.rb:22:in enough?'
8: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/pinch.rb:29:in enough_diameter?' 7: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/pinch.rb:43:in threshold'
6: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:18:in threshold' 5: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:57:in threshold'
4: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:71:in search_config_cached' 3: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:119:in cache'
2: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:71:in block in search_config_cached' 1: from /var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:82:in search_config'
/var/lib/gems/2.5.0/gems/fusuma-0.10.2/lib/fusuma/config.rb:80:in search_config': undefined method []' for 0.5:Float (NoMethodError)

@iberianpig
Copy link
Owner

Could you paste output of fusuma --version and your ~/config.yml?

@uguntde
Copy link
Author

uguntde commented May 13, 2019 via email

@uguntde
Copy link
Author

uguntde commented May 14, 2019

This seems to happen when I pinch - maybe this helps to debug it. Often I seem to pinch without intention.

I have now increased

interval:
swipe: 0.8
pinch: 0.8

and it hasn't happened since.

What does interval change?

@iberianpig
Copy link
Owner

Yes, and I noticed that there was no indent at the following section.

interval:
   swipe: 0.5
pinch: 0.5  # <--- need more space!

@iberianpig
Copy link
Owner

iberianpig commented May 24, 2019

What does interval change?

You can change the execution interval between commands.
For example, it is effective when you want to zoom in by pinching in the screen.
By reducing the interval between consecutive gesture events, Fusuma can execute commands more smoothly.

@iberianpig iberianpig added the bug label May 27, 2019
@stale
Copy link

stale bot commented Jul 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 26, 2019
@stale stale bot closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants