[Cs5500] Fwd: [Cs4800] Error

Ravishankar Rajagopal rajagopal.r at husky.neu.edu
Tue Nov 29 14:13:15 EST 2011


FYA

---------- Forwarded message ----------
From: Matthew Strax-Haber <straxhaber at gmail.com>
Date: Mon, Nov 28, 2011 at 11:11 PM
Subject: Fwd: [Cs4800] Error
To: karan bhat <bhat.r.karan at gmail.com>
Cc: Karl Lieberherr <lieber at ccs.neu.edu>, Ravishankar Rajagopal <
rajagopal.r at husky.neu.edu>, CS4800 Mailing List <cs4800 at lists.ccs.neu.edu>


I've done some digging through practice tournaments. To be a bit more
helpful than I have in the past, I figured I'd spend the time to run a
practice tournament and reproduce issues. I included complete logs with my
passwords removed to help you with fixing any potential issues before the
next tournament. I also carefully examined my code to check for issues on
my end.
*
*
*I've detailed 7 points. Do you know why any of these might be happening?*
*
*
*As I have created and run a comprehensive JUnit test suite that exercises
my helper methods and tests against EVERY possible valid input within the
problem domain, I doubt it is an algorithms issue.*


For this demonstration, I ran two versions of my avatar on two different
CCIS computers and the tournament on a third. Each system is running the
latest tournament code, and attached to an admin running on tank.ccs.neu.edu.
The 5th player is a friend of mine who offered to participate.

Included files (for tank tournament):
 - Avatar and admin logs
 - PDF of the tournament page
 - Game histories from each match

Players:
ccisJoin: me running on astroblaster.ccs.neu.edu, version 1
ccisMe: me running on bosconian.ccs.neu.edu, version 2
arsenalMe: me running on astroblaster.ccs.neu.edu, version 1
arsenalJoin: me running on bosconian.ccs.neu.edu, version 1
iGalaxy: friend

1. (see arsenalJoin.log) Exception thrown while parsing: csp.CSPConfig
cannot be cast to hsr.HSRConfig
2. (see arsenalMe.log) No response to valid requests
3. (see ccisJoin.log) Runs fine, and ties ccisMe to win the tournament. The
error in this log is a previously-known bug. Avatars get errors when they
try to reconnect.
4. (see ccisMe.log) Runs fine, and ties ccisJoin to win the tournament.
However, it then starts spitting out errors about MMG. It wasn't competing
in any MMG tournament.


When I ran in the official MMG and HSR tournaments, I used a different
port, and connected to tvtennis instead of tank. *Suspecting a port
conflict was the cause due to error 4, I checked and double-checked this.*
However, during the HSR and MMG tournaments I was unable to compete. I am
not sure, but I suspect that either:
 5. The admin doesn't work right if another avatar is running on the same
machine.
 6. The admin doesn't work properly if both the MMG and HSR playgrounds are
run without shutting down.
 7. The admin can't handle many users at the same time if any use the same
ports (even from different machines). This would be a serious issue, since
I can't control what other students are running. However, I doubt it is the
case or we would see more issues.
 8. The system has some other bug.

 9. I would still like to know why this path is being hardcoded.
10. I also ran into some other errors during a practice tournament earlier.
Unfortunately, I didn't save them but I will send them if I see them again.

Please let me know what you think of these issues, and how I might resolve
them so I can focus time on other work and learning algorithms.


Best regards,
-- 
~ Matthew Strax-Haber
Northeastern University

Begin forwarded message:

*From: *Matthew Strax-Haber <straxhaber at gmail.com>
*Subject: **Re: [Cs4800] Fwd: Error*
*Date: *November 28, 2011 8:52:52 PM EST
*To: *karan bhat <bhat.r.karan at gmail.com>
*Cc: *Karl Lieberherr <lieber at ccs.neu.edu>

I ran it with the 'path' specified before in a practice tournament and got
a different error (below). Why is the path being hardcoded into the system
like this?



[20:16:34] mattsh at Arsenal >
~/courses/AlgoAndData/Homework/6_HSR/join/GenericSCG/bin/
-> java -cp .:../demeterf.jar:../hamcrest-all-1.3.0RC2.jar
scg.net.avatar.PlayerMainHSR 38001 tank.ccs.neu.edu ThePinkElephant
gogorillago 16 ./Playgroundconfig/scgConfig_hsr.txt
./Playgroundconfig/hsrDomain.txt
      ******* Log At: 11/28/11 8:17:35 PM EST: *******
 !! IOException: ./Playgroundconfig/scgConfig_hsr.txt (No such file or
directory)
 -- Player Shutdown

[20:17:35] mattsh at Arsenal >
~/courses/AlgoAndData/Homework/6_HSR/join/GenericSCG/bin/


Best regards,
-- 
~ Matthew Strax-Haber
Northeastern University

On Nov 28, 2011, at 8:48 PM, karan bhat wrote:

Hey Matthew,

Like it was discussed last week, the Playermain does not accept relative
path. Please follow up on previous mails on this.
it shouls be exactly what was given.

thanks,
Karan Bhat

On Mon, Nov 28, 2011 at 8:39 PM, karan bhat <bhat.r.karan at gmail.com> wrote:

> hey matthew, i thing the game in on tvtennis and not on tank...let me know
> if i missed something..
>
> thanks,
> Karan
>
>
> On Mon, Nov 28, 2011 at 8:35 PM, Matthew Strax-Haber <straxhaber at gmail.com
> > wrote:
>
>> FYI, permissions are all correct I think.
>>
>> [20:35:06] mattsh at bosconian > ~/hsr/join/GenericSCG/
>> -> l
>> total 1944
>> drwxr-xr-x  9 mattsh majors    4096 2011-11-28 20:33 bin
>> -rw-r--r--  1 mattsh majors    2050 2011-11-28 20:00 build.xml
>> -rw-r--r--  1 mattsh majors     176 2011-11-28 20:00 compile.sh
>> -rw-r--r--  1 mattsh majors 1391277 2011-11-28 20:00 demeterf.jar
>> drwxr-xr-x  6 mattsh majors    4096 2011-11-28 20:00 doc
>> drwxr-xr-x  8 mattsh majors    4096 2011-11-28 20:00 gen
>> -rw-r--r--  1 mattsh majors    2100 2011-11-28 20:00 gen.sh
>> -rw-r--r--  1 mattsh majors  275196 2011-11-28 20:00
>> hamcrest-all-1.3.0RC2.jar
>> drwxr-xr-x  5 mattsh majors    4096 2011-11-28 20:00 history
>> -rw-r--r--  1 mattsh majors  237047 2011-11-28 20:00 junit-4.8.1.jar
>> -rw-r--r--  1 mattsh majors     617 2011-11-28 20:00
>> org.eclipse.jdt.core.prefs
>> drwxr-xr-x  3 mattsh majors    4096 2011-11-28 20:00 Playgroundconfig
>> drwxr-xr-x 10 mattsh majors    4096 2011-11-28 20:00 src
>> drwxr-xr-x  4 mattsh majors    4096 2011-11-28 20:00 test
>> -rw-r--r--  1 mattsh majors   14828 2011-11-28 20:00 TournamentStates.dat
>> -rw-r--r--  1 mattsh majors     260 2011-11-28 20:00 UserState.dat
>>
>> [20:35:06] mattsh at bosconian > ~/hsr/join/GenericSCG/
>> -> cd ^C
>>
>> [20:35:08] mattsh at bosconian > ~/hsr/join/GenericSCG/
>> -> la Playgroundconfig/
>> total 20
>> drwxr-xr-x  3 mattsh majors 4096 2011-11-28 20:00 .
>> drwxr-xr-x 11 mattsh majors 4096 2011-11-28 20:05 ..
>> -rw-r--r--  1 mattsh majors   23 2011-11-28 20:00 hsrDomain.txt
>> -rw-r--r--  1 mattsh majors   13 2011-11-28 20:00 mmgDomain.txt
>> -rw-r--r--  1 mattsh majors  408 2011-11-28 20:00 scgConfig_hsr.txt
>> -rw-r--r--  1 mattsh majors  397 2011-11-28 20:00 scgConfig_mmg.txt
>> drwxr-xr-x  6 mattsh majors 4096 2011-11-28 20:00 .svn
>>
>> [20:35:10] mattsh at bosconian > ~/hsr/join/GenericSCG/
>>
>>
>> Best regards,
>> --
>> ~ Matthew Strax-Haber
>> Northeastern University
>>
>> Begin forwarded message:
>>
>> > From: Matthew Strax-Haber <straxhaber at gmail.com>
>> > Subject: Error
>> > Date: November 28, 2011 8:33:18 PM EST
>> > To: CS4800 Mailing List <cs4800 at lists.ccs.neu.edu>
>> >
>> > Does anyone know why I'd get this error? The file exists...
>> >
>> >
>> > [20:28:55] mattsh at bosconian > ~/hsr/join/GenericSCG/bin/
>> > -> java -cp .:../demeterf.jar:../hamcrest-all-1.3.0RC2.jar
>> scg.net.avatar.PlayerMainHSR 38002 tank.ccs.neu.edu TheSandMan
>> [PASSWORD] 24 ../Playgroundconfig/scgConfig_hsr.txt
>> ../Playgroundconfig/hsrDomain.txt
>> >      ******* Log At: 11/28/11 8:28:57 PM EST: *******
>> > !! IOException: ../Playgroundconfig/scgConfig_hsr.txt (No such file or
>> directory)
>> > -- Player Shutdown
>> >
>> > [20:28:57] mattsh at bosconian > ~/hsr/join/GenericSCG/bin/
>> >
>> >
>> > Best regards,
>> > --
>> > ~ Matthew Strax-Haber
>> > Northeastern University
>> >
>>
>>
>> _______________________________________________
>> Cs4800 mailing list
>> Cs4800 at lists.ccs.neu.edu
>> https://lists.ccs.neu.edu/bin/listinfo/cs4800
>>
>
-------------- next part --------------
HTML attachment scrubbed and removed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AlgoTournamentLogs.tgz
Type: application/octet-stream
Size: 108306 bytes
Desc: not available
Url : http://lists.ccs.neu.edu/pipermail/cs5500/attachments/20111129/b3e21ae4/attachment-0001.obj 


More information about the Cs5500 mailing list