mov-cli / mov-cli

Watch everything from your terminal.
https://mov-cli.github.io/
MIT License
411 stars 36 forks source link

[BUG] got FileNotFoundError when running "mov-cli -e" #248

Closed AbdoMoh96 closed 2 months ago

AbdoMoh96 commented 2 months ago

Describe the bug: got a missing file or directory error

Expected behavior: 1- install python3 on android using termux 2- run :: pkg install python3 3- run :: mov-cli mov-cli -e should be able to edit mov-cli config but got error instead

Screenshots WhatsApp Image 2024-03-14 at 23 22 03_add681c6

Error: FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux/files/home/.config/mov-cli'

Platform (please complete the following information):

THEGOLDENPRO commented 2 months ago

Can you confirm if the error persists after creating .config:

mkdir /data/data/com.termux/files/home/.config

If this fixes it then I know the issue exactly and I'll patch it very soon.

AbdoMoh96 commented 2 months ago

turns out i just needed to create .config directory this command fixed my issue mkdir -p /data/data/com.termux/files/home/.config/mov-cli thanks @THEGOLDENPRO you are a hero

THEGOLDENPRO commented 2 months ago

Nice. However this is going to be an issue for new users so I'll patch mov-cli soon to create that directory if it doesn't exist.

AbdoMoh96 commented 2 months ago

awesome work, keep it going.