Invalid character entity


#1

When i sync ‘rclone sync foo cloud:foo’, the files are synchronized, and I get no error. Now I want to copy a complete image folder ‘rclone copy foo cloud:foo’’ and get the error:

‘Failed to create file system for “magenta:Bilder”: read metadata failed: XML syntax error on line 49: invalid character entity ö’

I use magentacloud.de (https://webdav.magentacloud.de)


#2

What encoding are the files on your disk?

I recommend you convert them to UTF-8: https://rclone.org/local/#filenames

That might fix it…

If not please post the output of ls of the troublesome directory. (Cut and paste it from the terminal so I can examine the character encodings).


#3

Hi @ncw!

I have the same problem with MagentaCLOUD. I’m pretty sure that I don’t have any umlauts on the webdav side.

This is my situation:

rclone ls magenta: # Works
rclone ls magenta:backup # Error

The error is

Failed to create file system for "magenta:backup": read metadata failed: XML syntax error on line 49: invalid character entity ö

As encoding on my filesystem I use en_US.utf-8.

Any idea what I can do?

Thank you!


#4

Probably the best thing to do is try again with the latest beta and if that doesn’t work then please make a new issue on github with the results of rclone ls -vv --dump bodies magenta:backup and we can debug it together.


#5

Nice! It works with the beta version. Thank you!


#6

Great :smiley: And no problems!