#๐Ÿ”’ not enough values to unpack

23 messages ยท Page 1 of 1 (latest)

broken solar
#

I keep getting this error and I dont know what to do/get around it

autumn reefBOT
#

@broken solar

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

broken solar
#

the code:

coral comet
broken solar
#

sorry

#

PS C:\Users*\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main> python update_ezflash_cheats.py patch -c "C:\Users*\Downloads\omegacheatlibrary\CHEAT" -d "C:\Users*\Downloads\Nintendo - Game Boy Advance (20240325-224624)\Nintendo - Game Boy Advance (20240325-224624).dat" -l "C:\Users*\Downloads\libretro-database-master\libretro-database-master"
Traceback (most recent call last):
File "C:\Users*\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main\update_ezflash_cheats.py", line 345, in <module>
main()
File "C:\Users*
\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main\update_ezflash_cheats.py", line 341, in main
args.main(args)
File "C:\Users*\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main\update_ezflash_cheats.py", line 276, in main_patch
patch(ezflash_cheats_path, datfile_path, libretro_database_path)
File "C:\Users*
\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main\update_ezflash_cheats.py", line 263, in patch
patch_ezflash_cht_file(target_cheat_file_path, libretro_cheat_file_path)
File "C:\Users*\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main\update_ezflash_cheats.py", line 195, in patch_ezflash_cht_file
libretro_cheats = parse_libretro_cheats_from_file(libretro_cht_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*
\Downloads\update_ezflash_cheats-main\update_ezflash_cheats-main\update_ezflash_cheats.py", line 116, in parse_libretro_cheats_from_file
key_name, key_type = key.split("_")
^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

#

im new to this server

coral comet
#

not code

broken solar
#

how do i embed it?

coral comet
#

that's error

#

!code

autumn reefBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

broken solar
#

oh

#

sorry

coral comet
#

seems like you are trying to run downloaded code

broken solar
#

i guess i got confused

#

yes

coral comet
#

if it's not your code and you don't know python then we can't help you

broken solar
#

alright, thank you

autumn reefBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

๐Ÿ”’ not enough values to unpack