This seems to be a problem with the /dev/api/snaps/(snap_id)/metadata endpoint.
What happened:
I got the error "IndexError: tuple index out of range" when trying to save the description field of a snap on snapcraft.io
What I expect:
To be able to save the description field of a snap on snapcraft.i
Steps to reproduce:
1. Visit https://snapcraft.io/snaps
2. Click on a snap (preferably one that isn't public)
3. Change the description to include "{}"
4. Save the change, success!
5. Remove the "{}" from the description
6. Save the change, receive the error "IndexError: tuple index out of range"
This seems to be a problem with the /dev/api/ snaps/( snap_id) /metadata endpoint.
What happened:
I got the error "IndexError: tuple index out of range" when trying to save the description field of a snap on snapcraft.io
What I expect:
To be able to save the description field of a snap on snapcraft.i
Steps to reproduce: /snapcraft. io/snaps
1. Visit https:/
2. Click on a snap (preferably one that isn't public)
3. Change the description to include "{}"
4. Save the change, success!
5. Remove the "{}" from the description
6. Save the change, receive the error "IndexError: tuple index out of range"
Using https:/ /dashboard. snapcraft. io to delete the characters does work, however.