Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win32 support #85

Open
PeteBest opened this issue Jan 26, 2015 · 0 comments
Open

win32 support #85

PeteBest opened this issue Jan 26, 2015 · 0 comments

Comments

@PeteBest
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant