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

001-sureflap.15s.rb: #2043

Open
kilkern opened this issue Jun 10, 2024 · 1 comment
Open

001-sureflap.15s.rb: #2043

kilkern opened this issue Jun 10, 2024 · 1 comment

Comments

@kilkern
Copy link

kilkern commented Jun 10, 2024

fao @henrik -
The sureflap app in Xbar appear to have stopped working.
Error message:

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse': 767: unexpected token at '' (JSON::ParserError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:130:in `block in get'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:80:in `handle_network_errors'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:121:in `get'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:176:in `block (2 levels) in <main>'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:171:in `map'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:171:in `block in <main>'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:156:in `with_fresh_token'
	from /Users/rune/Library/Application Support/xbar/plugins/001-sureflap.15s.rb:166:in `<main>'

I have tested with Ruby 3.3.1, and that give the same/similar error.

Hope you have the time to assist.

@henrik
Copy link
Contributor

henrik commented Oct 13, 2024

Not sure off the top of my head, other than it looks like it expects JSON but gets an empty string.

I'm afraid I'm not using the SureFlap anymore (got the OnlyCat) so I don't plan on maintaining this plugin. Sorry about that!

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

2 participants