Discussion:
Roborumble client cannot download robot (Downloaded file is wrong or corrupted)
manos gerakianakis
2016-01-04 17:35:00 UTC
Permalink
Hello, two weeks ago i updated my robot from 1.4 to 1.5 edition. My robot
is "morfeas" (gre.svman4.morfeas). Now i am trying to upload it at
RoboRumble for the 1vs1 competition. It seems that the upload at the
"participants" page (http://robowiki.net/wiki/RoboRumble/Participants) is
completed without any problem.
But when i try to run it on my computer in order to update the current
rankings, the file cannot be downloaded and an error is occured
("Downloaded file is wrong or corrupted: gre.svman4.morfeas_1.5.jar").

On the contrary when i download the file of my robot manually from the url (
http://svman4.weebly.com/uploads/1/4/2/2/14229823/gre.svman4.morfeas_1.5.jar)
I am able to insert it to Robocode and play without any problem. I had no
problem with that in 1.4 version or previous versions.

Could you please help to solve it?
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
fnl
2016-01-04 22:08:58 UTC
Permalink
Hi Manos,

This could be due to the web-server, which does not recognize the .jar file
format (ASCII or BINARY).
I have seen problems similar to your problem before (corrupt jar file),
where the problems were solved by adding this line in a .htaccess file
inside the directory on the server path containing the .jar file:

AddType application/java-archive .jar

This means that you should make sure that a .htaccess file exists under:

http://svman4.weebly.com/uploads/1/4/2/2/14229823/
<http://www.google.com/url?q=http%3A%2F%2Fsvman4.weebly.com%2Fuploads%2F1%2F4%2F2%2F2%2F14229823%2Fgre.svman4.morfeas_1.5.jar&sa=D&sntz=1&usg=AFQjCNE3lvMOxmb2MWacn9ON8d1t-1-XBQ>

If the .htacess does not exist on the path, you must create it an contaning
only the AddType line above.

I hope this helps?

Cheers,
- Flemming
Post by manos gerakianakis
Hello, two weeks ago i updated my robot from 1.4 to 1.5 edition. My robot
is "morfeas" (gre.svman4.morfeas). Now i am trying to upload it at
RoboRumble for the 1vs1 competition. It seems that the upload at the
"participants" page (http://robowiki.net/wiki/RoboRumble/Participants) is
completed without any problem.
But when i try to run it on my computer in order to update the current
rankings, the file cannot be downloaded and an error is occured
("Downloaded file is wrong or corrupted: gre.svman4.morfeas_1.5.jar").
On the contrary when i download the file of my robot manually from the url (
http://svman4.weebly.com/uploads/1/4/2/2/14229823/gre.svman4.morfeas_1.5.jar
<http://www.google.com/url?q=http%3A%2F%2Fsvman4.weebly.com%2Fuploads%2F1%2F4%2F2%2F2%2F14229823%2Fgre.svman4.morfeas_1.5.jar&sa=D&sntz=1&usg=AFQjCNE3lvMOxmb2MWacn9ON8d1t-1-XBQ>)
I am able to insert it to Robocode and play without any problem. I had no
problem with that in 1.4 version or previous versions.
Could you please help to solve it?
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
manos gerakianakis
2016-01-09 16:42:19 UTC
Permalink
Thanks you Flemming for your answer. I understand the problem and find the
solution. Thanks for all again.
Post by fnl
Hi Manos,
This could be due to the web-server, which does not recognize the .jar
file format (ASCII or BINARY).
I have seen problems similar to your problem before (corrupt jar file),
where the problems were solved by adding this line in a .htaccess file
AddType application/java-archive .jar
http://svman4.weebly.com/uploads/1/4/2/2/14229823/
<http://www.google.com/url?q=http%3A%2F%2Fsvman4.weebly.com%2Fuploads%2F1%2F4%2F2%2F2%2F14229823%2Fgre.svman4.morfeas_1.5.jar&sa=D&sntz=1&usg=AFQjCNE3lvMOxmb2MWacn9ON8d1t-1-XBQ>
If the .htacess does not exist on the path, you must create it an
contaning only the AddType line above.
I hope this helps?
Cheers,
- Flemming
Post by manos gerakianakis
Hello, two weeks ago i updated my robot from 1.4 to 1.5 edition. My robot
is "morfeas" (gre.svman4.morfeas). Now i am trying to upload it at
RoboRumble for the 1vs1 competition. It seems that the upload at the
"participants" page (http://robowiki.net/wiki/RoboRumble/Participants)
is completed without any problem.
But when i try to run it on my computer in order to update the current
rankings, the file cannot be downloaded and an error is occured
("Downloaded file is wrong or corrupted: gre.svman4.morfeas_1.5.jar").
On the contrary when i download the file of my robot manually from the url (
http://svman4.weebly.com/uploads/1/4/2/2/14229823/gre.svman4.morfeas_1.5.jar
<http://www.google.com/url?q=http%3A%2F%2Fsvman4.weebly.com%2Fuploads%2F1%2F4%2F2%2F2%2F14229823%2Fgre.svman4.morfeas_1.5.jar&sa=D&sntz=1&usg=AFQjCNE3lvMOxmb2MWacn9ON8d1t-1-XBQ>)
I am able to insert it to Robocode and play without any problem. I had no
problem with that in 1.4 version or previous versions.
Could you please help to solve it?
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...