sharkdp / hexyl

A command-line hex viewer
Apache License 2.0
8.92k stars 227 forks source link

snap no such file error #125

Closed delanym closed 3 years ago

delanym commented 3 years ago

I run

hexyl outfile

and get "Error: No such file or directory (os error 2)"

I tried removing the snap and reinstalling

hexyl 0.8.0 from Purvesh (badpurvesh11) installed

sharkdp commented 3 years ago

FYI @purveshpatel511

purveshpatel511 commented 3 years ago

@delanym, I am not sure about filetype of outfile. Still you can try following command,

hexyl ./outfile

And would you please tell me directory tree structure where outfile is located and file-type of outfile?

sharkdp commented 3 years ago

Could this be another "classic confinement" issue? I don't understand how snap works, but to be honest, it has cause nothing but problems in the past for me (for different projects). Not just with your new packages (for which I am really grateful!), but also when I tried to write some myself in the past.

purveshpatel511 commented 3 years ago

This is not classic confinement issue of snap. This is more kind of user local system issue. I also check build logs and not found any error about snap. A classic confinement issue would raise Permission Denied error. By the way, I am wondering that hexyl also display the binary files??

delanym commented 3 years ago

I rebooted and now it works ¯_(ツ)_/¯

sharkdp commented 3 years ago

By the way, I am wondering that hexyl also display the binary files??

That's kind of.. the purpose of the tool? :D