Google-drive Filemanager

Browsers, email, chat, etc.
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#46 Post by fredx181 »

Hi everyone,

Google-drive Filemanager v2 stopped working a while back, error message is:

Code: Select all

Failed to get file: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded
From what I understood, the reason is that too many people (in the whole world :) ) are using at the same time gdrive (included in googledrivegui2), but not really sure :?:
(google has a limitation on the amount)
EDIT: See also explanation here:
https://github.com/gdrive-org/gdrive/is ... -423048518

Found the solution by following this complicated tutorial (oh, yes, I'm a little crazy :wink: )
https://github.com/gdrive-org/gdrive/issues/426
And compiled gdrive, using my own credentials for the Google-Drive API, so works now (hasn't reached the limitation (yet?), sort of starting over fresh).

Important:
To run this new version, you cannot use created authentication from earlier version, so then remove first the old "token_v2.json" file e.g.:
~/.gdrive-<name>/token_v2.json
Then it's required to start over again with the authentication process (button "New Profile")

Download .pet packages:
32-bit
https://dl.dropboxusercontent.com/s/kz0 ... 6.pet?dl=1
64-bit
https://dl.dropboxusercontent.com/s/8ih ... 4.pet?dl=1

EDIT:
Download portable appimages:
gdrive_gui2-portable-2.1.1-32bit.tar.gz
https://drive.google.com/uc?export=down ... k9lHcwfYb0
gdrive_gui2-portable-2.1.1-64bit.tar.gz
https://drive.google.com/uc?export=down ... mxm63OQA8W

Fred
Last edited by fredx181 on Mon 25 Mar 2019, 18:01, edited 5 times in total.

RedQuine
Posts: 52
Joined: Fri 20 Mar 2015, 14:34

#47 Post by RedQuine »

Yay, thanks Fred!

I never did get round to trying the AppImage, for some reason (I think I had other issues to play with, er, get sorted out). I just gave it a whirl, and got as far as the error 403 you described. However, your new amd64.pet works a treat on Bionicpup64 8.0; I can see my G drive at last!

This could save me hours of uploading and downloading via the browser. All the more time to break other stuff. :D

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#48 Post by fredx181 »

RedQuine wrote:Yay, thanks Fred!

I never did get round to trying the AppImage, for some reason (I think I had other issues to play with, er, get sorted out). I just gave it a whirl, and got as far as the error 403 you described. However, your new amd64.pet works a treat on Bionicpup64 8.0; I can see my G drive at last!

This could save me hours of uploading and downloading via the browser. All the more time to break other stuff. :D
Ah, thanks RedQuine ! I'm glad it works for you.
But don't use it a billion times a day please :lol: :lol: , then the Google-drive Api may get overloaded again.
No, seriously, probably that's not going to happen.

Fred

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#49 Post by wiak »

fredx181 wrote: Download .pet packages:

64-bit
https://dl.dropboxusercontent.com/s/8ih ... 4.pet?dl=1

Fred
Hi Fred,

Do you have deb package available? I want to use in XenialDog64.
Also, does this need Go installed on system?

EDIT: I'm also looking for the similar app in deb form for Dropbox. ???

Cheers, wiak

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#50 Post by fredx181 »

wiak wrote:Hi Fred,

Do you have deb package available? I want to use in XenialDog64.
Also, does this need Go installed on system?

EDIT: I'm also looking for the similar app in deb form for Dropbox. ???
Yes, deb packages googledrivegui2 :
32bit
https://fredx181.github.io/StretchDog/i ... 1_i386.deb
64bit
https://fredx181.github.io/StretchDog/a ... _amd64.deb

No need for Go installed, only for compiling it would be required.

Here's deb for dropboxgui (noarch) from mikeb, see http://murga-linux.com/puppy/viewtopic.php?t=90753 :
EDIT: dropboxgui link updated to v1.0.9, v1.0.8 conflicted with official dropbox deb package, see wiak's comment below.
https://fredx181.github.io/StretchDog/a ... .9_all.deb


Fred
Last edited by fredx181 on Sun 24 Mar 2019, 15:06, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#51 Post by wiak »

Thanks Fred, I'll give these a go (pun) tomorrow

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#52 Post by wiak »

Really enjoying using these dropbox and google drive gui programs Fred. Thanks to mikeb, and also to yourself too for bringing it to google drive too.

Actually, I do have the fully syncing official dropbox client on my computer (with a specially prepared and necessary ext4 partition for the storage), however, despite full syncing being nice, the package proves flaky (currently running stable on my XenialDog64 system, but had to take it off my partners similar setup because for some reason it caused major Firefox crash when signing on... I kind of prefer the simple up/down filemanager GUIs though - less could probably go wrong IMO and resource usage bound to be much less I imagine.

wiak

wiak

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#53 Post by wiak »

Just one thing I should mention:

The dropboxGUI package uses dropbox.desktop in /usr/share/applications, but that's the same name used in official syching dropbox client, which as I said is also on my system just now. Because of that official one being already installed, dropboxGUI wouldn't install because of the .desktop file conflict. I simply extracted the dropboxGUI deb and changed the name of the .desktop file to dropboxGUI.desktop and repackaged the deb for my use. That then successfully installed without issue.

wiak

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#54 Post by Mike Walsh »

@ fredx181:-

Just wanted to say 'Thanks' for version 0.3.2 (portable), Fred. I've been using the original 0.2.0 release until this morning; thought it was high time I tried the most recent release. Certainly fires up quicker, I'll give it that.....and connecting on uploads is faster, too.

Cheers!

--------------------------------

@ wiak:-

Don't know if you're aware of it; there's a new, semi-official Electron 'upgrade' of the old Grive client now available:-

https://www.omgubuntu.co.uk/2019/02/odr ... nux-client

It's called 'O-Drive', and I've been testing it out in Xenialpup64 7.5 for a few weeks. Works well.....but, as you say, Mike & Fred's GUIs are a hell of a lot smaller!


Mike. :wink:
Last edited by Mike Walsh on Thu 21 Mar 2019, 19:41, edited 1 time in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#55 Post by fredx181 »

wiak wrote:Just one thing I should mention:

The dropboxGUI package uses dropbox.desktop in /usr/share/applications, but that's the same name used in official syching dropbox client, which as I said is also on my system just now. Because of that official one being already installed, dropboxGUI wouldn't install because of the .desktop file conflict. I simply extracted the dropboxGUI deb and changed the name of the .desktop file to dropboxGUI.desktop and repackaged the deb for my use. That then successfully installed without issue.

wiak
Ah good to know, later I''ll add new deb version to repos.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#56 Post by fredx181 »

Mike Walsh wrote:@ fredx181:-

Just wanted to say 'Thanks' for version 0.3.2 (portable), Fred. I've been using the original 0.2.0 release until this morning; thought it was high time I tried the most recent release. Certainly fires up quicker, I'll give it that.....and connecting on uploads is faster, too.
You're welcome Mike !
Don't know if you tried the v2 (different, depending on "gdrive"), is there any reason you'd possibly prefer first version ( the 0.3.2 (portable) ) using "drive" ?
I ask, mostly out of curiosity, because the v2 has some improvements that I didn't add to v1 ( but working on it, btw), e.g multiple file selection support (not depending on yad) and full view when maximized.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#57 Post by fredx181 »

*** Google-drive Filemanager v1 updated (portable, v0.3.3) ***
(this v1 is using "drive", v2 makes use of "gdrive" and has below improvements already)

Changes:
- Multiple file selection supported from the GUI, required for that is gtkdialog v0.8.3 or higher, but if older gtkdialog installed:
When nothing selected, a 'yad' window will open (if yad is installed) to select multiple items,
e.g. for Add, Download or Remove.
- Can handle files containing spaces in the name
- Full view when maximized
- Updated Help text

32-bit: gdrive_gui-portable-0.3.3-32bit.tar.gz
https://drive.google.com/uc?export=down ... 4bohZFIPNw
64-bit: gdrive_gui-portable-0.3.3-64bit.tar.gz
https://drive.google.com/uc?export=down ... ty6wJPUAuG

Extract somewhere (e.g. in /mnt/sda3) and run e.g. gdrive_gui-portable32. (a config file ".gdriverc" will be created in same directory)
The advantage of portable is that you can run it from different Puppy installs
It's a self-extracting script, the "drive" binary is included.
The most convenient is when running it from the same directory as you set up the "Profile directory"

Fred
Attachments
gdrive_gui-maximized.png
(85.92 KiB) Downloaded 343 times

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#58 Post by Mike Walsh »

@ Fred:-

Why 0.3.2, and not v2? Ah; there's 'method in my madness', mate.

I find, for some reason, that the v2s treat whatever directory you fire them up in as the profile directory.

I have a couple of desktop icons which, when clicked on, open up small sub-directories, with symlinks to various .desktop entries. It's a continuation of summat I began doing years ago in XP; a way to 'group' similar items together, without taking up excessive desktop real estate.

One of these is utilities:-


Image


.....which when opened, gives this group of utilities:-


Image


As you can see, one of these is a sym-link to the Google-drive-GUI .desktop entry.

Now; I set this up at the root of the file-system; '/'. 0.3.2, having set the profile up for that directory, stays with it; even with the .desktop entry modified to point to the executable script. v2 (and I see 0.3.3 now does the same), if I have that sym-linked Menu Entry in the utilities sub-directory, now seems to think the script is starting from the 'Utilities' sub-directory.....and insists I set up a new profile again.

Which is a PITA, to say the least. You did ask..!

(BTW; I run an identical range of the same apps in every Puppy. That 'Utilities' directory is actually on a remote partition, sym-linked into every Pup.....because the same set of entries will work for every Pup. Make sense?)


Mike. :wink:

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#59 Post by fredx181 »

Hey Mike, a bit late now for me to understand exactly what you wrote, but it looks like I made a bit of mess with version names etc... ...explanation about different versions of two different programs (v1 and v2) a bit chaotic ?

EDIT: Next morning, ah, probably I see now what you mean, problems with the v2 pet and v1 is ok , I guess.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#60 Post by fredx181 »

New portable appimages for Google-drive Filemanager v2 (2.1.1), see Here (at the bottom)

Fred

stemsee

#61 Post by stemsee »

Hi Fred

I tried this on fatdog-800 and it doesn't create the profile, should be in /root/.gdrive, right? But maybe permissions do not exist, and might need to be in /root/spot/.gdrive

stemsee

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#62 Post by fredx181 »

Hi Stemsee, which one you tried ? v2 from linked in my previous post ?
In that case, fill in some name e.g. stemsee, then click "New Profile" go through the authentication process, then profile folder ".gdrive-stemsee" should be created in same folder as you ran the portable-appimage from.
If you installed the v2 pet (different than running appimage) then the profile folder should be in /root (no need for spot user).

Fred

stemsee

#63 Post by stemsee »

Hi Fred

Yes v2. I tried many times but will not create profile.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#64 Post by fredx181 »

Hi stemsee,
Yes v2. I tried many times but will not create profile.
That's very little info about what went wrong exactly, some more details please ?

Ok, I have older Fatdog install (700), tested on that.
The Seamonkey included in FD 700 didn't work to go through the Google Api auth. process, so I updated to newer Seamonkey version and then all worked well for me.

Fred

Post Reply