{"action":"created","issue":{"url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/issues/65","repository_url":"https://api.github.com/repos/anishathalye/git-remote-dropbox","labels_url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/issues/65/comments","events_url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/issues/65/events","html_url":"https://github.com/anishathalye/git-remote-dropbox/issues/65","id":244927405,"number":65,"title":"Unexpected exception when pushing from windows","user":{"login":"Vitruvia","id":6796755,"avatar_url":"https://avatars0.githubusercontent.com/u/6796755?v=4","gravatar_id":"","url":"https://api.github.com/users/Vitruvia","html_url":"https://github.com/Vitruvia","followers_url":"https://api.github.com/users/Vitruvia/followers","following_url":"https://api.github.com/users/Vitruvia/following{/other_user}","gists_url":"https://api.github.com/users/Vitruvia/gists{/gist_id}","starred_url":"https://api.github.com/users/Vitruvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vitruvia/subscriptions","organizations_url":"https://api.github.com/users/Vitruvia/orgs","repos_url":"https://api.github.com/users/Vitruvia/repos","events_url":"https://api.github.com/users/Vitruvia/events{/privacy}","received_events_url":"https://api.github.com/users/Vitruvia/received_events","type":"User","site_admin":false},"labels":[{"id":246419576,"url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/labels/bug","name":"bug","color":"f7c6c7","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-07-23T18:30:34Z","updated_at":"2017-08-22T07:04:28Z","closed_at":null,"body":"Hi, when I try to push to a repo on windows 7 64bits I get this:\r\n\r\n`unexpected exception (run with -v for details)`\r\n\r\nRunning with -v gives:\r\n\r\n```\r\nPushing to dropbox:///test\r\nTraceback (most recent call last):\r\n  File \"p:\\anaconda\\lib\\site-packages\\urllib3\\util\\timeout.py\", line 124, in _validate_timeout\r\n    float(value)\r\nTypeError: float() argument must be a string or a number, not 'Timeout'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"p:\\anaconda\\lib\\runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"p:\\anaconda\\lib\\runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"P:\\Anaconda\\Scripts\\git-remote-dropbox.exe\\__main__.py\", line 9, in <module>\r\n  File \"p:\\anaconda\\lib\\site-packages\\git_remote_dropbox\\__init__.py\", line 759, in main\r\n    helper.run()\r\n  File \"p:\\anaconda\\lib\\site-packages\\git_remote_dropbox\\__init__.py\", line 370, in run\r\n    self._do_list(line)\r\n  File \"p:\\anaconda\\lib\\site-packages\\git_remote_dropbox\\__init__.py\", line 395, in _do_list\r\n    refs = self._get_refs(for_push=for_push)\r\n  File \"p:\\anaconda\\lib\\site-packages\\git_remote_dropbox\\__init__.py\", line 652, in _get_refs\r\n    res = self._connection().files_list_folder(loc, recursive=True)\r\n  File \"p:\\anaconda\\lib\\site-packages\\dropbox\\base.py\", line 715, in files_list_folder\r\n    None,\r\n  File \"p:\\anaconda\\lib\\site-packages\\dropbox\\dropbox.py\", line 234, in request\r\n    timeout=timeout)\r\n  File \"p:\\anaconda\\lib\\site-packages\\dropbox\\dropbox.py\", line 325, in request_json_string_with_retry\r\n    timeout=timeout)\r\n  File \"p:\\anaconda\\lib\\site-packages\\dropbox\\dropbox.py\", line 409, in request_json_string\r\n    timeout=timeout,\r\n  File \"p:\\anaconda\\lib\\site-packages\\requests\\sessions.py\", line 565, in post\r\n    return self.request('POST', url, data=data, json=json, **kwargs)\r\n  File \"p:\\anaconda\\lib\\site-packages\\requests\\sessions.py\", line 518, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"p:\\anaconda\\lib\\site-packages\\requests\\sessions.py\", line 639, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"p:\\anaconda\\lib\\site-packages\\requests\\adapters.py\", line 438, in send\r\n    timeout=timeout\r\n  File \"p:\\anaconda\\lib\\site-packages\\urllib3\\connectionpool.py\", line 588, in urlopen\r\n    timeout_obj = self._get_timeout(timeout)\r\n  File \"p:\\anaconda\\lib\\site-packages\\urllib3\\connectionpool.py\", line 303, in _get_timeout\r\n    return Timeout.from_float(timeout)\r\n  File \"p:\\anaconda\\lib\\site-packages\\urllib3\\util\\timeout.py\", line 154, in from_float\r\n    return Timeout(read=timeout, connect=timeout)\r\n  File \"p:\\anaconda\\lib\\site-packages\\urllib3\\util\\timeout.py\", line 94, in __init__\r\n    self._connect = self._validate_timeout(connect, 'connect')\r\n  File \"p:\\anaconda\\lib\\site-packages\\urllib3\\util\\timeout.py\", line 127, in _validate_timeout\r\n    \"int, float or None.\" % (name, value))\r\nValueError: Timeout value connect was Timeout(connect=30, read=30, total=None), but it must be an int, float or None.\r\n```\r\n\r\nThe only steps that I have taken were installing the program via pip (as in the instructions) and creating a file called `.git-remote-dropbox.json` in my home folder (inside my user profile) with the API key, then creating a test repo in my computer (not in dropbox), then running `git remote add origin dropbox:///`.\r\n\r\nWhat could I be doing wrong?"},"comment":{"url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/issues/comments/323938149","html_url":"https://github.com/anishathalye/git-remote-dropbox/issues/65#issuecomment-323938149","issue_url":"https://api.github.com/repos/anishathalye/git-remote-dropbox/issues/65","id":323938149,"user":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars1.githubusercontent.com/u/3526486?v=4","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T07:04:28Z","updated_at":"2017-08-22T07:04:28Z","body":"ok nvm I opened an issue"}}
{"actor":{"display_login":"anishathalye"}}