Skip to content

TypeError: cannot unpack non-iterable PngI/Jpg/JpegImageFile object #8

Description

@xWolpertinger01

Describe the bug
When trying to use dankcli with different images and image-types I get the error TypeError: cannot unpack non-iterable Png/Jpg/JpegImageFile object. It happens with jpg, png and jpeg.

To Reproduce
Exact stuff you did:
Used command (with jpg as example) was:
python3 -m dankcli "/home/user/pictures/dankpic.jpg" "When you make a meme" -f "dankcreation"

Expected behavior
Expected a "completed"/working output

Setup in which bug happened:

  • OS
    Arch Linux
  • Which command line/ terminal used(sometimes cmd on windows can be problematic)
    Konsole/fish

Additional context
No further context as probably not useful. If additional steps/information is needed feel free to ask me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions