3

I've created a lot of templates before as by now I was creating the Recommendation following the suggested steps.

$ pio template get PredictionIO/template-scala-parallel-recommendation Foo

Getting this error:

[ERROR] [Template$] Either PredictionIO/template-scala-parallel-universal-recommendation is not a valid GitHub repository, or it does not have any tag. Aborting.

How I fix this and why is this happening?

EDIT:

My Prediction version 0.9.5. Using Ubuntu

Shapi
  • 5,493
  • 4
  • 28
  • 39

3 Answers3

1

It seems that happens when you have made a pio deploy of another template before pio template get, so you have to shutdown the eventserver default port 7070 as:

$ lsof -wni tcp:7070
$ kill -9 PID

This solved the problem.

Shapi
  • 5,493
  • 4
  • 28
  • 39
1

I had this issue but this google group post had my solution. Basically pio template get is cloning a repository under the covers, so it can have git-related issues.

Check to see if you can access https://api.github.com/ from your web browser. If not, check the google group post.

alex9311
  • 1,230
  • 1
  • 18
  • 42
0

Also there is no need to do pio template get, just clone it from github. The Universal Recommender is kept up-to-date in its home repo here: https://github.com/actionml/template-scala-parallel-universal-recommendation/tree/v0.3.0

Notice v0.3.0 is nearing release but is not in the template gallery yet.

pferrel
  • 5,673
  • 5
  • 30
  • 41