Skip to content

Unhandled Exception: MissingPlatformDirectoryException(Unable to get application documents directory) #1193

Closed

Description

@abdodz1234

Unable to load from the cursor theme
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: MissingPlatformDirectoryException(Unable to get application documents directory)
#0 getApplicationDocumentsDirectory (package:path_provider/path_provider.dart:123)

#1 StackFileSystem.applicationLogsDirectory (package:stackwallet/utilities/stack_file_system.dart:216)

#2 main (package:stackwallet/main.dart:202)

both version sw-v2.3.1-linux.AppImage & sw-v2.3.2-linux.AppImage

Image

Activity

  1. sysfu commented on Sep 29, 2025

    @sysfu

    Reproduced this issue on Void linux (glibc) on last three versions of Stack Wallet AppImage.

  2. studentredeemer commented on Oct 13, 2025

    @studentredeemer

    You have to install xdg-user-dirs, or else the app won't be able to find your documents directory.

  3. sysfu commented on Oct 15, 2025

    @sysfu

    You have to install xdg-user-dirs, or else the app won't be able to find your documents directory.

    installing that package resolved the issue, thank you.

  4. julian-CStack commented on Oct 21, 2025

    @julian-CStack
    Collaborator

    XDG env is required for stack wallet on linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions