-
Notifications
You must be signed in to change notification settings - Fork 99
[Bug]: Error when using WebDav on Android #857
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
Comments
Hello, thanks for reporting. Can you edit the issue to fill in the relevant information in the correct spaces? The platform should be wrong. |
type 'Null' is not a subtype of type 'FileSystemDirectory<Uint8List>' in
type cast
#0 GeneralDirectoryFileSystem.getRootDirectory.<anonymous closure>
(package:lw_file_system/src/api/base/directory.dart:13)
<asynchronous suspension>
#1 KeyDirectoryFileSystem.getKeys
(package:lw_file_system/src/api/base/key.dart:155)
<asynchronous suspension>
#2 GeneralKeyFileSystem.listFiles
(package:lw_file_system/src/api/base/key.dart:34)
<asynchronous suspension>
#3 Stream.first.<anonymous closure> (dart:async/stream.dart:1661)
<asynchronous suspension>
#4 GeneralKeyFileSystem.getDefaultFile
(package:lw_file_system/src/api/base/key.dart:7)
<asynchronous suspension>
#5 _ProjectPageState._load (package:butterfly/views/main.dart:183)
<asynchronous suspension>
I'm not sure how to find more of the log, this is what popped up on my
android app when I tried to access my dav.
Alas this is my first attempt to report a bug. Do let me know what to do to
better share the wanted information.
…On Wed, May 21, 2025, 7:28 AM CodeDoctor ***@***.***> wrote:
*CodeDoctorDE* left a comment (LinwoodDev/Butterfly#857)
<#857 (comment)>
Hello, thanks for reporting. Can you edit the issue to fill in the
relevant information in the correct spaces? The platform should be wrong.
Also I think you forgot to paste the full logs since i can see the stack
trace but not the error message
—
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEDE4ITH7ZEXAPF65PKOXL27RWODAVCNFSM6AAAAAB5TEEAMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOJXG44TANBSGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks this helps me. Can you give me a step by step how i can reproduce it? |
I created a webdav space on my website hosting, but I can't figure out how
to make it work for butterfly. I am betting it is my own error of how I set
something up. I don't know what sync root directory check box does. I tried
to use it both on the desktop and on my phone and the error I shared is the
one I get when I click on file names on my phone. I've used open source
software for years but I haven't ever sent in a bug and the option popped
up, I just went for it, but I don't actually know how to help beyond what
I've said. Is there any documentation on how to get the webdav set up? I
could try again.
…On Thu, May 22, 2025 at 11:35 PM CodeDoctor ***@***.***> wrote:
*CodeDoctorDE* left a comment (LinwoodDev/Butterfly#857)
<#857 (comment)>
Thanks this helps me. Can you give me a step by step how i can reproduce
it?
—
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEDE4IXQHEWCQR4QIGCMTL272QPPAVCNFSM6AAAAAB5TEEAMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBTGIZDCMZVHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sorry for the late response. I will add some error messages to help with this error, I sadly can't see why this happens. For me, it looks like the webdav interface doesn't correctly respond to the request of the app |
What happened?
A bug happened!
I perhaps didn't set up dav correctly
I can see the file I made on my desktop saved to dav
but when I try to open it
I get
#0 GeneralDirectoryFileSystem.getRootDirectory. (package:lw_file_system/src/api/base/directory.dart:13)
#1 KeyDirectoryFileSystem.getKeys (package:lw_file_system/src/api/base/key.dart:155)
#2 GeneralKeyFileSystem.listFiles (package:lw_file_system/src/api/base/key.dart:34)
#3 Stream.first. (dart:async/stream.dart:1661)
#4 GeneralKeyFileSystem.getDefaultFile (package:lw_file_system/src/api/base/key.dart:7)
#5 _ProjectPageState._load (package:butterfly/views/main.dart:183)
Version
2.3.0
Platform
Android
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: