langsci / pypi

Packages for the Python Package index
2 stars 1 forks source link

Error in registering a chapter with no abstract to zenodo #16

Closed kopeckyf closed 3 years ago

kopeckyf commented 3 years ago

Entries with a description of less than 400 characters are rejected by the Zenodo API.

One workaround is to temporarily insert an \abstract{} into the offending chapter, e.g.

\abstract{This is the preface to the volume VOLUMETITLE.}

But maybe there is another solution.

Glottotopia commented 3 years ago

are you sure that the limit is 400? I am pretty certain I have uploaded texts like "replace this dummy abstract on Zenodo" via the API, which is much shorter than 400 characters

kopeckyf commented 3 years ago

Indeed, I can't remember where the 400 comes from. It definitely works to send an abstract to Zenodo with This is the preface to the volume VOLUMETITLE. even if the resulting char count is less than 400.

kopeckyf commented 3 years ago

.... But this doesn't solve this issue. The problem remains that one has to manually insert a dummy abstract that is not used in the chapter, but only on Zenodo.

But maybe the only solution would be to convince Zenodo to accept chapters without abstract. Maybe that's a long shot.

Glottotopia commented 3 years ago

I think there is a difference between \abstract{} and ` (nothing). One of them should work, but I can't remember which one. I think it is OK that the program complains when there is no information about an abstract at all. Positive information\noabstract` is useful, as it shows that there is intentionally no abstract.