[Bug]: Error when using WebDav on Android
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.
Version
2.3.0
Platform
Android
Relevant log output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
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
type 'Null' is not a subtype of type 'FileSystemDirectory<Uint8List>' in type cast
#0 GeneralDirectoryFileSystem.getRootDirectory.
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) https://github.com/LinwoodDev/Butterfly/issues/857#issuecomment-2897790426
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 https://github.com/LinwoodDev/Butterfly/issues/857#issuecomment-2897790426, 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) https://github.com/LinwoodDev/Butterfly/issues/857#issuecomment-2903221359
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 https://github.com/LinwoodDev/Butterfly/issues/857#issuecomment-2903221359, 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
Added in 2.4.0-beta.0, can you try it out and give feedback? Don't forget to make a backup
Also added in 2.3.2
Still not working, but I am more sure it is my webdav at fault.
Hi, did you get an error message? I added a few useful messages if an operation fails