New Google Drive plugin is out!

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
SkipR
Junior Member
Junior Member
Posts: 69
Joined: 2008-03-27, 10:39 UTC
Location: W. Australia

Post by *SkipR »

akopalsky wrote:...As usual please download latest (0.4) version
Good work, A few more issues from testing:
  1. Folder display in TC includes trash items (you can see these and cause them when using browser) see the attached example pics show folder "set1" appears twice. Although 2nd pic shows both deleted even if one is not marked deleted TC will still not do any operation on either folder named "set1". You need to filter out deleted items. Maybe a pseudo folder called trash to match the browser behaviour.
    Image: http://imageshack.us/f/845/020issuegdpluginpicitem.jpg
    Image: http://imageshack.us/f/823/021issuegdpluginpic.jpg
  2. I use fsplugin STARTUP GUARD and gdplugin is generating an entry in the pseudo folder "\\\Startup Guard\Overall" see pic Image: http://imageshack.us/f/694/031issuegdpluginpicstar.jpg. Entry has no properties see pic Image: http://imageshack.us/f/4/030issuegdpluginpicstar.jpg and I don't think it is causing a problem so far but your fsplugin has nothing to do with startup registry entries which Startup Guard displays so it is strange to see this.
  3. Use "refresh token" folder entry to open drive after restarting TC you get path
    "\\\GoogleDrive\refresh_token\LD_TC" display instead of "\\\GoogleDrive\ACCOUNT NAME\LD_TC" see pic Image: http://imageshack.us/photo/my-images/844/040pathname.jpg (LD_TC is a folder in drive). I then tested a second account and when I restarted TC there is no "refresh token" folder entry so I had to login to both accounts again, since doing this "\\\GoogleDrive\refresh_token" has not shown up again. Now have two account names. If I logout of GD then restart TC I have to enter email adress+password again to open GD again, so it would be nice if it remembered the associated email address and made premanent entry in "\\\GoogleDrive", so I don't have to retype all the time.
  4. Delete folder or file - should it delete to gd trash folder and shift+delete delete immediate (in future release) - what do you think?
  5. Is it correct that GD API has no facility to duplicate the loading like browser? Upload file.jpg but file.jpg icon in browser shows icon for "as is" not icon for "JPEG image"
    Thumbnails view of files from browser load: Image: http://imageshack.us/a/img252/6572/051tnldweb.jpg
    Thumbnail view of files from a TC load: Image: http://imageshack.us/a/img259/5103/052tnldtc.jpg
    Icon for browser load: Image: http://imageshack.us/a/img141/1521/053detalldweb.jpg
    Icon for TC load: Image: http://imageshack.us/a/img17/6469/054detailldtc.jpg
Last edited by SkipR on 2012-12-26, 11:06 UTC, edited 1 time in total.
Skip
akopalsky
Junior Member
Junior Member
Posts: 48
Joined: 2012-10-10, 15:25 UTC

Post by *akopalsky »

Yep, I noticed the problem with "Empty token"
Ignore previous post

I'll check it out
akopalsky
Junior Member
Junior Member
Posts: 48
Joined: 2012-10-10, 15:25 UTC

Post by *akopalsky »

<b>2SkipR</b>

Thanks for this great update!

First please make sure you use 0.5 version!

1. Interesting point - will consider it
2. Have not idea what you are talking about - gdplugin is not using registry
3. Refresh Token is stored automatically in fsplugin.ini for each account used during next login procedure. You don't need to create folders with this name (Unless I didn't understand you correctly)
4. Interesting - will consider it as well
5. Will check
User avatar
SkipR
Junior Member
Junior Member
Posts: 69
Joined: 2008-03-27, 10:39 UTC
Location: W. Australia

Post by *SkipR »

akopalsky wrote:
Thanks for this great update!

First please make sure you use 0.5 version!

1. Interesting point - will consider it
2. Have not idea what you are talking about - gdplugin is not using registry
3. Refresh Token is stored automatically in fsplugin.ini for each account used during next login procedure. You don't need to create folders with this name (Unless I didn't understand you correctly)
4. Interesting - will consider it as well
5. Will check
2akopalsky
yes I tested with ver 0.5

Reply to your comment points:
1. ok
2. just pointing out the two fs plugins are interacting with each other in an unexpected way. I guess something to do with pseudo folders eg. "[new connection]"
3. re-edited the prev comment hope it is clearer now. Before today never looked at fsplugin.ini so never new what was in it. Just to clarify now that you have mentioned fsplugin.ini here is what I think MAY have took place.

I did update to v 0.5
When I restarted TC fsplugin.ini must have been:
Refresh Token=token1

I thought this was the way plugin worked that "Refresh Token" had some special meaning in folder display like "new connection". I made comment to "ehab" which of course now makes no sense given your feedback. He started talking about fsplugin.ini which made no sense to me at the time.

In the attached image Image: http://imageshack.us/photo/my-images/844/040pathname.jpg literally "Refresh Token" is appearing in folder path. What does it mean and why is it there instead of literal "Super C" (lets assume thats my gd account name) was what I was asking about.

I hope that make it clearer I assume "Refresh Token" will never appear in folder path again, so it is resolved


The last part is about if you answer yes to logout of gd on TC shutdown then fsplugin.ini entry is removed, so my other point is it would be nice if the email address was stored so when you get login screen again it auto fills email field like in a normal browser login. What do you think?
Skip
akopalsky
Junior Member
Junior Member
Posts: 48
Joined: 2012-10-10, 15:25 UTC

Post by *akopalsky »

I am planning to implement the new Google Website publish feature (http://googleappsdeveloper.blogspot.ie/2012/11/announcing-google-drive-site-publishing.html) as well as regular file share.

Do you find it useful?
User avatar
SkipR
Junior Member
Junior Member
Posts: 69
Joined: 2008-03-27, 10:39 UTC
Location: W. Australia

Post by *SkipR »

akopalsky wrote: Do you find it useful?
Building a site with URI like the example provided https://googledrive.com/host/0B716ywBKT84AcHZfMWgtNk5aeXM/index.html are rather ugly. Can't see any benefit in this yet.
Skip
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

TC 8.01 x32.
Windows 8 x64 Eng.
All MS official updates installed.
MNF 3.5-4.0 installed with all updates.
Visual C++ libraries installed.

Error when I install plugin:
http://i52.fastpic.ru/big/2012/1229/e0/5ab5432e0392131838a67f0b061564e0.png
Plugin can't be opened:
http://i53.fastpic.ru/big/2012/1229/8d/078fded79a21da7bb6b8ac0489affa8d.png
What DLLs is missing? Perhaps should add them in the plugin?
User avatar
SkipR
Junior Member
Junior Member
Posts: 69
Joined: 2008-03-27, 10:39 UTC
Location: W. Australia

Post by *SkipR »

LonerD wrote:...Visual C++ libraries installed.
I see that Internet Explorer Compatibility Shims dll is included. I checked with the WLX fileinfo viewer and iertutil.dll is missing on my machine even though plugin is working fine for the WIN XP SP2 platform. It may be significant for your platform this has something to do with IE compatibility. What version of IE do you have and does work ok? Also, I would suggest checking if you need x86 Visual C++ RT lib (See http://bit.ly/Vm0gVc ) even though the DLLs are included included in the plugin zip file.
Skip
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

I would suggest checking if you need x86 Visual C++ RT lib
I reinstalled the libraries. Nothing has changed.

I can't try now plugin in other OS.
Setting in IE 10 - standard (OS installed recently).
Tried sart plugin as user and as administrator - does not work.
Tried to install other security settings - nothing has changed.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
akopalsky
Junior Member
Junior Member
Posts: 48
Joined: 2012-10-10, 15:25 UTC

Post by *akopalsky »

<b>2LonerD</b>

Hi,
I don't have Win8 under my hands now.

Can you please download x86 version of dependency walker (http://www.dependencywalker.com/) and try loading wfx file of the plugin - it'll show you the missing DLLs

Many many thanks and sorry for inconvenience.

Paul
akopalsky
Junior Member
Junior Member
Posts: 48
Joined: 2012-10-10, 15:25 UTC

Post by *akopalsky »

SkipR wrote: Building a site with URI like the example provided https://googledrive.com/host/0B716ywBKT84AcHZfMWgtNk5aeXM/index.html are rather ugly. Can't see any benefit in this yet.
I can reuse Google URL shortener for something more readable.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

After using GoogleDrive in a TC session, when I disconnect the connection or close down TC I am asked: "Do you want to log out from Google Drive?"

It would be conveniant if the answer could (optionally) be remembered, so I don't have to answer the same question all the time.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
akopalsky
Junior Member
Junior Member
Posts: 48
Joined: 2012-10-10, 15:25 UTC

Post by *akopalsky »

petermad wrote:After using GoogleDrive in a TC session, when I disconnect the connection or close down TC I am asked: "Do you want to log out from Google Drive?"

It would be conveniant if the answer could (optionally) be remembered, so I don't have to answer the same question all the time.
It'd be problematic, because if the answer is "remembered" (which of course is totally doable), you won't be able to login to another account (unless you will manually delete stored token). Plugins don't have their own interface and I cannot detect if you are existing TC or just clicking "Disconnect" (for plugin it is the same event).

If you'll have an idea how to solve it - please describe

Paul
User avatar
SkipR
Junior Member
Junior Member
Posts: 69
Joined: 2008-03-27, 10:39 UTC
Location: W. Australia

Post by *SkipR »

akopalsky wrote:
If you'll have an idea how to solve it - please describe
l
What about having a setting in fsplugin.ini - those of us that want it can manually set it to true to supress logout message.
Skip
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

download x86 version of dependency walker and try loading wfx file of the plugin
Afer loading plugin:
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
I do not know that I should see. Link to result.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Post Reply