mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2024-04-29
This commit is contained in:
@ -152,4 +152,18 @@ COPY 25666
|
||||
|
||||
- Spend some time looking at duplicate DOIs again...
|
||||
|
||||
## 2024-04-29
|
||||
|
||||
- Start working on the IFPRI 2020–2021 batch migration
|
||||
- I modified my `check_duplicates.py` script to check for DOIs instead of titles, and use a similarity of 1.0 to make sure the match is exact
|
||||
- I noticed something in the Tomcat log:
|
||||
|
||||
```console
|
||||
tomcat9[690]: WARNING: The HTTP response header [Content-Disposition] with value [attachment; filename="Literature review on Women’s Empowerment and their Resilience2.pdf"] has been removed from the response because it is invalid
|
||||
tomcat9[690]: java.lang.IllegalArgumentException: The Unicode character [’] at code point [8,217] cannot be encoded as it is outside the permitted range of 0 to 255
|
||||
```
|
||||
|
||||
- I found the bitstream's ID and then used the `ds6_bitstream2itemhandle` [SQL helper function](https://wiki.lyrasis.org/display/DSPACE/Helper+SQL+functions+for+DSpace+6) to find the item's handle
|
||||
- Then I replaced the curly quote with a regular quote in all bistreams
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user