Closed lukavdplas closed 4 months ago
I don't get this error on the latest develop branch. Could you show the contents of the response?
For the GET request on /api/catalogs/catalogs/
:
[
{
"@id": "https://edpop.hum.uu.nl/readers/gallica",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/Catalog"
],
"https://schema.org/description": [
{
"@value": "Digital library of the Bibliothèque nationale de France and its partners"
}
],
"https://schema.org/identifier": [
{
"@value": "gallica"
}
],
"https://schema.org/name": [
{
"@value": "Gallica"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/pierre_belle",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/Catalog"
],
"https://schema.org/description": [
{
"@value": "Bibliography of early modern editions of Pierre de Provence et la Belle Maguelonne (ca. 1470-ca. 1800)"
}
],
"https://schema.org/identifier": [
{
"@value": "pierre_belle"
}
],
"https://schema.org/name": [
{
"@value": "Pierre and Belle"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/vd18",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "Verzeichnis der im deutschen Sprachbereich erschienenen Drucke des 18. Jahrhunderts"
}
],
"https://schema.org/identifier": [
{
"@value": "vd18"
}
],
"https://schema.org/name": [
{
"@value": "VD18"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/vd16",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "Verzeichnis der im deutschen Sprachbereich erschienenen Drucke des 16. Jahrhunderts"
}
],
"https://schema.org/identifier": [
{
"@value": "vd16"
}
],
"https://schema.org/name": [
{
"@value": "VD16"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/sbti",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/Catalog"
],
"https://schema.org/description": [
{
"@value": "An index of the names, trades and addresses of people involved in printing in Scotland up to 1850"
}
],
"https://schema.org/identifier": [
{
"@value": "sbti"
}
],
"https://schema.org/name": [
{
"@value": "Scottish Book Trade Index (SBTI)"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/ustc",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "An open access bibliography of early modern print culture"
}
],
"https://schema.org/identifier": [
{
"@value": "ustc"
}
],
"https://schema.org/name": [
{
"@value": "Universal Short Title Catalogue (USTC)"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/hpb",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "The HPB Database (previously called the Hand Press Book Database) is a steadily growing collection of files of catalogue records from major European and North American research libraries covering items of European printing of the hand-press period (c.1455-c.1830) integrated into one file."
}
],
"https://schema.org/identifier": [
{
"@value": "hpb"
}
],
"https://schema.org/name": [
{
"@value": "Heritage of the Printed Book (HPB)"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/kb",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "General catalogue of KB, national library of The Netherlands."
}
],
"https://schema.org/identifier": [
{
"@value": "kb"
}
],
"https://schema.org/name": [
{
"@value": "Koninklijke Bibliotheek (KB)"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/cerlthesaurus",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/Catalog"
],
"https://schema.org/description": [
{
"@value": "The CERL Thesaurus file contains forms of imprint places, imprint names, personal names and corporate names as found in material printed before the middle of the nineteenth century - including variant spellings, forms in Latin and other languages, and fictitious names."
}
],
"https://schema.org/identifier": [
{
"@value": "cerlthesaurus"
}
],
"https://schema.org/name": [
{
"@value": "CERL Thesaurus"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/stcn",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/Catalog"
],
"https://schema.org/description": [
{
"@value": "National biography of The Netherlands until 1801"
}
],
"https://schema.org/identifier": [
{
"@value": "stcn"
}
],
"https://schema.org/name": [
{
"@value": "Short-Title Catalogue Netherlands (STCN)"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/vd17",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "Verzeichnis der im deutschen Sprachbereich erschienenen Drucke des 17. Jahrhunderts"
}
],
"https://schema.org/identifier": [
{
"@value": "vd17"
}
],
"https://schema.org/name": [
{
"@value": "VD17"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/bnf",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "General catalogue of the French National Library"
}
],
"https://schema.org/identifier": [
{
"@value": "bnf"
}
],
"https://schema.org/name": [
{
"@value": "Bibliothèque nationale de France (BnF)"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/vdlied",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "Das Verzeichnis der deutschsprachigen Liedflugschriften"
}
],
"https://schema.org/identifier": [
{
"@value": "vdlied"
}
],
"https://schema.org/name": [
{
"@value": "VDLied"
}
]
},
{
"@id": "https://edpop.hum.uu.nl/readers/fbtee",
"@type": [
"https://dhstatic.hum.uu.nl/edpop-records/latest/BibliographicalCatalog"
],
"https://schema.org/description": [
{
"@value": "Mapping the Trade of the Société Typographique de Neuchâtel, 1769-1794"
}
],
"https://schema.org/identifier": [
{
"@value": "fbtee"
}
],
"https://schema.org/name": [
{
"@value": "French Book Trade in Enlightenment Europe (FBTEE)"
}
]
}
]
Ah, I see, the context is missing. That is likely because a version of restframework-rdf
is installed that does not have the JSON-LD context support yet. The version of restframework-rdf
in requirements should be pointing at the git version, but I will make a release later today, because pointing at git branches in requirements.txt does not always work well.
Yes, I had run pip install -r requirements.txt
but that may be the problem. Thanks!
Currently, if I start up a local server from the
develop
branch, catalogues won't load. Console shows the following message:@tijmenbaarda I see you wrote the
JsonLdCollection
that throws this exception; any idea what's going wrong here?