Skip to content

Track downloading fails due to unset Download Location, but no error message describes this reason #2853

@echedey-ls

Description

@echedey-ls

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

If Download location is not set, downloading tracks fails without any hint of the problem. Just the failure icon (red x) is shown in the downloading list.

Expected Behavior

To inform the user that the Download location has not been set. I haven't read the code, but it would be great to verify this before trying to download the track, if it is not being done so already. I don't think so from the time it takes between retrying and the download failing.

E.g.: Download location is not set. You can set it from the settings.

Steps to reproduce

  1. Restore default configuration (this clears Download location).
  2. Try to download a track

Logs

Logs
----------------------------------------
[2025-11-15 19:35:06.139457]---------------------
PathAccessException: Cannot open file, path = 'Butterfly - MIYAVI.m4a' (OS Error: Access is denied.
, errno = 5)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.open.<anonymous closure> (dart:io/file_impl.dart:442)
#2      _rootRunUnary (dart:async/zone.dart:1538)
#3      _CustomZone.runUnary (dart:async/zone.dart:1429)
<asynchronous suspension>
#4      _FileStreamConsumer.addStream.<anonymous closure> (dart:io/file_impl.dart:223)
<asynchronous suspension>

Operating System

Windows 10

Spotube version

v5.1.0

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions