Giter Site home page Giter Site logo

pybox's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pybox's Issues

Cannot logon

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

Cannot login (error: no form matching name 'login_form')

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

Download file in blocks?

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!

Plan to support v2 Box.net API?

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

calculate local file hash using streamed read?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.