Build an open future with us.

Invest in Mycroft and become a community partner.

Error when msk upload


#1

I try to upload a skill with msk but get this errors. Cant figure out what I do wrong…

Traceback (most recent call last):
  File "/home/pi/mycroft-core/.venv/bin/msk", line 11, in <module>
    sys.exit(main())
  File "/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/__main__.py", line 67, in main
    return console_actions[args.action](args).perform()
  File "/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/actions/upload.py", line 115, in perform
    branch = SkillData(self.entry).add_to_repo()
  File "/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/repo_action.py", line 100, in add_to_repo
    existing_mods = [folder for size, typ, sha, folder in elements]
  File "/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/repo_action.py", line 100, in <listcomp>
    existing_mods = [folder for size, typ, sha, folder in elements]
ValueError: too many values to unpack (expected 4)

#2

The problem were one file with a space in the name. After correcting that no problem.

@ake-mycroft will look into this in the msk.


#3

Thanks so much for reporting this @andlo, just for reference, the GitHub Issue is;


#4

That’s different work. The related fix is https://github.com/MycroftAI/mycroft-skills-kit/pull/11