Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to create the pokete directory in $HOME/.cache #153

Closed
2 tasks done
zeitue opened this issue Jun 14, 2022 · 1 comment · Fixed by #161
Closed
2 tasks done

Need to create the pokete directory in $HOME/.cache #153

zeitue opened this issue Jun 14, 2022 · 1 comment · Fixed by #161
Labels
bug Something isn't working

Comments

@zeitue
Copy link

zeitue commented Jun 14, 2022

Checklist
I have:

  • Searched the Issues page for my problem/feature request
  • Updated all related software and Pokete it self

Describe the bug
The application does not create a directory that it needs in order to run $HOME/.cache/pokete/

To Reproduce
Steps to reproduce the behavior:

  1. Go the download page on github
  2. Download the 0.7.2 AppImage
  3. Make it executable
  4. Run it

Expected behavior
The game runs

Screenshots

Traceback (most recent call last):
  File "/tmp/.mount_Pokete9O4pjc/usr/share/pokete/pokete.py", line 1411, in <module>
    logging.basicConfig(filename=log_file,
  File "/tmp/.mount_Pokete9O4pjc/usr/lib/python3.10/logging/__init__.py", line 2031, in basicConfig
    h = FileHandler(filename, mode,
  File "/tmp/.mount_Pokete9O4pjc/usr/lib/python3.10/logging/__init__.py", line 1167, in __init__
    StreamHandler.__init__(self, self._open())
  File "/tmp/.mount_Pokete9O4pjc/usr/lib/python3.10/logging/__init__.py", line 1197, in _open
    return open_func(self.baseFilename, self.mode,
FileNotFoundError: [Errno 2] No such file or directory: '/home/zeitue/.cache/pokete/pokete.log'

Environment

  • OS: Pop_OS! 22.04
  • Pokete version 0.7.2
  • Python version 3.10.4
  • Scrap engine version Whatever is in the appimage

Additional context
If you create the directory $HOME/.cache/pokete, then the application runs as expected

@lxgr-linux
Copy link
Owner

That's a problem I encountered myself and has something to do with the containerization of the AppImage.
But the README also states:

NOTE: In that case you first have to create the ~/.cache/pokete/ folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants