CPScript/Kitty-Tools

File creation error

Luky12568 opened this issue · 3 comments

Describe the bug
Traceback (most recent call last):
File "/data/data/com.termux/files/home/Kitty-Tools/Kahoot/kahoot.py", line 121, in
open(data_path, "x")
PermissionError: [Errno 13] Permission denied: '/data/data/com.termux/files/home/Kitty-Tools/Kahoot/quizzes/c2adced8-47f9-4ab7-8bae-89729a1b6aaa.json'

To Reproduce
Steps to reproduce the behavior:

  1. Run it to the end and you see it

Expected behavior
Save it to a file???

Screenshots
Screenshot_20231006-142354_Termux.jpg

Smartphone (please complete the following information):

  • Device: Samsung A41
  • OS: Android 11
  • Browser: Chrome, ran it on Termux
  • Version: idk

Additional context
Tried to chmod it but nothing also I tried w and not x

since you ran it on termux it cant backup the file... it will still work perfectly fine, please ignore this issue as this issues will happen on certain devices

i would recommend installing root and letting termux have access to external storage:
pkg install root-repo
termux-setup-storage

doing such might help

also, charge your phone :D