Mycroft Community Forum

RPC failed; HTTP 404 curl 22 The requested URL returned error: 404 when create repo via mycroft-msk create

Hi There,
I am just newer to mycroft and trying to create skill via mycroft-msk create in my Linux VM.
My env: Linux vm --ubuntu 20.4 in Oracle Virtualbox

There are errors popup when running to last step of “mycroft-msk create” as below.

Enumerating objects: 12, done.
Counting objects: 100% (12/12), done.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (12/12), 13.66 KiB | 2.28 MiB/s, done.
Total 12 (delta 0), reused 0 (delta 0)
error: RPC failed; HTTP 404 curl 22 The requested URL returned error: 404
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
Created GitHub repo: SandyLi2017/myfirstskill-skill · GitHub
Created skill at: /opt/mycroft/skills/myfirstskill-skill

Repo/skill name created in github but repo structures(folders and files) actually not created. And skill folders created in local with .git folders.

I tried to explore but could not find any valid instruction to fix this.

could you please guide me through?

Appreciate for your help and response.

Thanks
Sandy

I did try below to solve the issue finally:

  1. sudo apt update
  2. sudo apt upgrade
  3. cd ~/mycroft-core
  4. source venv-activate.sh; pip install msk
  5. msk create

Now repo and correct sub-folders created successfully.

To my understanding, it seems to activate venv and install msk followed by to msk create to create skills as expectation.
My initial way: in Linux(git cloned) base env to use mycroft-msk, this may suffer issue.

Hey thanks for posting a resolution.

I’m curious whether you had run Mycroft before running mycroft-msk for the first time? Or if this was a totally new setup?

I haven’t seen the issue before so I’m thinking it’s either system specific or a very specific path will cause it.