Comments

Nested
uploading never finishes
User: mdeisher
Date: 10/6/2008 10:43 am
Views: 15407
Rating: 16

The java applet seems to behave just fine (recording and playback work) but when I upload the result, the "Uploading..." message is displayed and it never completes.  I waited about 20 minutes.  Suggest that you add a progress meter or some way to confirm that the upload is happening.  Also suggest you add the capability to save the zip file locally so that the recordings are not lost and can be sent it manually.

Re: uploading never finishes
User: kmaclean
Date: 10/9/2008 3:04 pm
Views: 687
Rating: 17

Hi mdeisher,

Sorry for the delay in getting back to you... I only got you email today (I've done quite a few upgrades (O/S and CMS) in the past few weeks and it seemed to have caused some problems with SendMail...)

>Suggest that you add a progress meter or some way to confirm that the

>upload is happening.

The Speech submission app actually has a progress meter (the thin rectangle just above ""For more information on Copyright and GPL...") with a moving indicator that tells you how much of the file has uploaded.

>Also suggest you add the capability to save the zip file locally so that

>the recordings are not lost and can be sent it manually.

The files are saved in your /tmp directory... if Java terminated abnormally, it should still be there (sort the files by date ...).

If you can display the Java console (which is an addon to FireFox) please paste the output of another attempt to upload a file with the SpeechSubmission app - just put test-yourusername as the Username and record short clips of silence, click upload.

thanks,

Ken

Re: uploading never finishes
User: mdeisher
Date: 10/10/2008 10:18 am
Views: 619
Rating: 17

OK.  Here's the Java console output:

Java Plug-in 1.6.0_04
Using JRE version 1.6.0_04 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\MDeisher


----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

CapturePlayback Language:EN:

PromptList Character Encoding:UTF8
CapturePlayback's WAV file for recording uploadWavFile0is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0313.wav
CapturePlayback's WAV file for recording uploadWavFile1is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0314.wav
CapturePlayback's WAV file for recording uploadWavFile2is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0315.wav
CapturePlayback's WAV file for recording uploadWavFile3is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0316.wav
CapturePlayback's WAV file for recording uploadWavFile4is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0317.wav
CapturePlayback's WAV file for recording uploadWavFile5is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0318.wav
CapturePlayback's WAV file for recording uploadWavFile6is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0319.wav
CapturePlayback's WAV file for recording uploadWavFile7is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0320.wav
CapturePlayback's WAV file for recording uploadWavFile8is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0321.wav
CapturePlayback's WAV file for recording uploadWavFile9is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0322.wav
=== Record 1 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0313.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:6.25
capture duration:6.375
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 1 ===
duration:6.25
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Record 2 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0314.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:3.0
capture duration:3.125
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 2 ===
duration:3.0
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Record 3 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0315.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:4.0
capture duration:4.125
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 3 ===
duration:4.0
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Record 4 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0316.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:4.125
capture duration:4.25
numPeakValues: 0
proportionPeakValues: 0.0
=== Record 5 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0317.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:3.75
capture duration:3.875
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 5 ===
duration:3.75
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Record 6 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0318.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:2.875
capture duration:3.0
numPeakValues: 0
proportionPeakValues: 0.0
=== Record 7 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0319.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:3.25
capture duration:3.375
numPeakValues: 0
proportionPeakValues: 0.0
=== Record 8 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0320.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:5.0
capture duration:5.125
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 8 ===
duration:5.0
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Record 9 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0321.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:4.625
capture duration:4.625
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 9 ===
duration:4.625
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Record 10 ===
Capture uploadWavFile is:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\b0322.wav
AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
duration1:3.25
capture duration:3.375
numPeakValues: 0
proportionPeakValues: 0.0
=== Play 10 ===
duration:3.25
numPeakValues: 0
proportionPeakValues: 0.0
reached end of file
=== Upload ===
Destination URL is http://read.voxforge1.org/r0_1_6/javaUploadServer.php
Adding b0313.wav
Adding b0314.wav
Adding b0315.wav
Adding b0316.wav
Adding b0317.wav
Adding b0318.wav
Adding b0319.wav
Adding b0320.wav
Adding b0321.wav
Adding b0322.wav
Adding prompts.txt
Adding readme.txt
Adding license.txt
Adding GPL_license.txt
Adding completed OK
Archive file location:C:\DOCUME~1\MDeisher\LOCALS~1\Temp\VF-dir55568.tmp\Mike-20081010-igv.zip
Uploading to http://read.voxforge1.org/r0_1_6/javaUploadServer.php
*** IOException: UploadManager ***
Exception in thread "Thread-44" java.lang.NullPointerException
 at net.sf.postlet.UploadManager.run(UploadManager.java:74)

Re: uploading never finishes
User: kmaclean
Date: 10/10/2008 12:39 pm
Views: 655
Rating: 14

Hi mdeisher,

I've just tested the app with on Windows XP SP1 with this version of Java:

  Java Plug-in 1.6.0_07
  Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM

And it seems to be uploading OK...

Are you using Windows Vista? Is your firewall blocking the upload somehow?

Ken

Re: uploading never finishes
User: mdeisher
Date: 10/10/2008 1:09 pm
Views: 584
Rating: 17

Thanks!  I upgraded to the same version of the JRE as you.  But the UploadManager still generates a "NullPointerException".  I am behind a corporate firewall but I don't know how to determine whether or not it is blocking the upload.  Even if it was blocking the upload, a null pointer exception does not seem like proper applet behavior.

 

--Mike

 

Re: uploading never finishes
User: kmaclean
Date: 10/10/2008 2:46 pm
Views: 650
Rating: 17

Hi Mike,

Thanks for your help on this...

> Even if it was blocking the upload, a null pointer exception does not

>seem like proper applet behavior.

Agree, but I like to try to eliminate all possibilities before digging into the code...

>I am behind a corporate firewall but I don't know how to determine

>whether or not it is blocking the upload.

Are you also using a proxy server?  The VoxForge SpeechSubmission app uses Postlet code on the client and server end... they say that if you are behind a proxy server, you should do this:

For users behind a proxy server, you need to ensure that Java is correctly set up on your machine.

To set the proxy server for your JRE, assuming you're using the SUN JRE, then do the following steps:

  • Open the JRE control panel. On windows this is located in the system control panel under Java (Start -> Control Panel -> Java - If this isn't visible, ensure you're using "Classic View", and not "Category View"). ...
  • Click the "General" tab, and then click the "Network Settings..." button. Enter the proxy settings as stipulated by your local systenm administrator
  • Restart your web browser.
  • Postlet will now use the proxy connection settings that you have specified.

 

Can you get the example application on the postlet site to work (i.e. upload a test file to the postlet server)?

thanks,

Ken

Re: uploading never finishes
User: kmaclean
Date: 10/10/2008 2:52 pm
Views: 649
Rating: 16

Forget trying the example application on the postlet site, I can't get it to work on either Fedora 9 or Windows XP... not sure what the problem is.

Re: uploading never finishes
User: kmaclean
Date: 10/10/2008 3:15 pm
Views: 615
Rating: 14

We had some similar problems with the speech submission app using a Thomson router which were never resolved... In that case, the Java console message said:

Archive file location:C:\DOCUME~1\JACCOH~1\LOCALS~1\Temp\VF-dir27777.tmp\dano-20080714-qqg.zip
Uploading to http://read.voxforge1.org/r0_1_4/javaUploadServer.php
Exception in thread "Thread-37" java.lang.StackOverflowError
    at java.lang.Exception.<init>(Unknown Source)
    at java.io.IOException.<init>(Unknown Source)
    at java.net.SocketException.<init>(Unknown Source)
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at net.sf.postlet.UploadThread.uploadFile(UploadThread.java:109)
    at net.sf.postlet.UploadThread.upload(UploadThread.java:83)
    at net.sf.postlet.UploadThread.run(UploadThread.java:65)
    at net.sf.postlet.UploadThread.run(UploadThread.java:75)
    at net.sf.postlet.UploadThread.run(UploadThread.java:75)
    at net.sf.postlet.UploadThread.run(UploadThread.java:75)

   ...

 

Re: uploading never finishes
User: mdeisher
Date: 10/10/2008 3:33 pm
Views: 694
Rating: 16

Editing the proxy settings in the Java control panel did the trick!  Now I can upload.  I still have two zip files from previous sessions that I would like to upload manually.  How can I do that?  This web page http://www.voxforge.org/home/uploads/ftp-submissions is not helpful at all.

Thanks!!!

--Mike

 

Re: uploading never finishes
User: kmaclean
Date: 10/10/2008 6:40 pm
Views: 610
Rating: 13

Hi Mike,

>Editing the proxy settings in the Java control panel did the trick!

Excellent... thanks for the help on this!

>I still have two zip files from previous sessions that I would like to

>upload manually.  How can I do that?

Just upload them as an attachment in a post to the English Forum on the Listen page (it will accept anything less than 50meg). 

> This web page http://www.voxforge.org/home/uploads

>/ftp-submissions is not helpful at all.

Sorry about that... the link is broken and I have to reconstruct the page from backup (I did some house cleaning a while back and deleted the original "container" object that held that page.  WebGUI has a nice feature that will keep a link to an object, even if it is in the trash, with the assumption that you will fix the link before the monthly trash purge runs - after which it is gone forever... ).

thanks again,

Ken

PreviousNext