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

Can't import Retroarch #276

Open
RFLEpicGamer opened this issue Jul 6, 2024 · 3 comments
Open

Can't import Retroarch #276

RFLEpicGamer opened this issue Jul 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@RFLEpicGamer
Copy link

RFLEpicGamer commented Jul 6, 2024

Describe the bug
If i try to import retroarch i get utf-8 error

To Reproduce
Steps to reproduce the behavior:

  1. Open Cartridges
  2. Click on Add Game
  3. Import Game

Expected behavior
Import Retroarch Sucessfully

Screenshots
image

Logs
root INFO - Scanning source desktop
root INFO - Source bottles skipped, bad location
root INFO - Source heroic skipped, bad location
root INFO - Source legendary skipped, bad location
root INFO - Scanning source flatpak
root INFO - Scanning source itch
root INFO - Scanning source retroarch
root INFO - Scanning source steam
root INFO - Scanning source lutris
root ERROR - UnicodeDecodeError in retroarch
Traceback (most recent call last):
File "/app/lib/python3.11/site-packages/cartridges/importer/importer.py", line 181, in source_task_thread_func
iteration_result = next(iterator)
^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/cartridges/importer/retroarch_source.py", line 77, in iter
playlist_json = json.load(open_file)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/init.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 234: invalid start byte
/home/rflepicgamer/.itch/itch
root INFO - Import done

System (please complete the following information):

  • OS: Fedora Linux
  • Installation method: Flatpak
  • Cartridges version: 2.8.5

Additional context
Idk if anyone else have this problem before

@RFLEpicGamer RFLEpicGamer added the bug Something isn't working label Jul 6, 2024
@kra-mo
Copy link
Owner

kra-mo commented Jul 7, 2024

@RilicTheFox @GeoffreyCoulaud I defer to you on this one.

@kra-mo kra-mo added good first issue Good for newcomers question Further information is requested and removed good first issue Good for newcomers question Further information is requested labels Jul 10, 2024
@kra-mo
Copy link
Owner

kra-mo commented Jul 10, 2024

All of these labels were accidental…

@sukarn-m
Copy link

sukarn-m commented Aug 9, 2024

I'm seeing a similar error, but not exactly the same:

root INFO - Scanning source retroarch
root ERROR - UnicodeDecodeError in retroarch
Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/cartridges/importer/importer.py", line 181, in source_task_thread_func
    iteration_result = next(iterator)
                       ^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/cartridges/importer/retroarch_source.py", line 77, in __iter__
    playlist_json = json.load(open_file)
                    ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/__init__.py", line 293, in load
    return loads(fp.read(),
                 ^^^^^^^^^
  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 105: invalid start byte

Flatpak based Cartridges and RetroArch.

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
Development

No branches or pull requests

3 participants