pyamazonclouddrive-clone icon indicating copy to clipboard operation
pyamazonclouddrive-clone copied to clipboard

Failed login

Open coticj opened this issue 10 years ago • 10 comments

Im trying to login using this, but i get the following error:

Logining to Amazon.com ... Traceback (most recent call last): File "./acdmkdir.py", line 165, in main() File "./acdmkdir.py", line 120, in main elif not session.is_valid(): AttributeError: 'Session' object has no attribute 'is_valid'

I'm running it with:

./acdmkdir.py -e [email protected] -p PASSWORD -s ~/.acdsession somewhere

coticj avatar Apr 03 '15 19:04 coticj

Getting the exact same error.

procmail avatar Apr 07 '15 01:04 procmail

Using acdlist.py, I get the same error message. But if I comment out the session.is_valid and session.is_logined checks, acdlist successfully shows the stuff on the Amazon Cloud Drive.

procmail avatar Apr 07 '15 02:04 procmail

Apparently there are changes in the upstream repo (removing those checks, for example) that I did not successfully copy into this repo. I will update it further.

handyman5 avatar Apr 07 '15 08:04 handyman5

Ok, I can confirm, that it works, if I remove that. But now I have a different problem. Acdlist lists completly different files than web client. And anything I upload through acd is not seen on the web and vice versa.

jurecotic avatar Apr 07 '15 09:04 jurecotic

See https://github.com/handyman5/acd_fuse/issues/10#issuecomment-90468203. I'm not sure what to do about this one.

handyman5 avatar Apr 07 '15 09:04 handyman5

Another login problem, which I'm having now:

pyacd.exception.PyAmazonCloudDriveError: PyAmazonCloudDriveError: You need to agree with license terms at web page: https://www.amazon.com/clouddrive

This happens when I try to upload a file through acdput.

jurecotic avatar Apr 07 '15 10:04 jurecotic

@jurecotic ... Have you tried visiting that web page and agreeing with the license terms? This seems like a pretty straightforward error.

handyman5 avatar Apr 07 '15 16:04 handyman5

Well yes, I did agree with the license terms when I created the account and logged in for the first time. When I visit the page I don't get any prompts or anything...

jurecotic avatar Apr 07 '15 17:04 jurecotic

Then I really have no idea, I'm afraid; I haven't seen that error myself.

handyman5 avatar Apr 07 '15 17:04 handyman5

@jurecotic you can try to comment out that check in api.py

whsyu avatar Jun 14 '15 04:06 whsyu