[Archivesspace_Users_Group] HTML Codes
Johna L Von Behrens
jvb at sfasu.edu
Tue May 19 11:29:09 EDT 2015
Is there a way to fix all of these types of problems without going through them one by one?
[i]The Garden of the Plynck[/i]. First draft, ca. 1920<http://144.96.123.231/repositories/2/archival_objects/640>
These are found in titles and in instances.
Johna Von Behrens, MLIS, MSED
Archives and Repository Librarian<http://library.sfasu.edu/etrc/academic>
East Texas Research Center<http://library.sfasu.edu/etrc/>
Stephen F. Austin State University<http://www.sfasu.edu/>
PO Box 13055 SFA Station
Nacogdoches<http://www.ci.nacogdoches.tx.us/>, TX 75962
Phone 936.468.1536
Fax 936.468.4117
asketrc at sfasu.edu<mailto:asketrc at sfasu.edu>
The views and opinions expressed in this message are my own and do not necessarily reflect the views and opinions of
Stephen F. Austin State University, its Board of Regents, or the State of Texas.
The views and opinions expressed in this message are my own and do not necessarily reflect the views and opinions of
Stephen F. Austin State University, its Board of Regents, or the State of Texas.
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Callahan, Maureen
Sent: Monday, May 18, 2015 6:25 PM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] rad "delete repos" script
Hey Chris,
I’m using your delete repositories ruby script (https://gist.github.com/cfitz/4fefcfa659ef18bfbe6c<https://urldefense.proofpoint.com/v2/url?u=https-3A__gist.github.com_cfitz_4fefcfa659ef18bfbe6c&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=RBqQg3yCA7q_BXnHYD4RreemM0umf2vDLaFj1BqGAKQ&e=>), and I hit an error:
PLEASE RE-ENTER THE REPOSITORY NAME TO VERIFY THIS IS WHAT YOU WANT TO DO : /repositories/2
http://localhost:8089//repositories/2/accessions?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_accessions-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=EfqpPvbKw_V8850Uth2BW2TPnK5MhSANnrzPNxg4es8&e=>
##############################
deleting accessions
http://localhost:8089//repositories/2/archival_objects?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_archival-5Fobjects-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=SD8UZ3Xm9WdWT7i_KNmbEx8pY8Kz42l9cBBnmmXM54s&e=>
##############################
deleting archival_objects
http://localhost:8089//repositories/2/classification_terms?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_classification-5Fterms-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=KOCk5jIUvar8FSrMRvG0-mdIYcC9VW7v0scVIoh7PYk&e=>
##############################
deleting classification_terms
http://localhost:8089//repositories/2/classifications?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_classifications-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=z-071_I8XuJjBwuKMZqucndTFiU_-eBxWr5MGMT5eWw&e=>
##############################
deleting classifications
http://localhost:8089//repositories/2/digital_object_components?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_digital-5Fobject-5Fcomponents-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=W3EaH0b7YAyyMHdNvRlBDmQLhLwKN4H6lBSQN4CHla4&e=>
##############################
deleting digital_object_components
http://localhost:8089//repositories/2/digital_objects?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_digital-5Fobjects-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=0P49AojKIPXd1EK4K2HIklvghlny8ldWYm8f7RsH1JQ&e=>
##############################
deleting digital_objects
http://localhost:8089//repositories/2/events?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_events-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=WOxrb7-sgnCitdJvJPLOPXtjn48DQGS1ML-QAm-UzKc&e=>
##############################
deleting events
http://localhost:8089//repositories/2/resources?all_ids=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8089__repositories_2_resources-3Fall-5Fids-3Dtrue&d=AwMGaQ&c=2X_btuPRWkGwRX26NHIotw&r=tQ2tv-hfgUIirMrmRvnobg&m=-azWf3RASslJX2Y1SDPDgilvMQXZoroagEteZvf2SWg&s=i_kozgwRP-YE-qzr2DsZPtDkZfKup5zJrx3G4dBKpVg&e=>
##############################
deleting resources
Attempting to delete /repositories/2
/usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!': 409 Conflict (RestClient::Conflict)
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:495:in `process_result'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'
from /usr/local/Cellar/ruby/2.2.0/lib/ruby/2.2.0/net/http.rb:853:in `start'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient.rb:81:in `delete'
from delete_repo.rb:39:in `delete_repo'
from delete_repo.rb:74:in `<main>’
Do you have any thoughts why I can’t seem to get the delete to stick?
Thanks!
Maureen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150519/45ebf349/attachment.html>
More information about the Archivesspace_Users_Group
mailing list