Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Coscine Python SDK Coscine Python SDK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Coscine
  • community features
  • Coscine Python SDKCoscine Python SDK
  • Issues
  • #7
Closed
Open
Created Nov 16, 2021 by Constantin Sander@constantin.sander

Objects without metadata (e.g. S3 resources) lead to mixed up metadata to file mapping

Hi, thank you for your Python client.

However, when using S3 resources with files for which no metadata has been (yet) created, the metadata array of the REST api is missing this entry and the Python client mixes up the metadata for an object when zipping metadata and files (https://git.rwth-aachen.de/coscine/docs/public/coscine-python-client/-/blob/679fc1047bc076e1af26fc704b0cacd6c7826c46/src/coscine/resource.py#L107).

It can also happen that the S3 object cannot be selected (e.g., to update its metadata) as the zip results in an empty / too small list.

Edited Nov 16, 2021 by Constantin Sander
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking