-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimal commit to correct batch_gui #39
base: master
Are you sure you want to change the base?
Conversation
@flummingbird Would it be possible to either attach or send me a sample batch of compound objects to test the pr against? Thanks in advance. |
These are some odd items. FYI. I'm not sure why but the images aren't
showing up. but at least the structure looks good.
Let me know if you encounter any issues.
-Will
…On Mon, Oct 29, 2018 at 1:48 PM Marcus Emmanuel Barnes < ***@***.***> wrote:
@flummingbird <https://github.com/flummingbird> Would it be possible to
either attach or send me a sample batch of compound objects to test the pr
against? Thanks in advance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADe_35qXgA1GUA3C4qSwHiRZ8qr0Qw5kks5up01ogaJpZM4Xcz38>
.
|
So, some problems: First, I zipped up the top-level directory (root) where paths are root/object1/child1 etc. Result: A single compound object called MODS, every file in all directories is its child. Second, I tried zipping all the child objects together (no root directory). Result: errors.
Third, tried the first approach again, but with structure.xml appropriately included. Result: errors.
Fourth, tried the second approach (zip compound object directories together, no root directory), with structure.xml generated. Result: Success! Conclusions:
|
Further notes: For the batch that was ingested successfully, I never did get derivatives out of them. Perhaps it's not calling for derivative generation? Ingesting via Drush there were no problems. |
Apologies for the bad zips, and lack of instructions.
The batches are failing to call derivative regeneration. I will look to fix
this as soon as I make sense of the bad zips I gave originally.
I just ran a quick test locally. I had success with two zips (I will
include w/ instructions), one with a structure.xml included and one
without. Both created good looking compounds (minus derivatives).
I had expected anyone doing a GUI zip batch would rather not run a script
like create_structure_files.php, so I had the module run the script.
I'll see if I can get it to generate derivatives as well.
Thank you for your time,
-Will
On Tue, Jan 22, 2019 at 1:08 PM Brandon Weigel ***@***.***> wrote:
Further notes: For the batch that was ingested successfully, I never did
get derivatives out of them. Perhaps it's not calling for derivative
generation? Ingesting via Drush there were no problems.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADe_36hV3oFNQ9nhcBRkKEYtLeMhURxrks5vF2HEgaJpZM4Xcz38>
.
the zip files are already structured to be ingested via islandora_compound_batch
You will not need to unzip them, they are structured as (root_dir/compound_object/child_obj)
parent.zip includes a valid structure.xml file.
two_parents.zip does not include a structure file. (but one will be created)
parent.zip creates a single compound object with two children images (large_image_cmodel).
two_parents.zip creates two separate compound objects, each with their own two children images (basic_image_cmodel)
|
Resolves #22
@mjordan special thanks to you!