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

Debug the issue with put command #3

Open
igor-kupczynski opened this issue Jan 4, 2015 · 1 comment
Open

Debug the issue with put command #3

igor-kupczynski opened this issue Jan 4, 2015 · 1 comment
Labels
Milestone

Comments

@igor-kupczynski
Copy link
Owner

Do not forget about the automated tests

@igor-kupczynski igor-kupczynski added this to the 0.0.3 milestone Jan 4, 2015
@igor-kupczynski
Copy link
Owner Author

Stacktrace is this

$ geeknyte put pic.jpg /Shared/Temp/4.jpg

# This is now defunct due to the following. I need to debug it
/usr/lib/node_modules/geeknyte/node_modules/egnyte-js-sdk/node_modules/q/q.js:126
                    throw e;
                          ^
Error: Only files with non zero sizes can be uploaded
    at Request._callback (/usr/lib/node_modules/geeknyte/node_modules/egnyte-js-sdk/src/lib/api_elements/reqengine.js:97:21)
    at Request.self.callback (/usr/lib/node_modules/geeknyte/node_modules/egnyte-js-sdk/node_modules/request/request.js:123:22)
    at Request.emit (events.js:98:17)
    at Request.<anonymous> (/usr/lib/node_modules/geeknyte/node_modules/egnyte-js-sdk/node_modules/request/request.js:1047:14)
    at Request.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/geeknyte/node_modules/egnyte-js-sdk/node_modules/request/request.js:998:12)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:943:16
    at process._tickCallback (node.js:419:13)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant