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

Error using "Custom icons" for Authenticator: 'Unhandled Exception: PathNotFoundException: Creation of temporary directory failed, path = '/tmp/user/1000' on icon pack load #84

Open
bentolor opened this issue Feb 9, 2024 · 2 comments

Comments

@bentolor
Copy link

bentolor commented Feb 9, 2024

I'm trying to load a Custom icons pack. This failes, regardless of the pack.

~  flatpak run com.yubico.yubioath
…
ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PathNotFoundException: Creation of temporary directory failed, path = '/tmp/user/1000' (OS Error: Datei oder Verzeichnis nicht gefunden, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:55)
#1      _Directory.createTemp.<anonymous closure> (dart:io/directory_impl.dart:152)
<asynchronous suspension>
#2      IconPackManager.importPack (package:yubico_authenticator/oath/icon_provider/icon_pack_manager.dart:112)
<asynchronous suspension>
#3      _ImportActionChip._importAction (package:yubico_authenticator/oath/icon_provider/icon_pack_dialog.dart:184)
<asynchronous suspension>

@bentolor bentolor changed the title Unabale to use "Custom icons" for Authenticator: On loading aegis icon pack reports 'Unhandled Exception: PathNotFoundException: Creation of temporary directory failed, path = '/tmp/user/1000' ' Error using "Custom icons" for Authenticator: 'Unhandled Exception: PathNotFoundException: Creation of temporary directory failed, path = '/tmp/user/1000' on icon pack load Feb 9, 2024
@bentolor
Copy link
Author

bentolor commented Feb 9, 2024

Nota bene: Using the application "Flatseal" and manually allowing access to the aforementioned directory fixes the error.

@Erick555
Copy link
Contributor

Erick555 commented Feb 9, 2024

App has no access to this path so manual override by user is right workaround for this.

You can put those icons in ~/.var/app/com.yubico.yubioath/data so app could access them in normal way.

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

2 participants