Taking screenshot or recording crashes the game
See original GitHub issueMy Ubuntu is in Portuguese and when I try to take a screenshot or record a gif, the game crashes trying to create a file:
File "/home/jean/Documentos/pyxel-debug/lib/python3.6/site-packages/PIL/Image.py", line 1947, in save fp = builtins.open(filename, "w+b") FileNotFoundError: [Errno 2] No such file or directory: '/home/jean/Desktop/pyxel-180731-095749.gif'
If I create a Desktop folder on my home directory the problem is solved, but I don’t that’s a good solution. An alternative would be creating a subfolder inside the game’s current directory. I would do a pull request, but even that being pretty simple, I think that’s more like a design decision, so it’s up to you ☺️
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Game Crash (File I/O error 5) on taking Screenshot - Reddit
Game Crash (File I/O error 5) on taking Screenshot. I used to be able to take in-game screenshots with Photo Mode on Windows...
Read more >Game crashes when taking a screenshot with F12
game crashes sometimes when you are in Photo Taking Mode and take a little bit longer to adjust the shot (no effects, just...
Read more >PC Crashing with Screen Capture | OBS Forums
If I set screen capture to "Windows 10", the crash is gone. OBS Does not have to be recording for the crash to...
Read more >Steam freezes games when taking screenshots :: Help and Tips
Sometimes the game can freeze for 4-6 seconds when taking a screenshot. Usually happens when taking multiple screenshots in quick succession ...
Read more >How to fix the “Android emulator crashes when I take a ...
The Android emulator for Android Studio “Arctic Fox” (version 2020.30.1) crashes when you take screenshots. Here's how you fix it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you use that, please add a fallback, an external tool like
xdg-user-dir
is not necessarily installed:Changed, tested and solved on #32. Tested on Ubuntu 18.04.1 LTS