Skip to content

Feature/add aspace client gem#2

Open
eshadatta wants to merge 3 commits intomasterfrom
feature/add_aspace_client_gem
Open

Feature/add aspace client gem#2
eshadatta wants to merge 3 commits intomasterfrom
feature/add_aspace_client_gem

Conversation

@eshadatta
Copy link
Owner

No description provided.

@eshadatta
Copy link
Owner Author

hi @dmnyu ,

I significantly changed the script to use the aspace client gem. I also created another script to use curl if the records are really big. When I ran it with the record you were having issues with:

root@webtools-ip-172-31-13-82 aspace-marc-cli]# ruby download_resource.rb 2 825
I, [2017-11-03T13:36:45.668416 #814]  INFO -- : Logged in
E, [2017-11-03T13:41:45.778088 #814] ERROR -- :
/opt/aspace-marc-cli/lib/check_errors.rb:6:in `handle_errors': unhandled exception
   from /opt/aspace-marc-cli/lib/session.rb:25:in `get_export'
   from download_resource.rb:49:in `<main>'

I was able to get a resource back. However, I didn't try running it with the original script. So, you might want to try running it again just to make sure. However, these changes make the marc-cli and ead-cli more consistent in terms of how they are being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant