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

TypeError: __init__() got an unexpected keyword argument 'errno'/dropbox-fs 0.1_11 #2

Open
zopyx opened this issue May 9, 2013 · 2 comments

Comments

@zopyx
Copy link

zopyx commented May 9, 2013

I am calling
fs = DropboxFS(APP_KEY, APP_SECRET, 'dropbox', request_token, access_token)
print fs.makedir('a')

and get the following:

sucmac:pp.buildout ajung$ bin/zopepy dp.py
<dropbox.session.DropboxSession object at 0x10f82fa50>
https://www.dropbox.com/1/oauth/authorize?oauth_token=xRFR7iazM5ph5UsD
Traceback (most recent call last):
File "bin/zopepy", line 46, in
exec(compile(file__f.read(), __file, "exec"))
File "dp.py", line 36, in
print fs.makedir('a')
File "/Users/ajung/.buildout/eggs/dropboxfs-0.1_11-py2.7.egg/dropboxfs.py", line 446, in makedir
self.client.file_create_folder(path)
File "/Users/ajung/.buildout/eggs/dropboxfs-0.1_11-py2.7.egg/dropboxfs.py", line 242, in file_create_folder
errno=e.status)
File "/Users/ajung/.buildout/eggs/fs-0.4.0-py2.7.egg/fs/errors.py", line 92, in init
super(OperationFailedError,self).init(**kwds)
TypeError: init() got an unexpected keyword argument 'errno'

@freak3dot
Copy link

Could this be related to unlinking your Dropbox account from the Dropbox security settings?

@freak3dot
Copy link

See this related commit: smartfile@52bdf34

freak3dot pushed a commit to freak3dot/fs-dropbox that referenced this issue Aug 24, 2015
…he dropbox 1.6 client and do not have a start parameter on open_file. References btimby#2
freak3dot pushed a commit to freak3dot/fs-dropbox that referenced this issue Aug 24, 2015
…. Also allow multiple attempts to close remote dropbox file. References btimby#2
freak3dot pushed a commit to freak3dot/fs-dropbox that referenced this issue Aug 24, 2015
freak3dot added a commit to freak3dot/fs-dropbox that referenced this issue Aug 24, 2015
Add seek to the chunkedReader. Closes btimby#2
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

2 participants