Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingPlatformDirectoryException #22

Closed
syswraith opened this issue Jul 16, 2024 · 2 comments
Closed

MissingPlatformDirectoryException #22

syswraith opened this issue Jul 16, 2024 · 2 comments

Comments

@syswraith
Copy link

Process followed while running the app

  1. Downloaded mirarr.zip
  2. Unzipped in the Downloads folder
  3. Given execute permissions using chmod +x Mirarr
  4. ./Mirarr

Console output

(Mirarr:3770): Gdk-CRITICAL **: 13:44:25.784: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPlatformDirectoryException(Unable to get application documents directory)
#0      getApplicationDocumentsDirectory (package:path_provider/path_provider.dart:122)
<asynchronous suspension>
#1      HiveX.initFlutter (package:hive_flutter/src/hive_extensions.dart:12)
<asynchronous suspension>
#2      main (package:Mirarr/main.dart:14)
<asynchronous suspension>

Window contents

Screenshot from 2024-07-16 13-47-30

System specifications

OS: Arch Linux x86_64
Kernel: 6.9.8-zen1-1-zen
Shell: bash 5.2.26
DE: GNOME 46.3.1
Terminal: gnome-terminal
CPU: Intel i3-5005U (4) @ 1.900GHz
@JermellB
Copy link

flutter/gallery#979 (comment)

Try this, there's probably an equivalent for arch.

@mirarr-app
Copy link
Owner

@JermellB is correct. Install xdg-user-dirs on your machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants