Topic: Chrome: Files Not Added Sometimes

Hi,

I'm currently using the Queue Widget, great uploader by the way, and I've noticed a problem that only seems to happen in Chrome.

Sometimes I have a lot of images to upload (over 200) and if I select more the 20-30 (seem to be random) in Chrome it won't add them to the queue. I have to select 20, then another 20, then another... You get the idea.

The odd thing is that other times it works fine. Someone once suggested it was a limitation of Flash & file name lengths? Could that be the problem?

Any ideas, help, or suggestions would be greatly appreciated. Thanks.

Re: Chrome: Files Not Added Sometimes

Hi

I have the same problem when trying to add a lots of photos at same time (over 200 too) in Chrome.
In firefox it happens with over 400 photos

Need help too
Thanks

Re: Chrome: Files Not Added Sometimes

Glad it's not just me then. I think it may be file name length related as I seem to be able to select a lot more files with sorter names than ones with longer names.

Is this a Flash limitation?

Re: Chrome: Files Not Added Sometimes

If you are using flash exclusively have you applied the hotfix noted in issue #421?  It has resulted in multiple odd behaviours with the flash upload:

https://github.com/moxiecode/plupload/issues/421
https://github.com/moxiecode/plupload/issues/432

Re: Chrome: Files Not Added Sometimes

I am using flash exclusively. I haven't tried it yet, will give it a go and see if it helps.

I'm not using the flash resizing though, all my resizing is done on the server, will still give the fix a try though.

Edit: Is the built swf file still available on github? I don't have the tools to build a swf from scratch...

Last edited by VeneficusUnus (2011-12-06 21:02:02)

Re: Chrome: Files Not Added Sometimes

This looks like it was fixed by the issue mentioned by Mike.

For anyone else struggling to download the newly compiled swf file in the github issue list, try right-clicking & hitting save as. My browser would just reload the page again when I clicked so I thought the link no longer worked. sad *facepalm*

Re: Chrome: Files Not Added Sometimes

Well I thought it had been fixed, but I just tried to add 158 pictures to the queue all with filenames that were in pic_000 format to keep them short & it still wouldn't add them. Will see if I can install the dev version of flash & flashbug to see if I can see any errors.

Re: Chrome: Files Not Added Sometimes

Installed the debug version of Flash & didn't have the error for a while, but it's back now. When I tried to add about 260 images I got this error in the flash debug window:

Error: Error #2038: File I/O Error.
    at flash.net::FileReference/get size()
    at com.plupload::File()
    at com.plupload::Plupload/selectEvent()

If anyone can provide any ideas I'd love the hear them. It isn't a super important error or anything, but it's starting to annoy users of my site since it's quite common for them to upload a large amount of images.

Thanks.

Re: Chrome: Files Not Added Sometimes

@VeneficusUnus, weird. I will look into it.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Chrome: Files Not Added Sometimes

Successfully added 327 files to the queue in Flash runtime. Does it always happen to you? Maybe we could try to narrow it to some specific case.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Chrome: Files Not Added Sometimes

Not every time I try to upload. Just when I try to upload a lot of files. From the error, bearing in mind my Flash knowledge is very limited, I would say it's something to do with the total size of the selected files?

I'll try to narrow it down further, but I can tell you the total file size of the selected images was 334MB. From memory I believe it only happens if the combined file size of the selected images is above 200MB, I'm not sure on that though.

If you can find anything that would be awesome, will keep testing though & add more info if I find anything.

Last edited by VeneficusUnus (2011-12-27 13:35:17)

Re: Chrome: Files Not Added Sometimes

My 327 files combined were over 1gb. Maybe it depends on a ratio of your RAM to combined file size. How much RAM do you have.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Chrome: Files Not Added Sometimes

I have 8GB of RAM.

I really don't know what's causing it. I just tried to add a large amount of files earlier, the combined files size was about 700MB and it didn't flinch. sad

The odd thing is it seems to be repeatable as if I add the same images that caused the error to the queue again it will error again.