Google Drive

Questions and comments specific to a particular plugin should go here.
Post Reply
User avatar
kgschlosser
Site Admin
Posts: 3799
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Google Drive

Post by kgschlosser » Sun Mar 11, 2018 9:02 am

Google Drive Plugin
Version: 0.2.2b

Allows you to access the cloud based storage by Google.
There is a single limitation at the moment. It will only allow access to the root of the storage.

There are no events as of yet generated by this plugin. they will be added in the near future.

Actions:

Delete File (permanent)
Trash File
Upload Fie
Download File
List Files
Open File

Double click to install.
There are no configuration settings. Once the plugin is added to your tree it will run and your web browser will open with a request to access your google drive. this is standard practice with google in order for this plugin to access the cloud storage you need to tell google this is OK. at any point you have the ability to remove access by managing your 3rd party applications in your google account settings.

I have added some code to automatically forward a port that is needed to do the authentication. if this does not succeed you will be told that you need to do it manually. you will be given the port in a log entry in EG

UPDATES:
0.2.0b Initial release
0.2.2b Makes plugin able to work with EventGhost 0.4 and 0.5
Attachments
GoogleDrive-0.2.2b.egplugin
version: 0.2.2b - EventGhost 0.4/0.5 compatibility fix
(349.56 KiB) Downloaded 27 times
GoogleDrive-0.2.0b.egplugin
version: 0.2.0b - Initial Release
(348.71 KiB) Downloaded 23 times
If you like the work I have been doing then feel free to Image

z3us
Posts: 32
Joined: Fri Jul 29, 2011 2:35 am

Re: Google Drive

Post by z3us » Sun Mar 11, 2018 5:03 pm

I get this after adding the plugin

Code: Select all

Traceback (most recent call last) (1722):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 153, in CreateInstance
    plugin.__init__()
  File "C:\ProgramData\EventGhost\plugins\GoogleDrive2\__init__.py", line 88, in __init__
    eg.folderPath.configDir,
  File "C:\Program Files (x86)\EventGhost\eg\Classes\FolderPath.py", line 90, in __getattr__
    csidl = CSIDL[name]
KeyError: 'configDir'
Plugin: Google Drive
   Exception in thread Thread-10:
Traceback (most recent call last):
  File "threading.pyc", line 532, in __bootstrap_inner
  File "threading.pyc", line 484, in run
  File "C:\ProgramData\EventGhost\plugins\GoogleDrive2\__init__.py", line 120, in do
    os.chdir(self.google_drive_path)
AttributeError: 'GoogleDrive' object has no attribute 'google_drive_path'

User avatar
kgschlosser
Site Admin
Posts: 3799
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Google Drive

Post by kgschlosser » Sun Mar 11, 2018 5:08 pm

AHHH I should have said this is only compatible with EG 0.5. I am sorry about that.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 3799
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Google Drive

Post by kgschlosser » Mon Mar 12, 2018 2:58 pm

I have made it so that the plugin should now be compatible with EG 0.4 also.

The new version is attached to the first post.
If you like the work I have been doing then feel free to Image

Post Reply