Dear list,

Ralf Mardorf wrote:
> [...]
> Traceback (most recent call last):
>   File "/usr/sbin/64studio-config", line 24, in <module>
>     main()
>   File "/usr/sbin/64studio-config", line 21, in main
>     studio.save()
>   File "/var/lib/python-support/python2.5/remix.py", line 88, in save
>     self._augeas.save()
>   File "/usr/lib/python2.5/site-packages/augeas.py", line 266, in save
>     raise IOError, "Unable to save to file!"
> IOError: Unable to save to file!
> dpkg: error processing 64studio (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  64studio
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ------------------------------------------------------------------------
> 
> Any ideas?
> 
I believe, I found the source of this problem - which has been annoying 
to me since the OS installation. It seems, this is a bug in the python 
augeas library. At least, the workaround presented in [1] works for me, too:

replace the line
     studio.save()
with:
------------------------- snip ---------------------
     try:
         studio.save()
     except:
        pass
     studio.save()
------------------------- snip ---------------------

Note to non-python programmers: Make sure, the indention is done using 
*4 spaces* for a tab, no "real" tabs!

Maybe someone can confirm if this solves the issue. I guess, it's 
acceptible to add these lines to the package until the augeas library 
has been fixed.

Best regards,
Lutz

Links:
[1] http://www.mail-archive.com/[email protected]/msg01065.html
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to