queer/boxxy

"Not a directory (os error 20)" when trying to use boxxy to launch any program <autogenerated-issue>

hazelnot opened this issue ยท 14 comments

Error

Error: 
   0: Not a directory (os error 20)

Metadata

key value
version 0.8.4

Please provide

  • specific command run
  • relevant parts of boxxy config

Specific command is boxy war1gus, though I also tried boxxy dosbox-x, since it autogenerated a DOSBox config and I thought I'd try one of the auto-generated ones as well to see if I got the same error.

Relevant parts are:

- name: DOSBox
  target: ~/.dosbox
  rewrite: ~/.config/dosbox
  mode: file
  context: []
  only: []
  env: {}

and

- name: stratagus
  target: ~/.stratagus
  rewrite: ~/.local/share/stratagus

though as I mentioned, the same thing seems to happen no matter what I try to run.

The culprit seems to have been one of the auto-generated rules. I deleted all but my custom rule and it suddenly works now. Not sure how to figure out which rule was the issue except deleting all 80-something of them one by one ๐Ÿ˜….

Can you try it with boxxy -l debug ...?

Ah I apologize, I saw this at a bad time and then forgot about it. I'll set a reminder for later cause I just saw this at a bad time again

$ boxxy -l debug ...
 DEBUG boxxy::config > loading rules (not asked not to!)
 DEBUG boxxy::config > searching for boxxy config starting at /home/hazelnot/git/Vanilla-Conquer/build
 DEBUG boxxy::config > checking for: /home/hazelnot/git/Vanilla-Conquer/build/boxxy.yaml
 DEBUG boxxy::config > checking for: /home/hazelnot/git/Vanilla-Conquer/boxxy.yaml
 DEBUG boxxy::config > checking for: /home/hazelnot/git/boxxy.yaml
 DEBUG boxxy::config > checking for: /home/hazelnot/boxxy.yaml
 DEBUG boxxy::config > checking for: /home/boxxy.yaml
 DEBUG boxxy::config > checking for: /boxxy.yaml
 DEBUG boxxy::config > ran out of parents to search!
 INFO  boxxy::config > loading rules from /home/hazelnot/.config/boxxy/boxxy.yaml
 INFO  boxxy::config > loaded 116 total rule(s)
 ERROR boxxy::config > command not found in $PATH or by path: ...
 DEBUG boxxy::config > searched $PATH: /home/hazelnot/.local/bin:/home/hazelnot/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/usr/lib/rustup/bin

Thank you ๐Ÿ˜Š I should be able to investigate this week.

Sorry about the delay here 3: I have been dealing with some personal issues and will get to this when I have time.

No worries the one rule I added manually so far works fine, I can create some more probably without this happening as well ๐Ÿ˜