[SOGo] Sogo on Ubuntu Hardy : issue with .GNUstepDefaults EOF
Vincent LUCE
sogo@opengroupware.org
Fri, 6 Jun 2008 22:04:56 +0200
------=_Part_9211_19001636.1212782696745
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Wolfgang,
Tonigh I was trying to reproduce the error on other ubuntu vmware machine
and I failed.
Then I went back to the vmware on which I had some issue but everything was
OK. That is, when I create a file with default command there is no 0x0A at
the end of it. If I add one 0x0A at the enf of the file then default read
command is still able to read the file.
I did not instal anything on this Vmware since I had the problem. The only
thing I did was to a shutdown and restart...
Vincent
2008/6/6 Vincent LUCE <vincent.luce@gmail.com>:
> Hi Wolfgang,
>
> It's a very strange behavior.
> I made two fresh installations of Ubuntu server 8.0.4 in VMWare vitrual
> machines.
>
> The first time I read the installation note on www.inverse.ca second time
> I used Mark Pavlichuk's script.
>
> In both case, when I used defaults command to create a new .GNUDefaults
> file the file is created without an ending 0x0A
>
> When I use defaults command to read a .GNUDefaults file saved with vi
> (which put an 0x0A at the end of the file) I have the following error :
> $sudo defaults -u sogo read
> 2008-06-03 18:13:55.198 defaults[32334] File NSDictionary.m: 609. In
> [GSMutableDictionary -initWithf file
> '/home/sogo/GNUstep/Defaults/.GNUstepDefaults' does not contain a dictionary
>
>
> The only solution I found was to remove the last caracter (0x0A) in
> .GNUstepDefaults with hexedit
>
> I am going to reinstall Ubuntu server 8.0.4 to check defaults behavior
> before I install and compile everything.
>
> Vincent
> 2008/6/6 Wolfgang Sourdeau <wsourdeau@inverse.ca>:
>
> Hi Vincent,
>>
>>
>> That character should have no impact on the parsing of the file. Did your
>> solution solve the problem?
>> Is your file ms-dos encoded?
>>
>> --
>> Wolfgang Sourdeau :: +1 (514) 755-3520 :: wsourdeau@inverse.ca
>>
>>
>> --
>> OpenGroupware.org SOGo
>> sogo@opengroupware.org
>> http://mail.opengroupware.org/mailman/listinfo/sogo
>>
>
>
------=_Part_9211_19001636.1212782696745
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div>Wolfgang,</div>
<div> </div>
<div>Tonigh I was trying to reproduce the error on other ubuntu vmware machine and I failed. </div>
<div> </div>
<div>Then I went back to the vmware on which I had some issue but everything was OK. That is, when I create a file with default command there is no 0x0A at the end of it. If I add one 0x0A at the enf of the file then default read command is still able to read the file.<br>
</div>
<div>I did not instal anything on this Vmware since I had the problem. The only thing I did was to a shutdown and restart...</div>
<div> </div>
<div>Vincent<br></div>
<div class="gmail_quote">2008/6/6 Vincent LUCE <<a href="mailto:vincent.luce@gmail.com">vincent.luce@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi Wolfgang,</div>
<div> </div>
<div>It's a very strange behavior.</div>
<div>I made two fresh installations of Ubuntu server 8.0.4 in VMWare vitrual machines.</div>
<div> </div>
<div>The first time I read the installation note on <a href="http://www.inverse.ca/" target="_blank">www.inverse.ca</a> second time I used Mark Pavlichuk's script.</div>
<div> </div>
<div>In both case, when I used defaults command to create a new .GNUDefaults file the file is created without an ending 0x0A</div>
<div> </div>
<div>When I use defaults command to read a .GNUDefaults file saved with vi (which put an 0x0A at the end of the file) I have the following error :</div>
<div class="Ih2E3d">
<div>$sudo defaults -u sogo read<br>2008-06-03 18:13:55.198 defaults[32334] File NSDictionary.m: 609. In [GSMutableDictionary -initWithf file '/home/sogo/GNUstep/Defaults/.GNUstepDefaults' does not contain a dictionary</div>
<div> </div>
<div> </div>
<div>The only solution I found was to remove the last caracter (0x0A) in .GNUstepDefaults with hexedit</div>
<div> </div></div>
<div>I am going to reinstall Ubuntu server 8.0.4 to check defaults behavior before I install and compile everything.</div>
<div><br>Vincent<br></div>
<div class="gmail_quote">2008/6/6 Wolfgang Sourdeau <<a href="mailto:wsourdeau@inverse.ca" target="_blank">wsourdeau@inverse.ca</a>>:
<div>
<div></div>
<div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Vincent,<br><br><br>That character should have no impact on the parsing of the file. Did your solution solve the problem?<br>
Is your file ms-dos encoded?<br><br>-- <br>Wolfgang Sourdeau :: +1 (514) 755-3520 :: <a href="mailto:wsourdeau@inverse.ca" target="_blank">wsourdeau@inverse.ca</a><br><font color="#888888"><br><br>-- <br>OpenGroupware.org SOGo<br>
<a href="mailto:sogo@opengroupware.org" target="_blank">sogo@opengroupware.org</a><br><a href="http://mail.opengroupware.org/mailman/listinfo/sogo" target="_blank">http://mail.opengroupware.org/mailman/listinfo/sogo</a><br>
</font></blockquote></div></div></div><br></blockquote></div><br>
------=_Part_9211_19001636.1212782696745--