id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,launchpad_bug 376,locale-bug in the SMB (WinFUSE) frontend,MartinH,,"There seems to be a locale-bug in the WinFUSE interface (in TahoeFS. dll, in the method LinkFiles in class TahoeInterface). It generates an invalid JSON message for the request ""set_children"" when the current culture uses a comma as the decimal separator character, as is the case in Sweden. This causes the request to fail in webish.py, line 996 (children = simplejson.loads(body)) with a ValueError('Expecting property name: line 1 column 200 (char 200)') This is becuase the generated JSON for ctime/mtime ends up with an unexpected comma as the decimal separator: {{{ { ""cryptopp552.zip"": [ ""filenode"", { ""ro_uri"": ""URI:CHK: hsll4q3uroho5vp2jvywj7ujpe: egi3wuth5n4bacn3hllcujhfdy4uzb5ctj3tvfwm56ho7qqk4haq:3:10:992073"", ""size"": 992073, ""metadata"": { ""ctime"": 1207150752,03319, ""mtime"": 1207150752,03319 } } ] } }}} I could not find the source for TahoeFS.dll in the repository, but using Reflector it seems that the ToString() call converting the double ""TotalSeconds"" into a string should explicitly specify CultureInfo.InvariantCulture instead of implicitly using the current culture, as in span.TotalSeconds.ToString(CultureInfo.InvariantCulture). ",defect,closed,major,eventually,code-frontend,1.0.0,wontfix,windows smb,,