Created
March 18, 2021 17:16
-
-
Save anarchivist/455dffd1402fdbb1643b31d085e63d88 to your computer and use it in GitHub Desktop.
Revisions
-
anarchivist created this gist
Mar 18, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ li-dl-7346-0256:tmp matienzo$ resync-sync -v --capability-list https://pod.stanford.edu/.well-known/resourcesync/normalized-capabilitylist/marcxml --access-token "eyJhbGciOiJIUzI1NiJ9.foobar" -b https://pod.stanford.edu/ pod Reading capability list https://pod.stanford.edu/.well-known/resourcesync/normalized-capabilitylist/marcxml Reading resource list https://pod.stanford.edu/organizations/normalized_resourcelist/marcxml Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/resync/client.py", line 101, in read_resource_list resource_list.read(uri=uri) File "/usr/local/lib/python3.9/site-packages/resync/list_base_with_index.py", line 99, in read self.content_length = int(fh.info()['Content-Length']) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/resync-sync", line 163, in <module> main() File "/usr/local/bin/resync-sync", line 146, in main c.baseline_or_audit(allow_deletion=args.delete, File "/usr/local/lib/python3.9/site-packages/resync/client.py", line 262, in baseline_or_audit src_resource_list = self.find_resource_list() File "/usr/local/lib/python3.9/site-packages/resync/client.py", line 176, in find_resource_list return(self.read_resource_list(rluri)) File "/usr/local/lib/python3.9/site-packages/resync/client.py", line 103, in read_resource_list raise ClientError("Can't read source resource list from %s (%s)" % resync.client_utils.ClientError: Can't read source resource list from https://pod.stanford.edu/organizations/normalized_resourcelist/marcxml (int() argument must be a string, a bytes-like object or a number, not 'NoneType')