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

For any upload, it will fail, crash server. #7

Closed
ryansnowden opened this issue Feb 28, 2013 · 6 comments
Closed

For any upload, it will fail, crash server. #7

ryansnowden opened this issue Feb 28, 2013 · 6 comments

Comments

@ryansnowden
Copy link

[2013-02-28 16:56:58.964] [ERROR] console - TypeError: Cannot call method 'split' of undefined
at exports.onRequest (/Applications/MAMP/htdocs/etherpad-lite/node_modules/ep_fileupload/controllers/fileUpload.js:48:47)
at IncomingForm.parse (/Applications/MAMP/htdocs/etherpad-lite/node_modules/ep_fileupload/node_modules/formidable/lib/incoming_form.js:112:9)
at IncomingForm.EventEmitter.emit (events.js:93:17)
at IncomingForm._maybeEnd (/Applications/MAMP/htdocs/etherpad-lite/node_modules/ep_fileupload/node_modules/formidable/lib/incoming_form.js:523:8)
at IncomingForm.handlePart (/Applications/MAMP/htdocs/etherpad-lite/node_modules/ep_fileupload/node_modules/formidable/lib/incoming_form.js:206:12)
at File.end (/Applications/MAMP/htdocs/etherpad-lite/node_modules/ep_fileupload/node_modules/formidable/lib/file.js:68:5)
at WriteStream.flush (fs.js:1527:9)
at fs.close (/Applications/MAMP/htdocs/etherpad-lite/src/node_modules/npm-registry-client/node_modules/graceful-fs/graceful-fs.js:90:5)
at fs.close (/Applications/MAMP/htdocs/etherpad-lite/src/node_modules/graceful-fs/graceful-fs.js:95:5)
at fs.close (/Applications/MAMP/htdocs/etherpad-lite/src/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:90:5)

@JohnMcLear
Copy link
Collaborator

How did you install the plugin?
What OS?
Can you provide steps to replicate?

@ryansnowden
Copy link
Author

Through /admin
OS is Mountain Lion

Clone EtherPad as per instructions, set admin passwords, using MySQL db or Dirty DB doesn't matter. Tried replacing dependencies with latest from Felix.

I'm thinking it might be permission based. Perhaps node installed through homebrew doesn't allow the file being written and so you can't get the filename.

@JohnMcLear
Copy link
Collaborator

Weird, I can replicate same issue. Will investigate.

@ryansnowden
Copy link
Author

Much thanks!

@JohnMcLear
Copy link
Collaborator

Fixed, please get version 0.0.8

@ryansnowden
Copy link
Author

Confirmed on tag 1.2.7 since etherpad develop crashes on /admin :P Thanks for the quick response! You da man!

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