Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error creating template PredictionIO

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

like image 231
Andre Avatar asked Mar 26 '26 09:03

Andre


2 Answers

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.

like image 52
Andre Avatar answered Mar 28 '26 02:03

Andre


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.

like image 34
alex9311 Avatar answered Mar 28 '26 01:03

alex9311