oeg-upm / soca

Software Catalog Creator. A repository that given an organization URL, it will create a software catalog for browsing all repositories
Apache License 2.0
12 stars 5 forks source link

Wrong logo in repo #28

Closed dgarijo closed 2 years ago

dgarijo commented 2 years ago

In Wot hive (https://github.com/oeg-upm/wot-hive), the logo is shown incorrectly. For some reason, it shows the European Union logo.

I checked and SOMEF extracts the logo correctly.

dakixr commented 2 years ago

This is the SOMEF output that I'm getting:

 "logo": {
        "excerpt": "https://www.auroral.eu/img/logos/bandeira.png",
        "confidence": [
            1.0
        ],
        "technique": "Regular expression"
    },

Consequently, this is the card that SCC builds:

card

dgarijo commented 2 years ago

This is not what I am getting :o Which version of somef are you using?

dgarijo commented 2 years ago

Screenshot from 2022-03-29 16-14-47

dakixr commented 2 years ago

I'm using SOMEF 0.7.2

Here I attach a pip freeze of my venv:

beautifulsoup4==4.10.0
bs4==0.0.1
certifi==2021.10.8
charset-normalizer==2.0.12
Click==7.0
click-option-group==0.5.3
cycler==0.11.0
decorator==5.1.1
fonttools==4.30.0
html2image==2.0.1
htmlmin==0.1.12
idna==3.3
imgkit==1.2.2
isodate==0.6.1
joblib==1.1.0
json2html==1.3.0
kiwisolver==1.3.2
Markdown==3.3.6
markdown2==2.4.2
matplotlib==3.5.0
mistune==2.0.2
nltk==3.6.6
numpy==1.21.4
packaging==21.3
pandas==1.3.4
Pillow==9.0.1
progressbar2==4.0.0
Pygments==2.11.2
pyparsing==3.0.7
python-dateutil==2.8.2
python-utils==3.1.0
pytz==2021.3
rdflib==6.0.2
rdflib-jsonld==0.6.2
regex==2022.3.2
requests==2.27.1
-e git+https://github.com/Dakixr/scc.git@0ff0c97201eb927e43a965f7db8381110dcf6ec1#egg=scc
scikit-learn==1.0
scipy==1.8.0
setuptools-scm==6.4.2
six==1.16.0
somef==0.7.2
soupsieve==2.3.1
textblob==0.17.1
threadpoolctl==3.1.0
tomli==2.0.1
tqdm==4.63.0
urllib3==1.26.8
validators==0.18.2
xgboost==1.5.0
dgarijo commented 2 years ago

It may have been fixed in 0.8.0, which is the one I am using. Since this is not out yet and this seems like a somef problem, I will close the issue.