<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 4:16 PM, Free Ekanayaka <span dir="ltr"><<a href="mailto:free@64studio.com">free@64studio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Raphaël,<br>
<br>
|--==> On Wed, 27 Aug 2008 12:48:08 +0200, "Raphaël Pinson" <<a href="mailto:raphink@gmail.com">raphink@gmail.com</a>> said:<br>
<br>
  RP> Now that's where I was left experimenting last week, and was down to that<br>
  RP> same state. But then, I did something like this (which I cannot do right now<br>
  RP> because I've played so much that my inifile.aug is broken on this machine<br>
  RP> ;)).<br>
<br>
  RP> * fire up augtool<br>
  RP> * print an INI File with empty comments in it ('# \n' for example)<br>
  RP> * change a value in this INI File (whatever value, really)<br>
  RP> * save<br>
<br>
  RP> When I tried this, augeas refused to save (since version 0.3.0, it worked<br>
  RP> before), saying that NULL is not a proper value for the "#comment" node.<br>
  RP> I've since tried with other stuff, like empty values in dput.aug (e.g.<br>
  RP> 'pre_upload_command =', which is fine) and get the same result.<br>
<br>
  RP> Could you try it on your side Free?<br>
<br>
It happens here too, I'm using the bleeding-edge version from hg. To<br>
reproduce it:<br>
<br>
cat <<EOF > fakeroot/etc/<a href="http://dput.cf" target="_blank">dput.cf</a><br>
#<br>
[DEFAULT]<br>
login = username<br>
EOF<br>
<br>
cat <<EOF | augtool -I lenses/ -r fakeroot/<br>
set /file/etc/<a href="http://dput.cf/target/login" target="_blank">dput.cf/target/login</a> me<br>
save<br>
EOF</blockquote><div><br>Try <br><br>cat <<EOF | augtool -I lenses/ -r fakeroot/<br>set /files/etc/<a href="http://dput.cf/target/login" target="_blank">dput.cf/target/login</a> me<br>save<br>get /augeas/files/etc/<a href="http://dput.cf/error/message">dput.cf/error/message</a><br>
EOF<br><br>To get more info<br><br><br><br>Raphaël<br><br><br></div></div></div>