Hi, me again. I added all the folder, including the files created during compulation inside the extensions folder of NetLogo, using the same name for folder and main jar. I opened a HubNet Activity and added the line "extensions [hub-net]", but when I tried to execute the client, I get a message that says "Socket not opened" and an error message in NetLogo that says:
NetLogo is unable to supply you with more details about this error. Please report the problem at https://github.com/NetLogo/NetLogo/issues, or to b...@ccl.northwestern.edu, and paste the contents of this window into your report. java.io.StreamCorruptedException: invalid stream header: 47455420 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278) at org.nlogo.hubnet.connection.VersionIDMismatchIgnoringObjectInputStream.<init>(Streamable.scala:37) at org.nlogo.hubnet.connection.Streamable$$anon$2.getInputStream(Streamable.scala:26) at org.nlogo.hubnet.connection.AbstractConnection.<init>(AbstractConnection.scala:20) at org.nlogo.hubnet.server.ServerSideConnection.<init>(ServerSideConnection.scala:29) at org.nlogo.hubnet.server.ConnectionManager.waitForConnection(ConnectionManager.scala:200) at org.nlogo.hubnet.server.ConnectionManager.run(ConnectionManager.scala:170) at java.lang.Thread.run(Thread.java:695) Curiously, is the same error that I get if don't add the HubNet extension. Thank you so much, On Sunday, October 12, 2014 6:37:15 PM UTC-6, Oscar Martinez wrote: > > Hi, > > I'm trying to compile the HubNet Web Extension, to use ti included web > client with HubNet/NetLogo. I'm on mac. I get this error: > > $ sudo make -f Makefile > ./bin/sbt update compile > make: ./bin/sbt: Permission denied > > This is the makefile: > > ifeq ($(origin NETLOGO), undefined) > NETLOGO=../NetLogo-5.1.0-Mac/NetLogo.jar > endif > > ifeq ($(origin SCALA_HOME), undefined) > SCALA_HOME=../scala-2.11.2/bin/ > endif > > SRCS=$(wildcard src/main/scala/*.scala) > > hubnet-web.jar: $(SRCS) manifests/web.txt Makefile > ./bin/sbt update compile > jar cmf manifests/web.txt hubnet-web.jar -C target/scala_2.9.1/classes/ . > cp lib_managed/scala_2.9.1/compile/*.jar . > > > I modified only the lines: > NETLOGO=../NetLogo-5.1.0-Mac/NetLogo.jar > SCALA_HOME=../scala-2.11.2/bin/ > > Thanks, > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.