fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

Web UI file upload under Windows appears to hang #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. ask me for sample content (500 MB book)

2. Start the Web UI under windows (IE 8)

3. Upload the file as part of new job creation process

4. See screenshot of file upload process -- file size says NaN TB, and it's 
basically hung here.

5. I can proceed to choosing a script, picking the ncc file, and starting a 
job, but the job never properly starts. It hangs at "Starting job" and is not 
listed in the Jobs list.

Original issue reported on code.google.com by marisa.d...@gmail.com on 25 Apr 2013 at 2:03

GoogleCodeExporter commented 9 years ago
Here is the screenshot

Original comment by marisa.d...@gmail.com on 25 Apr 2013 at 2:08

Attachments:

GoogleCodeExporter commented 9 years ago
By the way, this was IE8 / WinXP. I experienced the same thing with IE 9 / Win 
7. Chrome and Win 7 worked just fine (well, it's still running actually, but it 
got past the file upload part).

Original comment by marisa.d...@gmail.com on 25 Apr 2013 at 3:39

GoogleCodeExporter commented 9 years ago
I tried in Chrome on Win XP and it got stuck at "Starting job...". After 
starting the desktop web ui in Linux and accessing it using Chrome on Win XP by 
going to MyIP:9000 it worked. So I would say the getting stuck at "Starting 
job..." thing is probably a Windows thing where the job is not properly 
submitted to the engine somehow. In the web ui log it seems that the web ui 
runs the function that posts the job but the engines log doesn't seem to get a 
job request at all. I'm investigating further...

Original comment by josteinaj@gmail.com on 25 Apr 2013 at 10:41

GoogleCodeExporter commented 9 years ago
In IE9 and earlier it is not possible to get the filesize or progress of files 
that are being uploaded[1]. So while the file is uploading in IE9 and earlier, 
the entire progressbar is animated and the filesize is not displayed. Or at 
least it should not be displayed, it seems to display NaN TB instead which is a 
bug.

My WinXP machine is quite slow so it takes time to upload the file - which 
makes it seem like it is stuck. After the progressbar and cancel button 
disappears the file is uploaded and you should be able to start the job - 
except for the issue with the "Starting job..." button which happened once in 
both IE and Chrome, but also worked for me in both IE and Chrome when I tried 
later. Maybe just waiting for a while works for that as well if the computer is 
slow.

[1] https://github.com/blueimp/jQuery-File-Upload/issues/463

Original comment by josteinaj@gmail.com on 25 Apr 2013 at 11:52

GoogleCodeExporter commented 9 years ago
Also, after uploading a ZIP file, the Web UI will create a list of all the 
files it contains along with their file sizes and send that list to the 
browser. If the computer is slow, that means there will be some idle time after 
the upload succeeds and before the browser received the information about how 
big the upload was and what files it contained.

Original comment by josteinaj@gmail.com on 25 Apr 2013 at 12:02

GoogleCodeExporter commented 9 years ago
I tried again with Win7 / IE 9 and let the upload take its time, and now the 
job is running - it hasn't finished yet but is well on its way. I think it's 
going to succeed. 

It still reported NaN TB as the file size while uploading but when it was 
finished, the UI proceeded automatically to the scripts list.

Original comment by marisa.d...@gmail.com on 25 Apr 2013 at 5:18

GoogleCodeExporter commented 9 years ago
The "NaN TB" should be fixed in this commit to the Web UI:
https://github.com/daisy-consortium/pipeline-webui/commit/0ce4256018f3cb8ec9f53a
99b5f6d16d40eb1a1c

I haven't tested it though...

Original comment by josteinaj@gmail.com on 26 Apr 2013 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by josteinaj@gmail.com on 26 Apr 2013 at 2:58

GoogleCodeExporter commented 9 years ago
I'm closing this as the "NaN TB" part of the issue is fixed, and the only 
apparently stuck progressbar only affects IE9.

Original comment by josteinaj@gmail.com on 20 Jun 2013 at 2:08