You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working through trying to get this working on Windows with Python. Sadly I'm yet to get very far.
Changes so far:
In function _get_config_dir, hardcoded the configdir to the users profile:
configdir = os.environ['USERPROFILE']
In def main(): remove the checks for root rights. Sure there's a good cross platform system for python admin checks, but I don't require it
Created my own Drive API keys and embedded them into client_json.py
I can connect just fine but every file/folder I attempt to download gives the following exception. Looks like an issue reading the local storage folder (possibly due to difference in path types for linux vs windows)
DEBUG: C:\Python27\lib\site-packages\gsync-0.1.14-py2.7.egg\libgsync\drive__init__.py:513:walk(): Exception: AttributeError("'NoneType' object has no attribute 'id'",)
Has anyone had any luck with a cross platform version? Or a fork just for win32? Any input appreciated!
Pete
The text was updated successfully, but these errors were encountered:
Hi,
I've been working through trying to get this working on Windows with Python. Sadly I'm yet to get very far.
Changes so far:
In function _get_config_dir, hardcoded the configdir to the users profile:
configdir = os.environ['USERPROFILE']
In def main(): remove the checks for root rights. Sure there's a good cross platform system for python admin checks, but I don't require it
Created my own Drive API keys and embedded them into client_json.py
I can connect just fine but every file/folder I attempt to download gives the following exception. Looks like an issue reading the local storage folder (possibly due to difference in path types for linux vs windows)
DEBUG: C:\Python27\lib\site-packages\gsync-0.1.14-py2.7.egg\libgsync\drive__init__.py:513:walk(): Exception: AttributeError("'NoneType' object has no attribute 'id'",)
Has anyone had any luck with a cross platform version? Or a fork just for win32? Any input appreciated!
Pete
The text was updated successfully, but these errors were encountered: