latest git commit -- missing files and bad java version

7 views
Skip to first unread message

Ross Duncan

unread,
Sep 22, 2016, 7:12:49 PM9/22/16
to quant...@googlegroups.com
Hi guys,

Just tried to build the latest quanto, and the front end does not compile, looks like the jython jar is missing. See bottom of this message.

After putting jython 2.7.0 in some plausible place it compiles with several warnings, and promptly falls over on launch, bad java version. What JDK is required to run it? I have java version “1.7.0_45”.

[info] Running quanto.gui.QuantoDerive
[error] Exception in thread "main" java.lang.UnsupportedClassVersionError: akka/actor/ActorRef : Unsupported major.minor version 52.0
[error] at java.lang.ClassLoader.defineClass1(Native Method)

-r


[error] /Users/kwb13215/working-copies/quantomatic/scala/src/main/java/quanto/util/Scripting.scala:6: object python is not a member of package org
[error] import org.python.core.{PyList, PyArray}
[error] ^
[warn] Class java.time.Duration not found - continuing with a stub.
[warn] Class java.time.Duration not found - continuing with a stub.
[error] /Users/kwb13215/working-copies/quantomatic/scala/src/main/scala/quanto/gui/QuantoDerive.scala:4: object python is not a member of package org
[error] import org.python.util.PythonInterpreter
[error] ^
[error] /Users/kwb13215/working-copies/quantomatic/scala/src/main/java/quanto/util/Scripting.scala:103: not found: type PyList
[error] def normalise(rules: PyList) {
[error] ^
[error] /Users/kwb13215/working-copies/quantomatic/scala/src/main/scala/quanto/gui/PythonEditPanel.scala:3: object python is not a member of package org
[error] import org.python.util.PythonInterpreter
[error] ^
[error] /Users/kwb13215/working-copies/quantomatic/scala/src/main/scala/quanto/gui/PythonEditPanel.scala:94: not found: type PythonInterpreter
[error] val python = new PythonInterpreter
[error] ^
[warn] /Users/kwb13215/working-copies/quantomatic/scala/src/main/scala/quanto/gui/PythonEditPanel.scala:100: This catches all Throwables. If this is really intended, use `case e : Throwable` to clear this warning.
[warn] case e =>
[warn] ^
[error] /Users/kwb13215/working-copies/quantomatic/scala/src/main/scala/quanto/gui/QuantoDerive.scala:35: not found: type PythonInterpreter
[error] new Thread(new Runnable { def run() { new PythonInterpreter() }}).start()
[error] ^
[warn] /Users/kwb13215/working-copies/quantomatic/scala/src/main/scala/quanto/gui/ScalaEditPanel.scala:100: This catches all Throwables. If this is really intended, use `case e : Throwable` to clear this warning.
[warn] case e =>
[warn] ^
[warn] four warnings found
[error] 6 errors found
[error] (compile:compile) Compilation failed
[error] Total time: 62 s, completed 22-Sep-2016 23:49:38

Aleks Kissinger

unread,
Sep 23, 2016, 2:05:56 AM9/23/16
to quant...@googlegroups.com
52 means java 1.8. The latest version of akka, which quanto uses for its concurrency depends on it. I've also now added jython to the repo.


--
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+unsubscribe@googlegroups.com.
To post to this group, send email to quant...@googlegroups.com.
Visit this group at https://groups.google.com/group/quantomatic.
For more options, visit https://groups.google.com/d/optout.

Ross Duncan

unread,
Sep 23, 2016, 3:42:29 AM9/23/16
to quant...@googlegroups.com
Thanks Aleks — builds now.
-r
> 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 https://groups.google.com/group/quantomatic.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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.
Reply all
Reply to author
Forward
0 new messages