I'm trying to import some terms with SKOS Files, but running the command "docker-compose exec atom php symfony import:bulk --taxonomy="35" -v --index /Path/To/SkosFiles" I got a error with the message "Unable to parse data of an unknown format.". When I try import the same SKOS file by GUI on Import SKOS tab, everything works well. I'm using the AtoM 2.5.3 installed in a Docker with Docker-Compose.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/e5a0764e-ca7c-4bf0-b788-45418e8402c2%40googlegroups.com.
Hi Junio,It took us a little while to reproduce this, but fortunately the solution is very easy.I tested first in the Vagrant box and had no issues, so I asked one of our developers using the Docker environment to see if they were able to recreate what you are seeing.It turns out that for some reason, the Docker env requires that you supply an absolute path to the import files, and not a relative one.So for example, this import failed:
- docker-compose exec -u root atom php symfony import:bulk --taxonomy="35" -v --index skos/everything-ever.xml
But this one succeeded:
- docker-compose exec -u root atom php symfony import:bulk --taxonomy="35" -v --index /atom/src/skos/everything-ever.xml
Note the difference in the file paths.Hope this helps!Regards,he / him
On Fri, Feb 28, 2020 at 2:26 PM <junio.b...@gmail.com> wrote:
I'm trying to import some terms with SKOS Files, but running the command "docker-compose exec atom php symfony import:bulk --taxonomy="35" -v --index /Path/To/SkosFiles" I got a error with the message "Unable to parse data of an unknown format.". When I try import the same SKOS file by GUI on Import SKOS tab, everything works well. I'm using the AtoM 2.5.3 installed in a Docker with Docker-Compose.--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-ato...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/1e645284-8d55-4136-8287-887a120e9ee3%40googlegroups.com.