Discussion:
[Libreoffice-bugs] [Bug 96174] New: "File - Save to Remote Server" spits out "Error saving document $document: The specified device is invalid", when trying to save to GDrive
b***@bugs.documentfoundation.org
2015-12-01 09:39:21 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

Bug ID: 96174
Summary: "File - Save to Remote Server" spits out "Error saving
document $document: The specified device is invalid",
when trying to save to GDrive
Product: LibreOffice
Version: 5.1.0.0.beta1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-***@lists.freedesktop.org
Reporter: ***@nexgo.de

Hello @ll,
I hope, I have chosen the right component. If I was wrong, feel free to change
it to the right component ... ;)

Steps to reproduce:
0. Maybe you need to enable "Tools - Options - LibreOfficeDev - General -
LibreOfficeDeb dialogs" first to be able to test this ... ;)
1. Open Writer
2. Create a new document (maybe just insert "This is a test." or something like
that ... ;) ) or reopen an existing one.
3. Go to "File "Save to Remote Server"
4. Click on "Add service"
5. Select "Type" "Google Drive"
6. Enter your user name and password.

On my system (Debian Testing AMD64 with LO Version: 5.1.0.0.beta1-buildfix1
Build ID: 13010a13177025f633c9b85adcb3edf6920e44e3
Threads 4; Ver: 4.2; Render: default;

Locale: de-DE (de_DE.UTF-8)
, parallel installed, following the instructions from
https://wiki.documentfoundation.org/Installing_in_parallel/Linux with
Germanophone lang- as well as helppack) LO spits out the error message

<quote>
Error saving the document $Document:
The specified device is invalid.
</quote>

... :( And it does not matter, if I just enter my user name or
"***@googlemail.com". I see this error message both times ... :(
Sorry for the inconvenience
Thomas.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2015-12-03 19:44:12 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

--- Comment #1 from ribotb <***@gmail.com> ---
Hi,

I confirm there is a problem with 'Save remote file'.

With an already established connection to my Google Drive:

Case 1:
- I create a new document
- I save this document (File > Save to Remote Server).
After saving, the File menu is unavailable (although not greyed, click has no
effect). So, File > Close or File > Exit, for example, is not possible.
- To quit LO I click on [X].
- I rerun LO. After connection ut appears that the document is not created!
Remark: However, a thumb has been created in Start Center.

Case 2:
- I open an existing document on my Google Drive;
- I modify this document;
- I save this document (File > Save to Remote Server).
Again, after saving, File menu is unavailable.
To quit LO I click on [X].
- I rerun LO and I reopen my document: the changes have not been saved!
Remak: the changes appears in the thumb in Start Center.

On Win7/x86 with
Version: 5.1.0.0.beta1-buildfix1
Build ID: 13010a13177025f633c9b85adcb3edf6920e44e3
Threads 2; Ver: Windows 6.1; Render: default;
Locale : fr-FR (fr_FR)


Bernard
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2015-12-09 09:36:00 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

--- Comment #2 from krajcsi <***@gmail.com> ---
I can confirm #1.

Also, if I try to open a remote file (File > Open remote file; Add service;
specify name and password for Google Drive; OK), the "The specified device is
invalid." error message is given.

Version: 5.1.0.0.beta2
Build ID: 53054959a12edc6510f51b94ddc9b73d27aedaf6
Threads 2; Ver: 3.19; Render: default;
Locale: en-US (en_US.UTF-8)
Linux Mint 17.2
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2015-12-09 09:38:13 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

--- Comment #3 from krajcsi <***@gmail.com> ---
(In reply to krajcsi from comment #2)
Post by b***@bugs.documentfoundation.org
I can confirm #1.
Also, if I try to open a remote file (File > Open remote file; Add service;
specify name and password for Google Drive; OK), the "The specified device
is invalid." error message is given.
Version: 5.1.0.0.beta2
Build ID: 53054959a12edc6510f51b94ddc9b73d27aedaf6
Threads 2; Ver: 3.19; Render: default;
Locale: en-US (en_US.UTF-8)
Linux Mint 17.2
Sorry, I meant I can confirm the original description, not the Comment 1 (I
don't have an established connection)
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2015-12-09 10:10:41 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

***@nexgo.de changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1

--- Comment #4 from ***@nexgo.de ---
Hello ribotb, krajcsi, *,
thanks or confirming my issue :) As you both can confirm it, I set the status
to new.
Thanks again and have a nice day
Thomas.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2016-01-05 17:07:16 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

--- Comment #5 from Giuseppe Castagno (aka beppec56) <***@acca-esse.eu> ---
Tested with 5.1.0rc1 and an active GDrive login.

In Linux:
LO Version: 5.1.0.1
Build ID: bcace328aabc4c8c10b56daa87da0a2ee6579b5a
Threads 8; Ver: Linux 3.13; Render: default;

Locale: en-US (en_US.UTF-8)

Disabled LO native dialogs, used 'Remote Files' from left panel.
Pressing 'OK' after filling up the dialog fields for a GDrive connection, I got
the error:

'The specified device is invalid.'

And couldn't go any further.

In Windows:
LO Version: 5.1.0.1
Build ID: bcace328aabc4c8c10b56daa87da0a2ee6579b5a
Threads 2; Ver: Windows 6.1; Render: default;

Locale: en-US (en_US)

Repeat test as above, I was able to add a GDrive CMIS server.
Trying to save a new file doesn't work: LO acts as if saving, but nothing is
saved; no error is given.
Loading a file form GDrive, modify and save: load from GDrive, but saving
doesn't work: LO acts as if saving, but nothing is saved; no error is given.

Summing things up:

- Linux: it seems that --with-gdrive-client-id and --with-gdrive-client-secret
are used with the wrong parameter, because if they weren't used GDrive CMIS
type would not be present in the list;
- Windows: user GDrive credentials works, but the file can't be saved; be it
save as new or saved after a change.

Building LO in Linux with my own --with-gdrive-client-id and
--with-gdrive-client-secret values, it behaves as Windows.
Testing with LO master daily is not possible, --with-gdrive-client-id and
--with-gdrive-client-secret values are not set at build time.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2016-01-06 10:17:49 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=96174

Giuseppe Castagno (aka beppec56) <***@acca-esse.eu> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|libreoffice-***@lists.free |***@acca-esse
|desktop.org |.eu

--- Comment #6 from Giuseppe Castagno (aka beppec56) <***@acca-esse.eu> ---
Git bisecting, found where the problem 'save on GDrive' first showed up, in
commit:
<https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=0398e1e3967332c49b6451b5d41bcf0357052d0b>
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...