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

solution for Terrapin::CommandNotFoundError (Terrapin::CommandNotFoundError) #50

Open
demlak opened this issue Oct 26, 2022 · 2 comments

Comments

@demlak
Copy link

demlak commented Oct 26, 2022

the name of tool UEFIExtract needs to be case-sensitive!

i was using arch linux with uefitool.. but i always run into this error:

.../VBiosFinder/vendor/bundle/ruby/3.0.0/gems/terrapin-0.6.0/lib/terrapin/command_line.rb:82:in `run': Terrapin::CommandNotFoundError (Terrapin::CommandNotFoundError)
	from /home/demlak/lala/VBiosFinder/src/extract-uefi.rb:20:in `uefi'
	from /home/demlak/lala/VBiosFinder/src/extraction.rb:8:in `call'
	from /home/demlak/lala/VBiosFinder/src/extraction.rb:8:in `attempt'
	from /home/demlak/lala/VBiosFinder/src/methods.rb:46:in `block in run'
	from /home/demlak/lala/VBiosFinder/src/methods.rb:44:in `each'
	from /home/demlak/lala/VBiosFinder/src/methods.rb:44:in `run'
	from /home/demlak/lala/VBiosFinder/src/cli.rb:36:in `extract'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	from _init.rb:7:in `<main>'

solution: copy /usr/bin/uefiextract to folder 3rdparty and rename it to UEFIExtract

and yes.. /usr/bin is in path
and no, it's not working by just copy into 3rdparty, you HAVE TO rename it.

p.s. thx for creating this tool..

vkhodygo added a commit to vkhodygo/VBiosFinder that referenced this issue Oct 29, 2022
* auto-fix formatting where acceptable
* adjust regexps
* fix issues with uppercase names
* correct upx path to output file
@vkhodygo
Copy link

Funny thing, I got my hands on the code only yesterday and spent all that time looking for the problem instead of reading your issue.

Anyway, see #51

@KyleSebion
Copy link

the name of tool UEFIExtract needs to be case-sensitive!

i was using arch linux with uefitool.. but i always run into this error:

.../VBiosFinder/vendor/bundle/ruby/3.0.0/gems/terrapin-0.6.0/lib/terrapin/command_line.rb:82:in `run': Terrapin::CommandNotFoundError (Terrapin::CommandNotFoundError)
	from /home/demlak/lala/VBiosFinder/src/extract-uefi.rb:20:in `uefi'
	from /home/demlak/lala/VBiosFinder/src/extraction.rb:8:in `call'
	from /home/demlak/lala/VBiosFinder/src/extraction.rb:8:in `attempt'
	from /home/demlak/lala/VBiosFinder/src/methods.rb:46:in `block in run'
	from /home/demlak/lala/VBiosFinder/src/methods.rb:44:in `each'
	from /home/demlak/lala/VBiosFinder/src/methods.rb:44:in `run'
	from /home/demlak/lala/VBiosFinder/src/cli.rb:36:in `extract'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	from /home/demlak/lala/VBiosFinder/vendor/bundle/ruby/3.0.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	from _init.rb:7:in `<main>'

solution: copy /usr/bin/uefiextract to folder 3rdparty and rename it to UEFIExtract

and yes.. /usr/bin is in path and no, it's not working by just copy into 3rdparty, you HAVE TO rename it.

p.s. thx for creating this tool..

Ran into this today. Thanks for the fix and tool! Seems to work OK with lenovo bios update for IdeaPad Gaming 3 15ACH6.

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

3 participants