coderobe / VBiosFinder

Extract embedded VBIOS from (almost) any BIOS Update
GNU Affero General Public License v3.0
132 stars 21 forks source link

Cocaine::CommandNotFoundError #4

Closed svenmauch closed 6 years ago

svenmauch commented 6 years ago

Crashed with the following output:

[mauch@M80 VBiosFinder]$ ./vbiosfinder extract /home/mauch/mx150rom/n22uj05w.exe
output will be stored in '/home/mauch/mx150rom/VBiosFinder/tmp-vbiosfinder'
checking for ruby... yes

trying to extract ./n22uj05w.exe
checking for innoextract... yes
Cleaning up garbage
Traceback (most recent call last):
12: from _init.rb:7:in `<main>'
11: from /home/mauch/mx150rom/VBiosFinder/vendor/bundle/ruby/2.5.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
10: from /home/mauch/mx150rom/VBiosFinder/vendor/bundle/ruby/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
9: from /home/mauch/mx150rom/VBiosFinder/vendor/bundle/ruby/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
8: from /home/mauch/mx150rom/VBiosFinder/vendor/bundle/ruby/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
7: from /home/mauch/mx150rom/VBiosFinder/src/cli.rb:32:in `extract'
6: from /home/mauch/mx150rom/VBiosFinder/src/methods.rb:20:in `run'
5: from /home/mauch/mx150rom/VBiosFinder/src/methods.rb:20:in `each'
4: from /home/mauch/mx150rom/VBiosFinder/src/methods.rb:20:in `block in run'
3: from /home/mauch/mx150rom/VBiosFinder/src/extraction.rb:8:in `attempt'
2: from /home/mauch/mx150rom/VBiosFinder/src/extraction.rb:8:in `call'
1: from /home/mauch/mx150rom/VBiosFinder/src/extract-innosetup.rb:19:in `innosetup'
/home/mauch/mx150rom/VBiosFinder/vendor/bundle/ruby/2.5.0/gems/cocaine-0.5.8/lib/cocaine/command_line.rb:82:in `run': Cocaine::CommandNotFoundError (Cocaine::CommandNotFoundError)
coderobe commented 6 years ago

Do you have a working innoextract installed? ruby's find_executable is able to find it, but further on it can't be ran because it's not found in your PATH or cannot be executed. Is your $PATH unset or bad by any chance?

svenmauch commented 6 years ago

Hi again, sorry for opening this issue hastily. I was dumb enough to install innoextract without updating the rest of Arch Linux which caused it to not find libraries like libboost. VBiosFinder ran perfectly and found the vBIOS for both Intel UHD 620 and NVIDIA MX150 on my Thinkpad T480s. :)

coderobe commented 6 years ago

Congratulations, you just voided your Arch Linux warranty :tm: - partial updates are explicitly unsupported.

https://gist.github.com/vodik/5660494