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 saving book's location #472

Closed
TatyMissy opened this issue Feb 4, 2023 · 7 comments · Fixed by #473
Closed

error saving book's location #472

TatyMissy opened this issue Feb 4, 2023 · 7 comments · Fixed by #473

Comments

@TatyMissy
Copy link

non riesco a trovare il file appena scaricato mi da questo errore

Invalid URI: The hostname could not be parsed.

at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri.CreateUri(Uri baseUri, String relativeUri, Boolean dontEscape)
at Avalonia.Platform.Storage.FileIO.BclStorageFolder.TryGetUri(Uri& uri) in //src/Avalonia.Base/Platform/Storage/FileIO/BclStorageFolder.cs:line 82
at Avalonia.Win32.Win32StorageProvider.<>c__DisplayClass13_0.b__0() in /
/src/Windows/Avalonia.Win32/Win32StorageProvider.cs:line 137
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Avalonia.Win32.Win32StorageProvider.OpenFilePickerAsync(FilePickerOpenOptions options) in /_/src/Windows/Avalonia.Win32/Win32StorageProvider.cs:line 50
at LibationAvalonia.Views.ProductsDisplay.<>c__DisplayClass9_1.<<ProductsGrid_CellContextMenuStripNeeded>b__3>d.MoveNext() in D:\a\Libation\Libation\Source\LibationAvalonia\Views\ProductsDisplay.axaml.cs:line 121

cosa devo fare? prima dell'aggiornamento funzionava per favore grazie

@Mbucari
Copy link
Collaborator

Mbucari commented Feb 4, 2023

@rmcrackan Avalonia's OpenFile Dialog doesn't like window's \\?\ path prefix.

You need to add ".PathWithoutPrefix" to Books LongPath here.

SuggestedStartLocation = new Avalonia.Platform.Storage.FileIO.BclStorageFolder(Configuration.Instance.Books),

And here:

SuggestedStartLocation = new Avalonia.Platform.Storage.FileIO.BclStorageFolder(Configuration.Instance.Books),

@TatyMissy
Copy link
Author

TatyMissy commented Feb 4, 2023 via email

@Mbucari
Copy link
Collaborator

Mbucari commented Feb 4, 2023

Perdonami io non sono esperta di queste cose mi dici come fare? Grazie mille

Questo è un problema nel programma. Stavo dicendo a rmcrackan come risolverlo. Devi aspettare che rmcrackan lo risolva.

@TatyMissy
Copy link
Author

a ok ti ringrazio tanto, scusami ancora purtroppo sono davvero poco esperta di queste cose non avevo capito, aspetto risoluzione perche al momento non mi fa trovare i file, grazie ancora per tutto

@Mbucari
Copy link
Collaborator

Mbucari commented Feb 4, 2023

Fino a quando non viene risolto, puoi utilizzare l'altra versione di Windows.

https://github.com/rmcrackan/Libation/releases/download/v9.2.1/Classic-Libation.9.2.1-windows-classic.zip

@TatyMissy
Copy link
Author

si va benissimo aspetto notizie sei stato gentilissimo grazie ancora

Mbucari added a commit to Mbucari/Libation that referenced this issue Feb 4, 2023
rmcrackan added a commit that referenced this issue Feb 4, 2023
Made changes discussed in previous PR and fixed #472
@rmcrackan
Copy link
Owner

The fix is live in the latest version: 9.2.2. Please let us know if it does not work.

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

Successfully merging a pull request may close this issue.

3 participants