mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 14:45:03 +01:00
Update notes
This commit is contained in:
parent
4c0f0397a6
commit
caee625afd
@ -672,3 +672,35 @@ $ cat output.txt
|
||||
Ali Ramadhan: 0000-0001-5019-1368
|
||||
Ahmad Maryudi: 0000-0001-5051-7217
|
||||
```
|
||||
|
||||
- I was running this on the new list of 1571 and found an error:
|
||||
|
||||
```
|
||||
Looking up the name associated with ORCID iD: 0000-0001-9634-1958
|
||||
Traceback (most recent call last):
|
||||
File "./resolve-orcids.py", line 111, in <module>
|
||||
read_identifiers_from_file()
|
||||
File "./resolve-orcids.py", line 37, in read_identifiers_from_file
|
||||
resolve_orcid_identifiers(orcids)
|
||||
File "./resolve-orcids.py", line 65, in resolve_orcid_identifiers
|
||||
family_name = data['name']['family-name']['value']
|
||||
TypeError: 'NoneType' object is not subscriptable
|
||||
```
|
||||
|
||||
- According to ORCID that identifier's family-name is null so that sucks
|
||||
- I fixed the script so that it checks if the family name is null
|
||||
- Now another:
|
||||
|
||||
```
|
||||
Looking up the name associated with ORCID iD: 0000-0002-1300-3636
|
||||
Traceback (most recent call last):
|
||||
File "./resolve-orcids.py", line 117, in <module>
|
||||
read_identifiers_from_file()
|
||||
File "./resolve-orcids.py", line 37, in read_identifiers_from_file
|
||||
resolve_orcid_identifiers(orcids)
|
||||
File "./resolve-orcids.py", line 65, in resolve_orcid_identifiers
|
||||
if data['name']['given-names']:
|
||||
TypeError: 'NoneType' object is not subscriptable
|
||||
```
|
||||
|
||||
- According to ORCID that identifier's entire name block is null!
|
||||
|
@ -23,7 +23,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl
|
||||
|
||||
<meta property="article:published_time" content="2018-02-01T16:28:54+02:00"/>
|
||||
|
||||
<meta property="article:modified_time" content="2018-02-18T17:41:05+02:00"/>
|
||||
<meta property="article:modified_time" content="2018-02-19T18:40:43+02:00"/>
|
||||
|
||||
|
||||
|
||||
@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl
|
||||
"@type": "BlogPosting",
|
||||
"headline": "February, 2018",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2018-02/",
|
||||
"wordCount": "4248",
|
||||
"wordCount": "4384",
|
||||
"datePublished": "2018-02-01T16:28:54+02:00",
|
||||
"dateModified": "2018-02-18T17:41:05+02:00",
|
||||
"dateModified": "2018-02-19T18:40:43+02:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -880,6 +880,42 @@ Ali Ramadhan: 0000-0001-5019-1368
|
||||
Ahmad Maryudi: 0000-0001-5051-7217
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>I was running this on the new list of 1571 and found an error:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>Looking up the name associated with ORCID iD: 0000-0001-9634-1958
|
||||
Traceback (most recent call last):
|
||||
File "./resolve-orcids.py", line 111, in <module>
|
||||
read_identifiers_from_file()
|
||||
File "./resolve-orcids.py", line 37, in read_identifiers_from_file
|
||||
resolve_orcid_identifiers(orcids)
|
||||
File "./resolve-orcids.py", line 65, in resolve_orcid_identifiers
|
||||
family_name = data['name']['family-name']['value']
|
||||
TypeError: 'NoneType' object is not subscriptable
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>According to ORCID that identifier’s family-name is null so that sucks</li>
|
||||
<li>I fixed the script so that it checks if the family name is null</li>
|
||||
<li>Now another:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>Looking up the name associated with ORCID iD: 0000-0002-1300-3636
|
||||
Traceback (most recent call last):
|
||||
File "./resolve-orcids.py", line 117, in <module>
|
||||
read_identifiers_from_file()
|
||||
File "./resolve-orcids.py", line 37, in read_identifiers_from_file
|
||||
resolve_orcid_identifiers(orcids)
|
||||
File "./resolve-orcids.py", line 65, in resolve_orcid_identifiers
|
||||
if data['name']['given-names']:
|
||||
TypeError: 'NoneType' object is not subscriptable
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>According to ORCID that identifier’s entire name block is null!</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ Disallow: /cgspace-notes/2015-12/
|
||||
Disallow: /cgspace-notes/2015-11/
|
||||
Disallow: /cgspace-notes/
|
||||
Disallow: /cgspace-notes/categories/
|
||||
Disallow: /cgspace-notes/tags/notes/
|
||||
Disallow: /cgspace-notes/categories/notes/
|
||||
Disallow: /cgspace-notes/tags/notes/
|
||||
Disallow: /cgspace-notes/post/
|
||||
Disallow: /cgspace-notes/tags/
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2018-02/</loc>
|
||||
<lastmod>2018-02-18T17:41:05+02:00</lastmod>
|
||||
<lastmod>2018-02-19T18:40:43+02:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
@ -149,7 +149,7 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2018-02-18T17:41:05+02:00</lastmod>
|
||||
<lastmod>2018-02-19T18:40:43+02:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
@ -158,27 +158,27 @@
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||
<lastmod>2018-02-18T17:41:05+02:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||
<lastmod>2017-09-28T12:00:49+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||
<lastmod>2018-02-19T18:40:43+02:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
||||
<lastmod>2018-02-18T17:41:05+02:00</lastmod>
|
||||
<lastmod>2018-02-19T18:40:43+02:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||
<lastmod>2018-02-18T17:41:05+02:00</lastmod>
|
||||
<lastmod>2018-02-19T18:40:43+02:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user