Cannot upload some files using nitrogen element_upload
Reported by Vu Hoang | January 21st, 2010 @ 02:05 AM
try the nitrogen upload function in nitrogen project
homepage
( http://nitrogenproject.com/web/samples/upload
) and also setup a nitrogen in my own computer to test the
function.
Some files can be uploaded well but some files cannot be uploaded,
for
example this file:
http://groups.google.com/group/nitrogenweb/web/webmc.zip
I look at the console and it prints these lines:
ERROR erlang code crashed:
File: appmod:0 Reason:
{badarg,[{erlang,list_to_integer,[[133,221],16]},
{yaws_api,do_parse_spec,5},
{wf_handle,handle_request,2},
{yaws_server,deliver_dyn_part,8},
{yaws_server,aloop,3},
{yaws_server,acceptor0,2},
{proc_lib,init_p_do_apply,3}]}
Req:
{http_request,'POST',{abs_path,"/en/samples/upload"},{1,1}}
Stack: [{erlang,list_to_integer,[[133,221],16]},
{yaws_api,do_parse_spec,5},
{wf_handle,handle_request,2},
{yaws_server,deliver_dyn_part,8},
{yaws_server,aloop,3},
{yaws_server,acceptor0,2},
{proc_lib,init_p_do_apply,3}]
Comments and changes to this ticket
-
Rusty Klophaus April 13th, 2010 @ 09:24 PM
- State changed from new to resolved
- Assigned user set to Rusty Klophaus
Fixed some bugs in the multi-part parsing in Nitrogen 2.x. Verified that this file can be uploaded on http://nitrogenproject.com/demos/upload.
Please grab the latest code from http://nitrogenproject.com/downloads and try again, post another bug if you still have problems.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang