Charm proof : E: missing series: must be a list of series names


#1

Hello ,

I’m trying to deploy my charm and i’m getting this error below when I run Charm proof :

E: missing series: must be a list of series names

please advice on how to solve it , I have edit only one file which is metadate.yaml file


#2

Howdy, do you mean metadata.yaml file? Double check the filename, but I assume you’ve edited the default one provided by a template or something.

The series is a list, and so it needs to be created as a YAML list vs a string. So you can create a list of one item (the one series) like so

series:
  - bionic

Give that a shot and let me know if that works for you. Thanks!


#3

should I add this to metadata.yaml file ?


#4

Yep, you can see an example here:

https://api.jujucharms.com/charmstore/v5/~jameinel/ubuntu-lite-7/archive/metadata.yaml

It uses a different format for making a list in YAML.


#5

it worked ! thank you