Closed dgarijo closed 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Fixed in the version 1.2.1 @brandomr can you update and test it?
pip install mic -U
@mosoriob I'm now running that version but still see the same error:
$ mic version
mic v1.2.1
Can you share the stdout and mic directory?
Here it is @mosoriob The error log is the same (stdout) refugee-mic.zip
I have fixed that generates the problem, but Brandon has the problem.
Follow the next steps:
rm -rf .git/
git init
mic encapsulate upload
https://asciinema.org/a/9kJO2Ixtwrpuoi0aKUYTrQp6T
In my computer fails because I dont have the base image: refugee-trends:latest
@mosoriob that worked! Thanks for the help. I had to cd mic
and run git remote remove origin
but after that things worked fine.
$ mic encapsulate upload
Automatically found mic.yaml in /home/ubuntu/refugee-mic-test/mic/mic.yaml
This step publishes your code, DockerImage and Model Configuration
Creating the git repository
Compressing your code
Creating a new commit
Creating or using the GitHub repository
The git repository has not a remote server configured
Creating a new repository on GitHub
The url is: https://github.com/brandomr/refugee-trends.git
Creating a new version
Previous version 20.7.9
New version: 20.7.10
Pushing your changes to the server
Repository: https://github.com/brandomr/refugee-trends.git
Version: 20.7.10
Downloading the base image and building your image
Uploading the Docker Image
Docker Image: brandomr/refugee-trends:20.7.10
A model component must be associated with a model
Existing models are:
Do you want to use an existing model? [Y/n]: n
Please enter the information about the Model
Name of the model: Refugee Trends
A short description of the Model: Predicting refugees using Google Trends (development)
Version of the model: 0.1
A short description of the version: development version
Your Model Component has been uploaded
Success
You can run the Model using DAME
dame run 927791dd-7686-4cf5-9627-55f3bcd2cfcc -p default
You model looks fine:
https://rdfexplorer.mint.isi.edu/page/okn/i/mint/927791dd-7686-4cf5-9627-55f3bcd2cfcc
Tested by @brandomr
Model being encapsulated: https://github.com/jataware/refugee-trends
MIC version: 1.2.0
Description: The MIC component was originally tracked on the jataware/refugee-trends repo, but @brandomr copied the MIC folder in a separate folder. The error provided can be seen below
MIC file:
Error:
Other considerations:
API permisisons:![image](https://user-images.githubusercontent.com/1520666/88089925-ae8cd780-cb41-11ea-8f85-9773606e0ee7.png)
User has 2FA enabled on GitHub, but I also have that enabled and it worked perfectly.