Tuesday, June 30, 2020

Re: GWT SingleUploader gets stuck

Thanks very much.

I was using it because it allows me to modify the uploaded file name from the client's side. Is it possible to do that using FileUpload?


On Tuesday, June 30, 2020 at 5:27:47 PM UTC+3, Colin Alworth wrote:
It looks like this isn't part of GWT itself, but an external library. Here's a stackoverflow post i found from a few years ago that seems to address your issue: https://stackoverflow.com/questions/31424639/gwt-error-when-uploading-file-with-singleuploader

It looks like the project might live on in github, but there has been minimal activity there: https://github.com/manolo/gwtupload/. Check the network of forks for more updated versions to see if one of them might be the "new home" for this project? https://github.com/manolo/gwtupload/network

On Tuesday, June 30, 2020 at 8:52:36 AM UTC-5, ahmdt wrote:
When I upload a file using SingleUploader or MultiUploader, the file gets uploaded but the uploader's progress bar gets stuck at 0% for a very, very long time.

When I try to upload a second file in the same session, I get this message:
 
There is already an active upload, try later. 


This is my code:

final SingleUploader uploader = new SingleUploader();
uploader.setAutoSubmit(false);
uploader.setMultipleSelection(false);
uploader.setValidExtensions(".log");
uploader.setServletPath("/reprocess/"+userTestXml);
uploader.avoidRepeatFiles(false);


 Any advice here?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9f57d3b6-956b-40de-9823-452a187094efo%40googlegroups.com.

No comments:

Post a Comment