Subida de objetos digitales mediante CSV

86 views
Skip to first unread message

Gonzalo Granara

unread,
Mar 30, 2023, 12:52:56 PM3/30/23
to AtoM Users
Hola, buenas tardes. Trabajo en el Archivo General de la Nación y tengo un problema con un proyecto que estamos impulsando.

Seguí todos los pasos para subir objetos digitales mediante CSV, utilizando la función de migración de ATOM. Incluso copié los archivos en una carpeta del directorio raíz de ATOM. Pero no reconoce la columna "digitalObjectPath" por más que intente. 

Estoy utilizando el formato "objetos digitales/Fotografias/Positivos/AR-AGN-WIT01-Efba-nre-000001.tif" para colocar el Path. "objetos digitales" es la carpeta que creamos en el directorio de ATOM para poder subirlos.

Agradezco cualquier información.

Saludos, Gonzalo

Dan Gillean

unread,
Mar 30, 2023, 12:56:50 PM3/30/23
to ica-ato...@googlegroups.com
Hola Gonzalo, 

I recommend trying absolute paths rather than relative ones. By this I mean the full system path, and not just the path starting from where the object directory is. So for example, if your path was this: 
  • objetos digitales/Fotografias/Positivos/AR-AGN-WIT01-Efba-nre-000001.tif
AND, if you followed our recommended installation instructions, then try something like the path below instead: 
  • /usr/share/nginx/atom/objetos digitales/Fotografias/Positivos/AR-AGN-WIT01-Efba-nre-000001.tif
Let us know if that helps! 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
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/3c599069-f95c-4bf9-92d1-967d89c86f93n%40googlegroups.com.
Message has been deleted

Dan Gillean

unread,
Apr 3, 2023, 8:22:09 AM4/3/23
to ica-ato...@googlegroups.com
Hi Gonzalo, 

Strange. I don't see any characters that would cause problems in the file path. I suppose you could try removing the space, changing objetos digitales to objetos-digitales, but I doubt this is the problem.

Let's go back to basics. Some questions: 
  • What is the full version number of your installation, as shown in Admin > Settings?
  • What is the default language of your installation? You can always check in the apps/qubit/config/settings.yml configuration file if needed
  • Have you followed our recommended installation instructions for your version? If no, what changes have you made?
  • Are you able to upload a simple small test image (perhaps a JPG, not a TIFF) to a test description via the user interface? Just to prove that upload is working as expected
  • Have you tried resetting the filesystem permissions of your installation? If you have followed the recommended instructions, try: 
    • sudo chown -R www-data:www-data /usr/share/nginx/atom
  • Are you performing this upload via the user interface, or via the command-line?
  • Have you checked the webserver error logs to see if there's any more error information available? See:
Another option might be to try using the digital object load task, and load the objects separately, after you have imported the descriptions first via CSV. With this method you would:
  • Remove the digitalObjectPath column from your description CSV and import it
  • Prepare a new CSV with 2 columns:
  • Call the first column slug, and add the slug (i.e. the unique part of the URL - for example, in the address www.example.com/my-description, my-description is the slug) of the target description
  • Add a second column named filename, with the full absolute path to the target digital object for that row
  • Run the task on the command line
See: 
Let us know what you discover! Hopefully with more information we can provide more ideas for your next step. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


On Mon, Apr 3, 2023 at 8:00 AM Gonzalo Granara <granara...@gmail.com> wrote:
Hola Dan, muchas gracias por la respuesta. Muy amable.

También he probado utilizando la ruta completa (/usr/share/nginx/atom/objetos digitales/Fotografias/Positivos/AR-AGN-WIT01-Efba-nre-000001.tif). Tampoco tuve éxito. ¿me faltará algún paso más? ¿habrá algún problema en los caracteres de la ruta?

Miguel Alejandro Contreras Flores

unread,
Apr 5, 2023, 8:07:53 AM4/5/23
to ica-ato...@googlegroups.com
Hola.
Podrías compartir tu archivo CSV con el que estás intentando la importación, tal vez pueda ayudarte.
También dime si los documentos pueden ser visibles a traves de una URL.
Saludos

Atte.
Miguel A Contreras
Biblioteca Daniel Cosio Villegas
El Colegio  de México
Tel. 5449300 ext 2936

Reply all
Reply to author
Forward
0 new messages