<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>2 aug 2012 kl. 15.35 skrev Martin Kletzander:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 08/02/2012 03:10 PM, Karli Sjöberg wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">2 aug 2012 kl. 15.05 skrev Martin Kletzander:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for reporting this, I've found now where the problem is and it is<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">in libvirt. However this issue is not easy to fix as it reveals more<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">than just this one problem. The format for outputting floating point<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">numbers into JSON string seems to be locale-dependent. Could you send me<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">what locale are you having? I guess you could migrate the guest by<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">starting libvirt with "LC_ALL=C" set.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">OK, wow, awesome! Sorry, I´m not too familiar with Fedora, more of a<br></blockquote><blockquote type="cite">BSD-guy, in learning:) How do you change Locale to something more<br></blockquote><blockquote type="cite">appropriate? And what does it like?<br></blockquote><blockquote type="cite"><br></blockquote><br>If you want to set it for the whole system, I think it is in<br>/etc/sysconfig/i18n but I've never did that in Fedora and I bet there is<br>some GUI or at least a TUI interface for that (system-config-language<br>maybe?). Changing it might require you to reboot or re-login, but if you<br>don't want to do that or even if you don't want to change your locale<br>system-wide, just tell me, I'll help you figure out a procedure to start<br>libvirt without changing any of that.<br></div></blockquote><div><br></div>I asked 'teh goog':) Here´s what I did:</div><div># sed -i -- 's/sv_SE/en_US/' /etc/sysconfig/i18n</div><div># reboot</div><div><br></div><div>And it´s working now, thanks!</div><div><br><blockquote type="cite"><div><br>However, this is really a bug in our code, so you shouldn't be pushed to<br>do that. I'm looking into that right now. Feel free to create a bug on<br>libvirt with the first log saying that our JSON is locale-dependant.<br></div></blockquote><div><br></div>I didn´t get to where I am by /not/ knowing english so I won´t know the difference, but I agree with you in essence. Thanks again.</div><div><br><blockquote type="cite"><div><br>Martin<br></div></blockquote></div><br><div>
<div><br class="Apple-interchange-newline"><br></div><div>Med Vänliga Hälsningar<br>-------------------------------------------------------------------------------<br>Karli Sjöberg<br>Swedish University of Agricultural Sciences<br>Box 7079 (Visiting Address Kronåsvägen 8)<br>S-750 07 Uppsala, Sweden<br>Phone: +46-(0)18-67 15 66</div><div><a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div>
</div>
<br></body></html>