hzheng / pybox Goto Github PK
View Code? Open in Web Editor NEWa Python API/client that manipulates files on box.com (a.k.a box.net)
License: MIT License
a Python API/client that manipulates files on box.com (a.k.a box.net)
License: MIT License
It seems it always say: no form matching name 'login_form'. Same user name and password works on browsers like Firefox/IE.
Also, is there a way to use oAuth (authorize the app access instead of doing logon within app)?
Thanks a lot!
-------- callstack ----------
no form matching name 'login_form'
Traceback (most recent call last):
File "pybox/boxclient.py", line 248, in
sys.exit(main())
File "pybox/boxclient.py", line 217, in main
client = init_client(options)
File "pybox/boxclient.py", line 110, in init_client
user_account, login, password)
File "pybox/boxapi.py", line 442, in get_auth_token
authorization_code = self._authorize(login, password)
File "pybox/boxapi.py", line 398, in _authorize
"authorization failed, please check your login/password")
boxapi.ParameterError: authorization failed, please check your login/password
Hello, thanks for the great project. I used it on my Raspberry Pi and it worked perfectly.
Yesterday my Raspberry Pi boot disk was corrupted and I restored the image to the state of 3 months back. Since the refresh token already expired, I need to login the app with user name/password again.
However, I got an error: no form matching name 'login_form'. This was working fine before. I'm not sure if Box side could have changed something and broke this?
Call stack is pasted below. Thank you very much!
no form matching name 'login_form'
Traceback (most recent call last):
File "/home/george/pybox/boxclient.py", line 270, in
sys.exit(main())
File "/home/george/pybox/boxclient.py", line 237, in main
client = init_client(options)
File "/home/george/pybox/boxclient.py", line 113, in init_client
user_account, login, password)
File "/home/george/pybox/boxapi.py", line 466, in get_auth_token
authorization_code = self._authorize(login, password)
File "/home/george/pybox/boxapi.py", line 421, in _authorize
"authorization failed, please check your login/password")
boxapi.ParameterError: authorization failed, please check your login/password
It seems the memory usage increases when downloading big files. Is it possible to write blocks (e.g., 1MB) as reading from internet? This will be very helpful to run this on small Linux box like Raspberry Pi. Thanks!
Great project! especially useful for embedded system like Raspberry Pi.
It seems v1 API will no longer work by end of year, is there a plan to support v2 API?
Thanks
it seems the program uses a lot of memory when calculating local file hash when the file is big (e.g., 2GB). I guess it tries to read whole file into memory before calculation. If so, is it possible to do the calculation block by block instead?
It seems it complains about cannot decode the non ASCII chars. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.