Start up problem

3 views
Skip to first unread message

Ross Duncan

unread,
Jun 17, 2015, 5:13:41 AM6/17/15
to quant...@googlegroups.com
Hi guys,

I am attempting to build the latest integration. Starting from a blank slate I follow the instructions at https://quantomatic.github.io

The build itself goes fine. The GUI starts and the message “Core Status: Waiting for connection" never goes away.

The output in the terminal is :

[info] Running quanto.gui.QuantoDerive
[info] /Users/kwb13215/working-copies/quantomatic/scala/.
[info] [INFO] [06/17/2015 10:00:29.509] [QuantoDerive-akka.actor.default-dispatcher-3] [akka://QuantoDerive/user/core] running core process
[info] use poly: /Users/kwb13215/working-copies/quantomatic/scala/poly
[info] core started
[info] 0.0project path: /Users/kwb13215/Code/QuantoProjects/zx-project-master-rd
[info] al it = (): unit
[info] val it = (): unit
[info] val run_protocol = fn: int -> unit -> unit
[info] val poll_future = fn: 'a future -> unit

A quick look at ps shows that the following are running:

8470 ttys000 0:00.06 -bash
9175 ttys000 2:56.87 /usr/bin/java -XX:+CMSClassUnloadingEnabled -Xms1536m
9222 ttys000 0:05.69 /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Cont
9223 ttys000 0:00.32 poly —ideprotocol

Any idea what’s going wrong?

I’m on Mac OS X 10.9.5; my polyML is 5.5.1 release; my java is :
$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

I also have a the Mac OS X bundle from the webpage which runs fine, but I have encountered a couple of bugs that I was hoping were fixed in the latest.

-r

p.s. what is the required invocation to build the mac app version anyway?

Aleks Kissinger

unread,
Jun 17, 2015, 5:52:01 AM6/17/15
to quant...@googlegroups.com
Instructions for building mac app are in README.release

It looks like its not getting the signal that the heap is done loading. I've added a bit more output, so pull, try again, and send me your output.


--
You received this message because you are subscribed to the Google Groups "Quantomatic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quantomatic...@googlegroups.com.
To post to this group, send email to quant...@googlegroups.com.
Visit this group at http://groups.google.com/group/quantomatic.
For more options, visit https://groups.google.com/d/optout.

Ross Duncan

unread,
Jun 17, 2015, 5:56:03 AM6/17/15
to quant...@googlegroups.com
Thanks Aleks — but still no dice:

Multiple main classes detected, select one to run:

[1] org.lindenb.svg.path.SVGPathParser
[2] quanto.gui.LayoutTest
[3] quanto.gui.QuantoDerive
[4] quanto.gui.JsonConsole
[5] Test
[6] quanto.gui.RuleEditor
[7] quanto.gui.LayoutTestGUI1
[8] quanto.gui.MLEditor
[9] quanto.gui.GraphEditor

Enter number: 3

[info] Running quanto.gui.QuantoDerive
[info] /Users/kwb13215/working-copies/quantomatic/scala/.
[info] [INFO] [06/17/2015 10:54:24.894] [QuantoDerive-akka.actor.default-dispatcher-2] [akka://QuantoDerive/user/core] running core process
[info] use poly: /Users/kwb13215/working-copies/quantomatic/scala/poly
[info] core started
[info] loading heap and protocol...
[info] 0.0project path: /Users/kwb13215/Code/QuantoProjects/zx-project-master-rd
[info] al it = (): unit
[info] val it = (): unit
[info] val run_protocol = fn: int -> unit -> unit
[info] val poll_future = fn: 'a future -> unit
[info] loading heap and protocol...done
^Z
[1]+ Stopped sbt run
lap-mac-ross2:scala kwb13215$ ps
PID TTY TIME CMD
8470 ttys000 0:00.08 -bash
9639 ttys000 0:12.28 /usr/bin/java -XX:+CMSClassUnloadingEnabled -Xms1536m
9670 ttys000 0:03.08 /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Cont
9671 ttys000 0:00.24 poly --ideprotocol
lap-mac-ross2:scala kwb13215$ fg
sbt run

-r

Aleks Kissinger

unread,
Jun 17, 2015, 8:43:22 AM6/17/15
to quant...@googlegroups.com
Hop into the core/ directory, run "poly --use run_protocol.ML", then try to run:

> poll_future (Future.fork (run_protocol 4321));

If poly is allowed to open the port, your output should look like this:

waiting for connection...val it = (): unit



Reply all
Reply to author
Forward
0 new messages