<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hey Chris,
<div class=""><br class="">
</div>
<div class="">I’m using your delete repositories ruby script (<a href="https://gist.github.com/cfitz/4fefcfa659ef18bfbe6c" class="">https://gist.github.com/cfitz/4fefcfa659ef18bfbe6c</a>), and I hit an error:</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">PLEASE RE-ENTER THE REPOSITORY NAME TO VERIFY THIS IS WHAT YOU WANT TO DO : /repositories/2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/accessions?all_ids=true" class="">http://localhost:8089//repositories/2/accessions?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting accessions</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/archival_objects?all_ids=true" class="">http://localhost:8089//repositories/2/archival_objects?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting archival_objects</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/classification_terms?all_ids=true" class="">http://localhost:8089//repositories/2/classification_terms?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting classification_terms</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/classifications?all_ids=true" class="">http://localhost:8089//repositories/2/classifications?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting classifications</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/digital_object_components?all_ids=true" class="">http://localhost:8089//repositories/2/digital_object_components?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting digital_object_components</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/digital_objects?all_ids=true" class="">http://localhost:8089//repositories/2/digital_objects?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting digital_objects</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/events?all_ids=true" class="">http://localhost:8089//repositories/2/events?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting events</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><a href="http://localhost:8089//repositories/2/resources?all_ids=true" class="">http://localhost:8089//repositories/2/resources?all_ids=true</a></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">##############################</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">deleting resources</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Attempting to delete /repositories/2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">/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)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:495:in `process_result'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/Cellar/ruby/2.2.0/lib/ruby/2.2.0/net/http.rb:853:in `start'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-1.8.0/lib/restclient.rb:81:in `delete'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from delete_repo.rb:39:in `delete_repo'</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"></span>from delete_repo.rb:74:in `<main>’</div>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Do you have any thoughts why I can’t seem to get the delete to stick?</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Thanks!</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Maureen</div>
</body>
</html>