General Discussion

Flat
problem to upload using the jnlp file
User: juanmol
Date: 6/11/2018 8:11 am
Views: 8483
Rating: 0

Hi, i'm trying to upload speeches using the jnlp file, for spanish model. I record all sentencens, clic on "subir" (upload) and progress bar only moves a few at the beginning. I have been waiting for a long time and ... nothing. Is there any log or similar that i can view?

--- (Edited on 6/11/2018 8:12 am [GMT-0500] by juanmol) ---

Re: problem to upload using the jnlp file
User: kmaclean
Date: 6/11/2018 9:34 am
Views: 35
Rating: 0

> Is there any log or similar that i can view?

app is written in Java - use Java Console

Please let me know what you find,

thanks.

--- (Edited on 6/11/2018 10:34 am [GMT-0400] by kmaclean) ---

Re: problem to upload using the jnlp file
User: juanmol
Date: 6/12/2018 3:19 am
Views: 106
Rating: 0

hi,

I've made two more test, the first one works:

=== Upload ===
Uploading to http://read.voxforge1.org/speech/javaUploadServer.php
Finished! submission uploaded to VoxForge repository
but the second one, fails as yesterday:
username:juanmol
=== creating archive ===
Destination URL is http://read.voxforge1.org/speech/javaUploadServer.php
Adding es-0021.wav
Adding es-0022.wav
Adding es-0023.wav
Adding es-0024.wav
Adding es-0025.wav
Adding es-0026.wav
Adding es-0027.wav
Adding es-0028.wav
Adding es-0029.wav
Adding es-0030.wav
Adding prompts.txt
Adding readme.txt
Adding license.txt
Adding completed OK
Archive file location:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir3232104888950513606.tmp\es-juanmol-20180612-iui.zip
SaveOrUpload totalBytes:5382801
=== Upload ===
Uploading to http://read.voxforge1.org/speech/javaUploadServer.php
Exception in thread "Thread-64" java.lang.StackOverflowError
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:106)
at net.sf.postlet.UploadThread.upload(UploadThread.java:79)
at net.sf.postlet.UploadThread.run(UploadThread.java:61)
at net.sf.postlet.UploadThread.run(UploadThread.java:71)
at net.sf.postlet.UploadThread.run(UploadThread.java:71)
at net.sf.postlet.UploadThread.run(UploadThread.java:71)
The last line ...java:71 repeats a lot

--- (Edited on 6/12/2018 3:19 am [GMT-0500] by juanmol) ---

Re: problem to upload using the jnlp file
User: juanmol
Date: 6/14/2018 2:27 am
Views: 24
Rating: 0

any ideas?

--- (Edited on 6/14/2018 2:27 am [GMT-0500] by juanmol) ---

Re: problem to upload using the jnlp file
User: kmaclean
Date: 6/14/2018 11:32 am
Views: 209
Rating: 0

>any ideas?

Nothing stands out...

"net.sf.postlet" refers to postlet is a library I use for uploading the actual files to the VoxForge server.  Its been pretty stable for the past decade.

If you try putting the URL: http://read.voxforge1.org/speech/javaUploadServer.php into your browser, do you get something like this?:

array(0) { } POSTLET REPLY POSTLET:NO POSTLET:FILE TYPE NOT ALLOWED POSTLET:ABORT THIS END POSTLET REPLY

Are you running this on Windows or Linux?  Are you using Oracle Java?

All this will be irrelevant soon... now have a  Javascript app that make things much easier.

 

 

--- (Edited on 6/14/2018 12:32 pm [GMT-0400] by kmaclean) ---

--- (Edited on 12/3/2018 9:00 pm [GMT-0500] by kmaclean) ---

Re: problem to upload using the jnlp file
User: juanmol
Date: 6/19/2018 6:09 am
Views: 4
Rating: 0

Hi, i get:

array(0) { } POSTLET REPLY POSTLET:NO POSTLET:FILE TYPE NOT ALLOWED POSTLET:ABORT THIS END POSTLET REPLY

I'm trying from Windows, Oracle Java.

The Javascript app it's a great idea. I have a lot of people (more than 100) that will be contribute with their voices, but the system needs to be as easy as possible.

Waiting for instructions ... or for the javascript if it will be soon ;)

--- (Edited on 6/19/2018 6:09 am [GMT-0500] by juanmol) ---

Re: problem to upload using the jnlp file
User: kmaclean
Date: 6/19/2018 7:39 am
Views: 2
Rating: 0

>array(0) { } POSTLET REPLY POSTLET:NO POSTLET:FILE TYPE

>NOT ALLOWED POSTLET:ABORT THIS END POSTLET REPLY

it would seem like a jnlp permissions issue, but the fact that you were able to upload a submission once tells me that it is likely not.  Intermittent connectivity would seem to indicate Internet connectivity issues, but the above reply says you can access the server....

Have you tried the applet FAQ suggestion of downloading the app running it directly from command line java?:

C) If all else fails:

Download the jar file directly from command line (which is what .jnlp does from the browser...) and run java against the jar:

 

$ wget http://read.voxforge1.org/speech/speechrecorder_standalone.jar

 

$ java -jar speechrecorder_standalone.jar

--- (Edited on 6/19/2018 8:41 am [GMT-0400] by kmaclean) ---

Re: problem to upload using the jnlp file
User: juanmol
Date: 6/19/2018 7:53 am
Views: 1
Rating: 0

I had try with the jar file too, with the same results. I really think the problem can be simpliest, if i try with small fake speechs, click on record and stop fast, the file uploads and gives me an OK. But if i read the full sentences, obviously the compressed file is bigger and gives me the fail that we are talking about. Can be this the problem? Is it fixable?

 

--- (Edited on 6/19/2018 7:53 am [GMT-0500] by juanmol) ---

Re: problem to upload using the jnlp file
User: kmaclean
Date: 6/19/2018 8:29 am
Views: 1
Rating: 0

>. But if i read the full sentences, obviously the compressed file

>is bigger and gives me the fail that we are talking about

I checked the php.ini file on the server and it is set to accept 50 meg uploads so that should not be the problem (my test submission came in at 7meg).  I tried to replicate on a windows 10 desktop with Oracle Java from a windows terminal and can't seem to replicate the issue.

When you execute the jar file from the command line and get a failure, can you copy the entire output and paste it here so I can maybe figure out what is going on... (on Linux you can direct all output to a file with '>' redirect, not sure about Windows)

thanks.

--- (Edited on 6/19/2018 9:29 am [GMT-0400] by kmaclean) ---

Re: problem to upload using the jnlp file
User: juanmol
Date: 6/19/2018 9:48 am
Views: 8
Rating: 0

here is:

java -jar speechrecorder_standalone.jar

 

PromptList Character Encoding:UTF8

Submission WAV file for recording uploadWavFile0 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0041.wav

Submission WAV file for recording uploadWavFile1 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0042.wav

Submission WAV file for recording uploadWavFile2 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0000.wav

Submission WAV file for recording uploadWavFile3 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0001.wav

Submission WAV file for recording uploadWavFile4 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0002.wav

Submission WAV file for recording uploadWavFile5 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0003.wav

Submission WAV file for recording uploadWavFile6 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0004.wav

Submission WAV file for recording uploadWavFile7 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0005.wav

Submission WAV file for recording uploadWavFile8 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0006.wav

Submission WAV file for recording uploadWavFile9 is: C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0007.wav

language:es

=== Record 1 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0041.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:5.875

getAudioInputStream - totalBytesWritten:564000

Grabbed audio input stream from cache file

capture duration:6.0

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:564000

Grabbed audio input stream from cache file

=== Record 2 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0042.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:11.0

getAudioInputStream - totalBytesWritten:1056000

Grabbed audio input stream from cache file

capture duration:11.125

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:1056000

Grabbed audio input stream from cache file

=== Record 3 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0000.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:7.75

getAudioInputStream - totalBytesWritten:744000

Grabbed audio input stream from cache file

capture duration:7.875

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:744000

Grabbed audio input stream from cache file

=== Record 4 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0001.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:9.375

getAudioInputStream - totalBytesWritten:900000

Grabbed audio input stream from cache file

capture duration:9.5

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:900000

Grabbed audio input stream from cache file

=== Record 5 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0002.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:7.0

getAudioInputStream - totalBytesWritten:672000

Grabbed audio input stream from cache file

capture duration:7.125

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:672000

Grabbed audio input stream from cache file

=== Record 6 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0003.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:9.75

getAudioInputStream - totalBytesWritten:936000

Grabbed audio input stream from cache file

capture duration:9.875

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:936000

Grabbed audio input stream from cache file

=== Record 7 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0004.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:6.125

getAudioInputStream - totalBytesWritten:588000

Grabbed audio input stream from cache file

capture duration:6.25

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:588000

Grabbed audio input stream from cache file

=== Record 8 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0005.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:7.25

getAudioInputStream - totalBytesWritten:696000

Grabbed audio input stream from cache file

capture duration:7.375

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:696000

Grabbed audio input stream from cache file

=== Record 9 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0006.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:8.75

getAudioInputStream - totalBytesWritten:840000

Grabbed audio input stream from cache file

capture duration:8.875

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:840000

Grabbed audio input stream from cache file

=== Record 10 ===

Capture uploadWavFile is:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-0007.wav

AudioFormat: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

duration1:8.375

getAudioInputStream - totalBytesWritten:804000

Grabbed audio input stream from cache file

capture duration:8.5

numPeakValues: 0

proportionPeakValues: 0.0

getAudioInputStream - totalBytesWritten:804000

Grabbed audio input stream from cache file

username:juanmol

=== creating archive ===

Destination URL is http://read.voxforge1.org/speech/javaUploadServer.php

Adding es-0041.wav

Adding es-0042.wav

Adding es-0000.wav

Adding es-0001.wav

Adding es-0002.wav

Adding es-0003.wav

Adding es-0004.wav

Adding es-0005.wav

Adding es-0006.wav

Adding es-0007.wav

Adding prompts.txt

Adding readme.txt

Adding license.txt

Adding completed OK

Archive file location:C:\Users\JUANLL~1.MOL\AppData\Local\Temp\VF-dir5648137848233350603.tmp\es-juanmol-20180619-rxn.zip

SaveOrUpload totalBytes:5533380

=== Upload ===

Uploading to http://read.voxforge1.org/speech/javaUploadServer.php

*** IOException: UploadManager ***

Exception in thread "Thread-23" java.lang.NullPointerException

        at net.sf.postlet.UploadManager.run(UploadManager.java:72)

--- (Edited on 6/19/2018 9:48 am [GMT-0500] by juanmol) ---

PreviousNext