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

Unable to switch download directory #16

Closed
Allan-Shand opened this issue Dec 17, 2021 · 9 comments
Closed

Unable to switch download directory #16

Allan-Shand opened this issue Dec 17, 2021 · 9 comments

Comments

@Allan-Shand
Copy link

appimagepoolscreenshot

Using Manjaro KDE I am unable to switch download directory

Appimage stable 4.4.0

@mijorus
Copy link

mijorus commented Dec 17, 2021

I have the same issue as well, PopOS 20.04

Error log in the console

Gtk-Message: 09:15:36.892: Failed to load module "appmenu-gtk-module"
Gtk-Message: 09:15:36.935: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:15:36.936: Failed to load module "canberra-gtk-module"
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: FileSystemException: Cannot open file, path = '/home/altravia/.var/app/io.github.prateekmedia.appimagepool/config/dconf/user' (OS Error: File o directory non esistente, errno = 2)
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:356)
#1      _rootRunUnary (dart:async/zone.dart:1436)
<asynchronous suspension>
#2      GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#3      GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#4      DConfClient.read (package:gsettings/src/dconf_client.dart:85)
<asynchronous suspension>
#5      GSettings.get (package:gsettings/src/gsettings.dart:71)
<asynchronous suspension>
#6      _RawDecoratedWindowButtonState.getTheme (package:window_decorations/src/decorated_button.dart:159)
<asynchronous suspension>

@vetro21
Copy link

vetro21 commented Dec 17, 2021

@Allan-Shand I solved it by installing zenity

appimagepool-x86_64.AppImage %u
flutter: Unsupported operation: Unsupported clipPath child g
flutter: #0      debugPrintStack (package:flutter/src/foundation/assertions.dart:1157)
flutter: #1      FlutterError.dumpErrorToConsole (package:flutter/src/foundation/assertions.dart:978)
flutter: #2      FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1138)
flutter: #3      _Elements.clipPath (package:flutter_svg/src/svg/parser_state.dart:510)
flutter: #4      SvgParserState.parse (package:flutter_svg/src/svg/parser_state.dart:854)
flutter: <asynchronous suspension>
flutter: #5      SvgParser.parse (package:flutter_svg/parser.dart:27)
flutter: <asynchronous suspension>
flutter: #6      Svg.fromSvgString (package:flutter_svg/svg.dart:131)
flutter: <asynchronous suspension>
flutter: #7      Svg.svgPictureDecoder (package:flutter_svg/svg.dart:55)
flutter: <asynchronous suspension>
flutter: Another exception was thrown: Instance of 'DiagnosticsProperty<void>'
flutter: Another exception was thrown: Instance of 'DiagnosticsProperty<void>'
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Exception: Couldn't find the executable zenity in the path.

Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-41-generic (64-bit)
Graphics Platform: X11

edit:
mijorus are you using the flatpak version?
try the appimage

@amr3k
Copy link

amr3k commented Dec 18, 2021

I solved it by installing zenity

Confirming this is the solution in my case.
I'm using Kubuntu 21.10

@Allan-Shand
Copy link
Author

@vetro21 Installing zenity solved the issue for me too on Manjaro Qonos 21.2 rc

I will leave this issue open until this is fixed

@rijnhard
Copy link

rijnhard commented Jan 7, 2022

also seeing this in the flatpak.

System:
Kernel: 5.4.0-92-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
base: Ubuntu 20.04 focal

zenity is installed, and I did grant access to all files via Flatseal, so doesn't make sense.

@mnipritom
Copy link
Contributor

I have made a pull request to miguelpruivo/flutter_file_picker#932 that fixes this issue on KDE while running appimage version of this application. As for the instances where zenity is already installed but not being called, might be a flatpak permissions related issue, although I'm not sure.

@mnipritom
Copy link
Contributor

demo.mp4

@mnipritom
Copy link
Contributor

Flatpak invokes zenity now, but doesn't get file system permissions

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] 
Unhandled Exception: FileSystemException: Cannot open file, 
path = '/home/scholar/.var/app/io.github.prateekmedia.appimagepool/config/dconf/user' 
(OS Error: No such file or directory, errno = 2)

Flatpak version: 4.9.0

@prateekmedia
Copy link
Owner

I think this should be fixed in v5, if you still face it I will reopen this issue. also if you are using flatpak I would suggest you to use AppImage instead.

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

7 participants