Two questions: sequential order and description of linked digital objects

101 views
Skip to first unread message

Archivo Historico Andalucia

unread,
Jun 12, 2017, 2:20:44 PM6/12/17
to ica-ato...@googlegroups.com
Hi everyone!

I'm going to import five thousend of jpg images in 300 series aprox (5-30 images per serie) and, before, I need your help to resolve two issues related to the import of digital objects: secuence of images and its archival description

1. Secuence:

My files's names are like these: 126a001.jpg, 126a002.jpg, 126a003.jpg... for serie 126a ; 145b01.jpg, 145b02.jpg, 145b03.jpg... for the serie 145b. We need upload the files in the correct sequence, but when I'm importting all the images of one serie the order of upload is absolutely desordered, for example like this:

126a03.jpg = image 1
126a04.jpg = image 2
126a01.jpg = image 3
126a02.jpg = image 4

I've tryed to change manually the name (tittle) of each image, like this:

126a03.jpg = image 3
126a04.jpg = image 4
126a01.jpg = image 1
126a02.jpg = image 2

But the order shown is the same on the upload: 3-4-1-2 (and I need like: 1-2-3-4), althought I've sorting settings of my treeview: Admin  > Settings > Global >Sort treeview = Tittle-identifier.  I've tryed too to change the secuence order manually (Admin  > Settings > Global >Sort treeview = Manual) but when I navigate to the parent description and place my cursor near the right hand side of the digital object archival descriptions I can´t click and drag the information object up and down in the parent description... One of theese solutions would be ok, but the best way for me (we've got a lot of digital images to upload) would be to establish that the upload was done, by default, following the order of the sequence (the same in which the files are named). I have seen the previous discussions but I have not found the solution. Any help will be very welcome.

2. Object linked description

It would be possible to fill in some required fields automatically? For example, date or identifier: Could the date value be taken from the top level (parent = serie)? And could an identifier be automatically assigned form the serial name plus the number that the image has within the sequence? For example, for the serie with id: 126a, children with id: 126a01, 126a02....


Thank you very much in advance, sorry for my english and best regards!

--
Manuel Bueno Lluch
Archivo Histórico de CCOO de Andalucía
c/ Japón, 41 - 41008, Sevilla
Tlf: 954401619 / 62726
archivoh...@and.ccoo.es
www.estudiossindicales.andalucia.ccoo.es



Dan Gillean

unread,
Jun 12, 2017, 3:36:27 PM6/12/17
to ICA-AtoM Users
Hi Manuel,

There is a related thread here, which includes 1 possible workaround, and below that, a possible solution that involves changing the code:

Based on what we found in that thread, it appears that currently AtoM is ordering the digital objects on import based on the order they finish uploading - which is not very useful or consistent. We would love to see this changed. If you are a developer or have access to developers and you try implementing the code solution suggested and find that it works well, please consider sending us a pull request! We have some developer resources on how to do so here:

Regarding the treeview manual sort, some initial questions:

  • What version of AtoM are you using (full version as listed in Admin > Settings please)?
  • What is your default installation culture? (e.g. en, es, pt_BR, etc)

One possible thing to try is to rebuild the nested set - this can sometimes resolve issues with the treeview. See:

Just as an FYI, we have added drag-and-drop sort support, similar to how it works in the sidebar treeview, to the full-width treeview in our upcoming 2.4 release, along with some other enhancements. See:

  • #10973 - Add support for drag-and-drop to the full-width treeview

Regards,


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

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAPa526-Uwjb7G7HbN1ZZMq34Lkuzx%2B4CGmhwYggNXhjKFKzVew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Dan Gillean

unread,
Jun 12, 2017, 4:02:10 PM6/12/17
to ICA-AtoM Users
Also, apologies, I missed the second question in my first response.

I believe it would be possible to develop what you are asking in part 2. Right now, the creator name and the repository name are inherited at lower levels. I think we could probably do development so that the dates could be inheritable from the parent level as well (unless a date is added directly to the description) - we might want to add a setting to turn this on/off in case some users don't want to use it. Doing so would require sponsorship for Artefactual to be able to undertake the work - for more information on how we maintain AtoM, see:

Regarding an identifier inheritance, you might be interested to learn of the following development: there will be a setting in AtoM 2.4 that will allow users to automatically generate identifiers based on a mask, similar to how this is managed in the accessions module. Users can edit the mask, turn the the setting on and off, and still edit the pre-populated values if needed. See:

  • #11162 - Identifier enhancements

This is not exactly what you are asking for, but it should help.

Cheers,


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

To post to this group, send email to ica-ato...@googlegroups.com.

Manuel Bueno (AHCCOOA)

unread,
Jun 13, 2017, 8:30:02 AM6/13/17
to AtoM Users
Hi Dean!

Sorry for my English. Thank you very much for your fast answer! There are some options that can work...

For the firs question (disorder import digital objects), I'm going to test de CSV option, if this way works well it will allow me to import data easily, like Date or Extend and Medium.

Sorry I'm not developer and I can't contribute to developing code to create an option to control the import order of digital objects.

About treeview manual sort, my AtoM version; 2.3.1-138, and the default instalation culture: en.

About the possible sponsorship to development so that the dates could be inheritable from the parent level, how many hours aprox. need Artefactual to do it?

And, about the setting that will allow users to automatically generate identifiers in AtoM 2.4, seems great! When a stable versión of 2.4 will be available?

Thank you very much again!!
Cheers
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.

Dan Gillean

unread,
Jun 13, 2017, 1:02:49 PM6/13/17
to ICA-AtoM Users
Hi Manuel,

Regarding the treeview: If you have access to the command-line, or you can talk to the person who installed the application for you, try the following to see if you can get the drag-and-drop working when the treeview is on manual sort. You can run all these commands from the root AtoM directory - that is, if you have followed our recommended installation instructions, it should be /usr/share/nginx/atom

If you are unfamiliar with command-line basics, we have some slides here that can help you get started:

I would recommend trying the following commands to see if we can get the treeview drag and drop working when the sort is set to Manual.

First, we want to rebuild the nested set:

  • php symfony propel:build-nested-set

After this, I would recommend clearing your application cache:

  • php symfony cc

Then you can restart PHP-FPM:

  • On Ubuntu 14.04: sudo service php5-fpm restart
  • On Ubuntu 16.04: sudo systemctl restart php7.0-fpm

And perhaps re-index for good measure:

  • php symfony search:populate

Let us know if that gets the treeview working properly!

RE: making dates inheritable, I will talk to our team and see if I can get a rough estimate for you :)

RE: the 2.4 release, we are currently aiming for the end of July for a public release. We are in the testing phase now!

Regards,



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

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.

manuelbu...@gmail.com

unread,
Jun 14, 2017, 12:40:36 PM6/14/17
to AtoM Users
Hi Dean,
Thank you very much again! I haven't access to the terminal now, I'm traveling abroad and can not connect until next week. I will test your solutions and comment on the results.
Regards!

Manuel Bueno (AHCCOOA)

unread,
Jun 20, 2017, 4:56:27 AM6/20/17
to AtoM Users, manuelbu...@gmail.com
Hi Dean (and everyone),

1. Regarding the treeview: We're using Windows OS, php.6.25-7.10 and Wampserver64... and the solution that you recomended is for Linux. Are there any similar alternative for Windows? Thank you very much.

2. Import Digital Objets in the correct order. I`ve done some test importing CSV files via user interface and I`ve got good results. I modified the ISAD archival description CSV template, changing de column "digitalObjectURI" for "digitalObjectPath" and previously, by putting all the image files in a directory on the server. The import is apparently made correctly, the description and the files are imported in the correct order... It works well! ;) But I get a strange message that says: "Import completed. The following iusses were encountered: "convert" is not recognized as a command... (attach screenshot)". Could this be a problem in the future?

Again, thank you very much and best regards!
IssuesImportacion.JPG

Dan Gillean

unread,
Jun 20, 2017, 11:50:45 AM6/20/17
to ICA-AtoM Users
Hi Manuel,

Regarding WAMP - we do not test AtoM on other platforms so the advice I can offer you is limited, unfortunately. We do tag all WAMP and XAMPP posts as "Windows" so you might want to take a look at some of the other tagged thread in our forum, to see if you can find some suggestions:

Despite this, if you have AtoM installed then I believe the "php symfony" commands should work if run from the AtoM root directory. The only thing you will have to figure out is how to restart PHP-FPM in your environment.

Regarding the import: I'm glad to hear this approach has worked better for you! I have never seen this particular warning before - it doesn't appear that it prevented the import from completing, however. One of our developers thinks this is the binary from imagemagick that converts image formats - it sounds like you might not have imagemagick installed? Please see the list of requirements, including the additional packages listed:

If you are uploading digital objects, we strongly recommend you install all of these additional dependencies - AtoM uses them to handle digital objects.

It is possible that some of them are not available in Windows and/or via WAMP. This is why, for Windows users, we prefer to recommend virtualization, so you can use something like VirtualBox to install AtoM in a Linux environment. If you continue to run into issues using WAMP, you might want to consider this.

Cheers,


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

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.

To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
Reply all
Reply to author
Forward
0 new messages