Peering back into Give

  5 posts   Feedicon  
Replies: 4 - Last Post: July 19, 2010 12:18
by: adenis
showing 1 - 5 of 5
 
Posted: July 17, 2010 17:36 by itallow
Heya,

Aberdeen Uni wants to try to submit a Give system to the next challenge, so I'm showing them the system I made.
It's been awhile since I've looked at the code, so I went through, tweaked a few things, and tried to rebuild.
I'm getting this error:

bash-4.0$ mvn install assembly:assembly
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building give2-example-nlgserver
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/staff/mitchema/Desktop/Give/give2-demo-nlgservers-1.0.3/give2-example-nlgserver/src/main/resources
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Unable to get dependency information: Unable to read local copy of metadata: Cannot read metadata from '/home/staff/mitchema/.m2/repository/de/saar/penguin/give2-nlgserver/maven-metadata-ecl-releases.xml': input contained no data
de.saar.penguin:give2-nlgserver:jar:null

from the specified remote repositories:
ecl-releases (http://www.coli.uni-saarland.de/projects/ecl/maven2/releases),
central (http://repo1.maven.org/maven2)

Path to dependency:
1) edu.union:give2-example-nlgserver:jar:1.0.3



Any idea what's going on?

Thanks,
M
 
Posted: July 19, 2010 09:15 by adenis
Hi,
I've tried and it compiles fine at me. I'm not a maven expert but it seems to be unable to retrieve the give2-nlgserver. Right before your error I have : "[INFO] artifact de.saar.penguin:give2-nlgserver: checking for updates from ecl-releases" which does not raise an error at me. I've also tried to remove the give2-nlgserver from my local repository and it downloads it correctly. It's extremely likely that your error comes from a network error, check this first Smile - try also to remove the local copy of give2-nlgserver and do "mvn install assembly:assembly -U"
best,
Alex
 
Posted: July 19, 2010 10:13 by itallow
I tried again, and it appears to be working fine!
The network must have been down over the weekend, okay, thanks!
 
Posted: July 19, 2010 11:23 by itallow
Alrighty, now when I start the client, it hangs on Receiving World, with this error:

[Matchmaker 12:20:20.831] An I/O exception occurred while establishing game 1: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1855)
at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1764)
at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1266)
at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1220)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1404)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1555)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at give.matchmaker.Main.initializeServer(Main.java:348)
at give.matchmaker.Main.run(Main.java:252)
at give.matchmaker.Main.main(Main.java:153)

[NullDB] Mark as finished: 1 as exception
[NullDB] Log: [java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1855)
at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1764)
at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1266)
at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1220)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1404)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1555)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at give.matchmaker.Main.initializeServer(Main.java:348)
at give.matchmaker.Main.run(Main.java:252)
at give.matchmaker.Main.main(Main.java:153)
at Mon Jul 19 12:20:20 BST 2010]



But an older version that I compiled works fine, so I'm guessing it has something to do with compiling with maven...
Okay, back to messing with it.
 
Posted: July 19, 2010 12:18 by adenis
I already had this several times, and as I remember, it is related with the discrepancy between the client and the server version (maybe also the matchmaker). Try to get the latest version of the give2-tools from the kenai project, good luck!
Replies: 4 - Last Post: July 19, 2010 12:18
by: adenis
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close