Bug Hunting Session
Bug 87937 - Google Drive via CMIS: unhelpful error message on wrong password
Summary: Google Drive via CMIS: unhelpful error message on wrong password
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Error-Messages CMIS
  Show dependency treegraph
 
Reported: 2015-01-01 16:21 UTC by David Gerard
Modified: 2018-12-18 19:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Gerard 2015-01-01 16:21:03 UTC
I have compiled LO master to connect to Google Drive via CMIS.

However, when I enter an incorrect password, an error box pops up with the text:

"General input/output error."

The error message should indicate what the problem is; the present error suggests a lower-level communication problem, not a mere wrong password.
Comment 1 Robinson Tryon (qubit) 2015-01-02 22:03:57 UTC
TESTING w/LO 4.4.0.1 + Ubuntu 14.04

(In reply to David Gerard from comment #0)
> I have compiled LO master to connect to Google Drive via CMIS.
> 
> However, when I enter an incorrect password, an error box pops up with the
> text:
> 
> "General input/output error."
> 
> The error message should indicate what the problem is; the present error
> suggests a lower-level communication problem, not a mere wrong password.

To test CMIS connectivity:
- Enable LibreOffice dialogs
- 'Server' button
- CMIS source, and choose Google Drive
- Then I have to click the "Refresh" button (not very intuitive) to enter my username and pass

If I enter an incorrect password, I get no feedback or General i/o error. And I can't click the "Refresh" button again to change it.

Definitely sounds like there's a problem here.

Status -> NEW
Comment 2 Robinson Tryon (qubit) 2015-01-02 22:08:52 UTC
(In reply to Robinson Tryon (qubit) from comment #1)
> TESTING w/LO 4.4.0.1 + Ubuntu 14.04
> 

Testing on same machine with 4.5-master is even worse:

LO Version: 4.5.0.0.alpha0+
Build ID: 5c60dab390d66a4d5abeaf548efecf3913b90839
TinderBox: Linux-rpm_deb-x86_64@46-TDF
Branch:master
Time: 2014-12-31_00:20:30
Locale: en_US

> To test CMIS connectivity:
> - Enable LibreOffice dialogs
> - 'Server' button
> - CMIS source, and choose Google Drive

- File -> Open -> Servers
- Then File Service -> Type -> CMIS
- Go to Server Details -> Server Type and look for 'Google Drive'

RESULT: It's not even in the list  (it was there in 4.4.0.1)
Comment 3 David Gerard 2015-01-02 22:11:01 UTC
Note that you need to compile with valid options for --with-gdrive-client-secre and --with-gdrive-client-id or the Google Drive option doesn't come up. (The GDrive support is a bit experimental at present.)
Comment 4 Robinson Tryon (qubit) 2015-01-02 22:37:28 UTC
(In reply to David Gerard from comment #3)
> Note that you need to compile with valid options for
> --with-gdrive-client-secre and --with-gdrive-client-id or the Google Drive
> option doesn't come up. (The GDrive support is a bit experimental at
> present.)

What about 4.4.0.1 RC? Should the GDrive drop-down option be removed from the 4.4 branch as well?
Comment 5 David Gerard 2015-01-02 23:10:52 UTC
If you compile with valid --with-gdrive-client-secret and --with-gdrive-client-id, then current libreoffice-4-4 from branch connects to Google Drive too.

(Or it did for me - I used the TDF values, --with-gdrive-client-secret="GYWrDtzyZQZ0_g5YoBCC6F0I" --with-gdrive-client-id="457862564325.apps.googleusercontent.com" . If you're using an official TDF build, those *should* be compiled in. See recent threads on the dev mailing list where I was trying to get this to work.)