Click here to register.

General Discussion

Flat
Re: problem to upload using the jnlp file
User: kmaclean
Date: 6/19/2018 12:48 pm
Views: 11
Rating: 0

I'm getting this error in php logs on server (which may or may not be related to your issue):

 PHP Notice:  Undefined index: userfile in /homepages/6/d726311921/htdocs/SubmitSpeech/speech/javaUploadServer.php on line 39

which corresponds to this line in the php app on the server:

39  $filenameArr = explode('.', $_FILES['userfile']['name']);
40  if (($allow_or_deny_method == "allow" && !in_array(strtolower(array_pop($filenameArr)), $file_extension_list))

which just makes sure that the name of the file has a '.zip' suffix.

so it may be that 'userfile' does not exist in some circumstances when you submit from your system...

I've added some debug code to the uploader to try to capture some of what is going on.  Unfortunately, the webhoster VoxForge uses does not give much access to Apache logs...

What is your version of Windows and Java?

What is your Internet upload/download speed?  The client might be timing out for larger submissions.  The java code says to retry if there is an I/O error, and because app is still waiting on first upload, the second request gets an i/o error, and so on..

thanks.

--- (Edited on 6/19/2018 1:48 pm [GMT-0400] by kmaclean) ---

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

java -showversion

java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode)

 

Internet speed it's fiber 50/50 

--- (Edited on 6/20/2018 1:52 am [GMT-0500] by juanmol) ---

Re: problem to upload using the jnlp file
User: kmaclean
Date: 6/20/2018 12:00 pm
Views: 16
Rating: 0

>java version "1.8.0_171"

I upgraded my Win 10 system from Java v1.8.0_141 to 1.8.0_171.  I cannot replicate the issue with a set of long (over 10secs) prompt recordings in Spanish.

I noticed some other issues with recordings, but nothing related to uploading.

>Internet speed it's fiber 50/50

connection speed is obviously not an issue

 

I'm stumped as to why the uploader has issues with longer submissions on your system, but not shorter submissions.

If I could replicate the problem, I could debug it.

Are you having same problem with anonymous English submissions, with nothing selected (all defaults)?

--- (Edited on 6/20/2018 1:00 pm [GMT-0400] by kmaclean) ---

Re: problem to upload using the jnlp file
User: juanmol
Date: 6/22/2018 2:05 am
Views: 102
Rating: 0

:( i'm trying with very short records in english ... not upload:

=== creating archive ===

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

Adding en-0954.wav

Adding en-0955.wav

Adding en-0956.wav

Adding en-0957.wav

Adding en-0958.wav

Adding en-0959.wav

Adding en-0960.wav

Adding en-0961.wav

Adding en-0962.wav

Adding en-0963.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-dir7315553961041929114.tmp\en-juanmol-20180622-eav.zip

SaveOrUpload totalBytes:1072433

=== Upload ===

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

Exception in thread "Thread-33" 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)

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

PreviousNext