General input/output error when saving to network drive

I am having a problem saving documents to a share on a network drive. When I
attempt to save a file in Libreoffice to a network share I get the message:

Error saving the document Untitled1:
General Error.
General input/output error.

In the error message the document is always called Untitled1, no matter what
I attempt to call it. Also, if I attempt to open a file on the network share
through Libreoffice, nothing happens: the file does not open, but there is
no error message.

The system is Ubuntu 11.04 on a pc, and the version of Libreoffice is 3.3.2.
The drive is a Western Digital MyBook Live. I can view the shares, and if I
double click files in Ubuntu they will open in Libreoffice fine. I can also
save modified documents to shares on the network drive (can't change the
name though, or I get the above error message) . I tested saving files with
Simple Scan, and it could save new files to shares on the drive with no
problem. Also, I have an old Mac Powerbook G4 with Ubuntu 10.04, and
OpenOffice. The G4 can open and save files to the shares on the drive with
no issues. I think this is a problem with Libreoffice on my machine.

Any though on how I might get Libreoffice to communicate a bit better with
my network drive? Thanks

Hi.
I had something like this happen to me a while back with OOO, I had read
and write permissions but not create.
I can't remember the solution.
Are you browsing the network or mounting the share. Is the share a guest
share or does it have user level access controls.
steve

Hi,

I am having a problem saving documents to a share on a network drive. When I
attempt to save a file in Libreoffice to a network share I get the message:

Error saving the document Untitled1:
General Error.
General input/output error.

In the error message the document is always called Untitled1, no matter what
I attempt to call it. Also, if I attempt to open a file on the network share
through Libreoffice, nothing happens: the file does not open, but there is
no error message.

The system is Ubuntu 11.04 on a pc, and the version of Libreoffice is 3.3.2.
The drive is a Western Digital MyBook Live. I can view the shares, and if I
double click files in Ubuntu they will open in Libreoffice fine. I can also
save modified documents to shares on the network drive (can't change the
name though, or I get the above error message) . I tested saving files with
Simple Scan, and it could save new files to shares on the drive with no
problem. Also, I have an old Mac Powerbook G4 with Ubuntu 10.04, and
OpenOffice. The G4 can open and save files to the shares on the drive with
no issues. I think this is a problem with Libreoffice on my machine.

Any though on how I might get Libreoffice to communicate a bit better with
my network drive? Thanks

--
View this message in context: http://nabble.documentfoundation.org/General-input-output-error-when-saving-to-network-drive-tp3061786p3061786.html
Sent from the Users mailing list archive at Nabble.com.

How are connecting to the drive, is it a USB connection or some other
connection?

A few thoughts come to mind, one you could have a corrupt install of LO
or something important to communicate with your drive, another you have
a misconfigured connection on your pc, or for some strange reason you
are missing a package.

I would try a quick and dirty check in Synaptic (it may be called
Package Manager) click on the status button. If you see a listing for
broken packages open it and reinstall the packages. If you do not see a
listing for broken packages we will need to dig further.

I use a LO 3.3.2 on Pinguy/Ubuntu 11.04.

________________________________
From: Steve Edmonds <steve.edmonds@ptglobal.com>
To: users@global.libreoffice.org
Sent: Tue, 14 June, 2011 5:45:28
Subject: Re: [libreoffice-users] General input/output error when saving to
network drive

On 2011-06-14 16:24, protonpusher wrote:

I am having a problem saving documents to a share on a network drive. When I
attempt to save a file in Libreoffice to a network share I get the message:

Error saving the document Untitled1:
General Error.
General input/output error.

In the error message the document is always called Untitled1, no matter what
I attempt to call it. Also, if I attempt to open a file on the network share
through Libreoffice, nothing happens: the file does not open, but there is
no error message.

The system is Ubuntu 11.04 on a pc, and the version of Libreoffice is 3.3.2.
The drive is a Western Digital MyBook Live. I can view the shares, and if I
double click files in Ubuntu they will open in Libreoffice fine. I can also
save modified documents to shares on the network drive (can't change the
name though, or I get the above error message) . I tested saving files with
Simple Scan, and it could save new files to shares on the drive with no
problem. Also, I have an old Mac Powerbook G4 with Ubuntu 10.04, and
OpenOffice. The G4 can open and save files to the shares on the drive with
no issues. I think this is a problem with Libreoffice on my machine.

Any though on how I might get Libreoffice to communicate a bit better with
my network drive? Thanks

--
View this message in context:
http://nabble.documentfoundation.org/General-input-output-error-when-saving-to-network-drive-tp3061786p3061786.html

Sent from the Users mailing list archive at Nabble.com.

Hi.
I had something like this happen to me a while back with OOO, I had read
and write permissions but not create.
I can't remember the solution.
Are you browsing the network or mounting the share. Is the share a guest
share or does it have user level access controls.
steve

Hi :slight_smile:
Could you try saving a text-file or something to the networked drive? That
should help you see if you have permissions to create on the file-share.

Regards from
Tom :slight_smile:

Thanks for the quick replies.

In response to the above posts:

1) I just checked the Package Manager for LO, I went to the status button,
scrolled down to the LO packages, and everything looked ok. The
Libreoffice-filter-mobiledev and Libreoffice-report-builder-bin did not
have the "package supported" icon listed, but nothing was listed as broken.
I am a bit new to Ubuntu and LO, so I am not sure if there are further
checks to do. However earlier I removed LO, and tired to install OOo.
Interestingly trying to install OOo in Ubuntu reinstalled LO instead.
Anyway. I still had the same problem.

2) I was able to open save text files to the network share using Text Editor
with no problem.

3) As for the drive, it is connected to a router via ethernet (It is the
MyBook Live drive). The western digital software allows share to be either
public or private on the drive. I have the shares set to public so that they
are accessible to everyone in the house. The other 3 computers on the
network (1 windows xp, 1 windows 7, 1 Ubuntu 10.04 on mac G4) can fully
access files via LO.

Again, thanks for any insights.

Hi :slight_smile:

1) In the package manager (synaptic)
System - Administration - Synaptic
try the
Edit - "Fix broken packages"
If the green arrow stops being greyed-out then click on it.

<off-topic>
With ubuntu it is smart to register at
https://launchpad.net/ubuntu
http://www.ubuntuforums.com

and for all gnu&linux distros register at
http://www.linuxquestions.org

For Ubuntu its worth getting all the multimedia working by working through this
guide
https://help.ubuntu.com/community/Medibuntu
I find that installing mplayer and vlc brings in lots of extra codecs but i tend
to use Xbmc most of the time and only occasionally use Vlc but i have found that
i keep changing my mind about which are my favourites.
</off-topic>

Errr, i'm not great at networking but hopefully someone else will be able to
help.

Regards from
Tom :slight_smile:

Hi. So as I understand it then, Ubuntu 10.04 + OO is working, 11.04 + LO is not.
Can you install LO on the G4 to see if it works, I have OO and LO both on my linux machines without conflict. This will test if it is the Ubuntu version, I had an issue when Suse made a change to their smb drivers.
steve

Steve, you are correct, the LO 3.3.2 does not work well with my network drive
on Ubuntu 11.04. I have tried to install OOo on this machine through the
Software center, but it always installs LO instead (even after removing LO),
so I have not been able to test if there is a difference between OOo and LO
on this machine. I do see OOo listed in the package manager, but it is not
installed and I am not sure how to go about installing OOo through the
package manager. I did select everything with "LibreOffice" in its name and
used "Fix broken links" as suggested above. No luck, still does not work.
For kicks I installed KOffice, and it does work fine with with the network
drive. Can't say I like the look of KOffice though, and I am more
comfortable with OOo and LO.

Also you are correct” OOo works fine on a very old mac based Ubuntu 10.04. I
tried to install LO on this but I just got a bunch of error messages about
the wrong system architecture (the G4 is powerpc based, and Libreoffice
seems to require pentium based pc).

I have an older laptop with a blank hard drive that I will attempt to
install earlier versions of unbuntu with the older OO and see what happens.

Might take a couple of days though.

Hi. I suppose a test will be to install Ubuntu 10.04 on a machine and then LO 3.3.2 and see what happens. If that works, then try Ubuntu 11.04 on the same machine and then LO 3.3.2.
This will test if it is Ubuntu version dependent.
steve

Hi :slight_smile:
The 11.04 uses some very new systems but they 'shouldn't' affect networking.
They probably do but they shouldn't.

Nautilus is not great at handling network shares. Something like Dolphin or
even Thunar might be worth installing alongside Nautilus because they are better
file-browsers for networked folders.

The default Samba & smb configurations tend to be a bit wonky in all releases of
Ubuntu. Mostly i have found it sets the "workgroup" name wrongly. I think the
configuration files are in /etc/Samba ??

However, since you were able to save a text-file to the required folder over the
network none of that sounds like it's a problem on your system :slight_smile:

Ubuntu 10.04 LTS or 10.10 are worth trying on the older machine or even as a
dual-boot install alongside your current install f you have a spare 15Gb
free-space on yor main machine. Trying to install Ubuntu 10.04 or 10.10 as a
dual-boot on your old machine is a better plan before risking messing up your
main machine.

Good luck and regards from
Tom :slight_smile:

Do the share name or the file name or the underlying directory structure contains special characters (accented, spaces, punctuation marks) ?

This was known to make OOo behave like that.

Another update. First off, in response to Jean-Francois, I checked, and there
are no special characters in the share name or server name.

I also have some more test results. Using two computers (Old Toshiba
Satellite, and desktop) I ran the Live cd for both Ubuntu 10.10 (has OOo),
and Ubuntu 11.04 (has LO). The results are not surprising.

On both machines Ubuntu 11.04/LO, LO was unable to save to the network
share, and unable to open files on the network share through LO using the
save and open commands. Opening files does nothing, saving files produces
the error listed above.

On both machines Ubuntu 10.10/OOo worked just fine. I could open and save
files just fine to the network with no problem.

For what it is worth, to mount the network share I use Nautilus. I go to
Network, find the network drive (MYBOOKLIVE), and open it. It has several
shares, and I double click to open one, and the share then appears on the
desktop. The share is also then available on the list of places I can open
and save to from within LO (it just fails to actually open or save)

At this point I am sort of stumped. It does seem like a bug though.

Hi. Run the live CD of Ubuntu 10.10 and install LO. This will then tell you if it is Ubuntu related or LO related.
steve

I see the same "General-on save/nothing on open" behavior with LO3.4
trying to directly read/write to a Synology NAS:

* Fedora 14 64-bit, wired connection
* Fedora 15 32-bit, wireless connection

Double-clicking on the remote ODT file from Nautilous works - the doc
opens in LO. And, changing the doc so opened and saving it from inside
LO works fine - the doc on the NAS is updated (and verified by opening
it from the other machine).

Hi Steve and Wayne

I see the same "General-on save/nothing on open" behavior with LO3.4
trying to directly read/write to a Synology NAS:

* Fedora 14 64-bit, wired connection
* Fedora 15 32-bit, wireless connection

Double-clicking on the remote ODT file from Nautilous works - the doc
opens in LO. And, changing the doc so opened and saving it from inside
LO works fine - the doc on the NAS is updated (and verified by opening
it from the other machine).

  It appears that the commands from LO are not properly passed or
interpreted by the OS.

>
>
>>
>> Another update. First off, in response to Jean-Francois, I checked, and
>> there
>> are no special characters in the share name or server name.
>>
>> I also have some more test results. Using two computers (Old Toshiba
>> Satellite, and desktop) I ran the Live cd for both Ubuntu 10.10 (has OOo),
>> and Ubuntu 11.04 (has LO). The results are not surprising.
>>
>> On both machines Ubuntu 11.04/LO, LO was unable to save to the network
>> share, and unable to open files on the network share through LO using the
>> save and open commands. Opening files does nothing, saving files produces
>> the error listed above.
>>
>> On both machines Ubuntu 10.10/OOo worked just fine. I could open and save
>> files just fine to the network with no problem.
>>
>> For what it is worth, to mount the network share I use Nautilus. I go to
>> Network, find the network drive (MYBOOKLIVE), and open it. It has several
>> shares, and I double click to open one, and the share then appears on the
>> desktop. The share is also then available on the list of places I can open
>> and save to from within LO (it just fails to actually open or save)
>>
>> At this point I am sort of stumped. It does seem like a bug though.
>>
>> --
>> View this message in context:
>> http://nabble.documentfoundation.org/General-input-output-error-when-saving-to-network-drive-tp3061786p3074966.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
> Hi. Run the live CD of Ubuntu 10.10 and install LO. This will then tell you
> if it is Ubuntu related or LO related.
> steve
>
> --
> Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
> In case of problems unsubscribing, write to
> postmaster@documentfoundation.org
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://listarchives.libreoffice.org/global/users/
> All messages sent to this list will be publicly archived and cannot be
> deleted
>
>

--
  Wayne

I have filed a bug report about this behavior at https:\
\bugs.freedesktop.org bug number 38419. I reference this thread.

As far as I know this has only occurred with Linux.

I am having the exact same issue as protonpusher. I am also on Ubuntu 11.04
on a PC with Libreoffice 3.3.2 utilizing a network share on a File Server
running Windows XP Pro on a WD 500GB SATA HD.

Look forward to a solution!

Probably related to file locking or permissions on the server..... do not know the details; just remember seeing it. Hopefully someone else can elucidate.

Hi All.

Hi Steve and Wayne

I see the same "General-on save/nothing on open" behavior with LO3.4
trying to directly read/write to a Synology NAS:

* Fedora 14 64-bit, wired connection
* Fedora 15 32-bit, wireless connection

Double-clicking on the remote ODT file from Nautilous works - the doc
opens in LO. And, changing the doc so opened and saving it from inside
LO works fine - the doc on the NAS is updated (and verified by opening
it from the other machine).

   It appears that the commands from LO are not properly passed or
interpreted by the OS.

Another update. First off, in response to Jean-Francois, I checked, and
there
are no special characters in the share name or server name.

I also have some more test results. Using two computers (Old Toshiba
Satellite, and desktop) I ran the Live cd for both Ubuntu 10.10 (has OOo),
and Ubuntu 11.04 (has LO). The results are not surprising.

On both machines Ubuntu 11.04/LO, LO was unable to save to the network
share, and unable to open files on the network share through LO using the
save and open commands. Opening files does nothing, saving files produces
the error listed above.

On both machines Ubuntu 10.10/OOo worked just fine. I could open and save
files just fine to the network with no problem.

For what it is worth, to mount the network share I use Nautilus. I go to
Network, find the network drive (MYBOOKLIVE), and open it. It has several
shares, and I double click to open one, and the share then appears on the
desktop. The share is also then available on the list of places I can open
and save to from within LO (it just fails to actually open or save)

At this point I am sort of stumped. It does seem like a bug though.

--
View this message in context:
http://nabble.documentfoundation.org/General-input-output-error-when-saving-to-network-drive-tp3061786p3074966.html
Sent from the Users mailing list archive at Nabble.com.

Hi. Run the live CD of Ubuntu 10.10 and install LO. This will then tell you
if it is Ubuntu related or LO related.
steve

--
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
In case of problems unsubscribing, write to
postmaster@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be
deleted

--
   Wayne

I have filed a bug report about this behavior at https:\
\bugs.freedesktop.org bug number 38419. I reference this thread.

As far as I know this has only occurred with Linux.

This seems like ground hog day. I am sure I have been through this all a while back with OOO when I reported a similar (the same) bug. If you search way back in the archives it should be found, but don't know what the fix was.
I have started to add to the bug report what I find and what jogs my memory.

The problem is not evident on OSX with LO 3.4.0 or on Suse 11.0 + LO 3.3.2 using konqueror.

It is evident with Suse 11.3 + LO 3.?? (have to check again) with Dolphin. There is an error message when I save as from LO, I will check again tomorrow when I boot my draftsman off his machine, something along the lines of "the file can only be saved to a local drive".

From recollection last time it happened when Linux distros went from the smb driver to the cifs driver. Konqueror stayed with the SMB code and Dolphin may have changed. There was some sort of issue. I mount most of my smb storage (Nas units) at login so the storage share appears in the local file system.

I suspect something changed in Ubuntu from 10. to 11. and LO needs to change to accommodate this.
May be related to;
http://ubuntuforums.org/showthread.php?t=1166611
http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=31490
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/486443
and this which may not be quite the same thing.
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/158362

steve

I think I have found a solution. Essentially it involves an alternative
method of mounting network shares, The details are
http://ubuntuforums.org/showthread.php?t=288534 here .

I am now able to open and save with LO without any issues.