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

Problems with inspect4py #61

Closed esgg closed 2 years ago

esgg commented 2 years ago

During the execution of the command extract, I get the following messages (among others):

Extracting metadata from https://github.com/oeg-upm/pcake
ERROR: Could not extract metadata from https://github.com/oeg-upm/pcake Extracting metadata from https://github.com/oeg-upm/delta-ontology
Extracting metadata from https://github.com/oeg-upm/ainn-request
ERROR: Could not run inspect4py for https://github.com/oeg-upm/ainn-request: Error in sowftware_type software_invocation Extracting metadata from https://github.com/oeg-upm/ainn-website
Extracting metadata from https://github.com/oeg-upm/PPool
ERROR: Could not run inspect4py for https://github.com/oeg-upm/PPool: Error in sowftware_type software_invocation


The version of inspect4py is 0.0.1

I have executed the command inpect4py directly with one of the repositories and it works. It generates the JSON file with the results.

dgarijo commented 2 years ago

@esgg, I am confused: We should not run inspect4py with repos like https://github.com/oeg-upm/delta-ontology because it's not python

However, it should work for https://github.com/oeg-upm/pcake because it's Python 3.9. Is this the repo you executed above?

I guess my confusion here is: Is the problem that soca cannot run inspect4py; or that inspect4py produces errors?

esgg commented 2 years ago

Yes, soca only runs inspect4py with python repositories. In the case of https://github.com/oeg-upm/delta-ontology, soca doesn't run inspect4py (that is the reason that no error message appears).

I ran inspect4py with another python repository.

My feeling is that the problem is from soca side. Something related with the execution of inspect4py, but the message doesn't provide much information.

dgarijo commented 2 years ago

Ok, now it's clear to me. It does look like a soca error

dakixr commented 2 years ago

Sorry my fault, I missed a / in the code :D