Bug#655632: libreoffice-calc: Fails to save files in directories with spaces in dirname
retitle 655632 libreoffice-calc: Fails to save file
thanks
On Thu, Jan 12, 2012 at 10:11:03PM +0100, Olivier Berger wrote:
>
> Hi.
>
> I'm moving an ODT file inside a directory whose name contains a space. It opens fine with libreoffice-calc. However, after having modified it inside, it's no longer possible to save the changes.
>
> Here's the scenario :
> $ cd /tmp/
> $ mkdir "Garde Clement"
> $ ls -alrt
> ...
> drwxr-xr-x 2 olivier olivier 4096 janv. 12 21:57 Garde Clement
> drwxrwxrwt 18 root root 12288 janv. 12 21:57 .
> $ cd Garde\ Clement/
> $ cp ~/Documents/Garde\ clement/fiche-paie-ass-mat2.ods ./
> $ LANG=C libreoffice fiche-paie-ass-mat2.ods
>
> Then, the file opens fine, but I can see this in the console :
>
> (soffice:4810): Gtk-WARNING **: Unable to retrieve the file info for `file:///tmp/Garde%2520Clement/fiche-paie-ass-mat2.ods': Error stating file '/tmp/Garde%20Clement/fiche-paie-ass-mat2.ods': No such file or directory
>
> I can make changes, but at the time of saving, I get an error dialogue :
> Error saving the document fiche-paie-ass-mat2.ods:
> Write Error.
> The file could not be written.
>
It seems the saving problem is not related to the space in the dirname, as the same file exhibits problems in another dir too.
And the Gtk-Warning is only displayed when libreoffice-gnome and/or libreoffice-gtk are installed, btw.
Retitling then.
Still, I suspect something weird with the space interpretation in the dirname... :-/ But probably not my main problem so far.
Being unable to save my file changes is higher priority.
Thanks in advance.
Best regards,
--
Olivier BERGER
(OpenPGP: 4096R/7C5BB6A5)
http://www.olivierberger.com/weblog/
Reply to: