Hi!

On Sun, Jul 19, 2020 at 9:34 AM Koopa Koopa <codingko...@gmail.com> wrote:
>
> Hi all,
>
> I'm looking to share a folder between my Arch Linux host and a Windows 10 
> guest, and SPICE's folder sharing with webdav seems to be the best option for 
> me. I've set up the QEMU devices that webdav needs, and installed the Windows 
> service. I have the drive mapped, and am able to navigate the host folder 
> (apart from the occasional "Windows cannot access 
> \\localhost@9843\DavWWWRoot\" that doesn't occur again), and copy files from 
> the host to the guest. When trying to copy a new file (with data) or write to 
> an existing file from the guest, though, the application (e.g. File Explorer, 
> or other programs which save files) hangs for a little bit, before the 
> transaction fails. For File Explorer, it displays "Error 0x80070021: The 
> process cannot access the file because another process has locked a portion 
> of the file."
>
> This is the output of remote-viewer:
>   (remote-viewer:16120): GSpice-WARNING **: 12:58:46.205: Warning no 
> automount-inhibiting implementation available

As you say, this happens in non-GNOME environments. But it's related
to usb redirection, not webdav.
>
>   (remote-viewer:16120): phodav-WARNING **: 12:58:57.910: 
> (../phodav-2.4/libphodav/phodav-method-propfind.c:70):prop_resourcetype: code 
> should not be reached
>
>   (remote-viewer:16120): phodav-WARNING **: 12:59:04.714: 
> (../phodav-2.4/libphodav/phodav-method-propfind.c:70):prop_resourcetype: code 
> should not be reached

I know that these warnings can happen for example if the shared folder
contains a broken symlink. Is that your case? Basically anything in
the shared folder that isn't a regular file or a directory can emit
this warning, but it shouldn't cause the described issues afaik.
>
>   (remote-viewer:16120): GSpice-WARNING **: 12:59:04.793: 
> (../spice-gtk-0.38/src/channel-webdav.c:330):demux_to_client_cb: runtime 
> check failed: (size == c->demux.size)
>   phodav-Message: 13:00:06.047: missing lock: /testfile 
> urn:uuid:ceb212f1-f8af-4dd3-b36c-a7e627b6c08a
>   phodav-Message: 13:00:06.062: missing lock: /testfile 
> urn:uuid:ceb212f1-f8af-4dd3-b36c-a7e627b6c08a
>   phodav-Message: 13:00:06.076: missing lock: /testfile 
> urn:uuid:ceb212f1-f8af-4dd3-b36c-a7e627b6c08a

I'm not able to reproduce it, so more logs would be helpful.
Could you please run remote-viewer or spicy with the following options
and attach the output?
G_MESSAGES_DEBUG=phodav remote-viewer --spice-debug

>
> I read that the first GSpice error always occurs on non-GNOME host 
> environments. The phodav error occurs whenever I view the root directory of 
> the share, or try copying/writing to a file anywhere in the share. The second 
> GSpice and other phodav messages occur when copying/writing a file in the 
> share.
>
> This occurs both with remote-viewer, and spicy. The same result occurs 
> whether or not I have the "Read only" checkbox in remote-viewer checked.
>
> Thanks!
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Thanks,
Jakub

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to