Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 409
    • Issues 409
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #1275
Closed
Open
Issue created Nov 12, 2020 by Linus Kaschulla@LinusCDE

Importing some tracks raise type error / Provide better feedback when import fails

Steps to reproduce

  1. Go to a Library.
  2. Open the "Upload" Tab.
  3. Select a folder in "Import music from your server"
  4. Press "Import"

What happens?

Some songs (47 out of over 3k) threw some type errors.

image

There was no additional stack trace in the docker-compose logs (multi-container setup).

Not subscriptable seems to me that python tried to index into the file. Some files had the [] backets, but not all. (Would be worrying otherwise since that could mean potential code injection).

Has someone knowledge of why this error could be thrown? (It only did that for me for 47 out of above 3k songs. So I don't consider it a problem at all for me personally.)

What is expected?

Either no or a more meaningful or expected error. This seems more like a syntax error or a wrong type in the wrong place to me.

Context

Funkwhale version(s) affected: 1.0.1

Edited Aug 26, 2021 by Georg Krause
Assignee
Assign to
Time tracking