twosigma / beakerx

Beaker Extensions for Jupyter Notebook
http://BeakerX.com
Apache License 2.0
2.8k stars 382 forks source link

KDB 64-bit version is not detected on Windows #4518

Closed andylynch closed 8 years ago

andylynch commented 8 years ago

(related to #3371 ) - attempting to use the 64-bit version of KDB on Windows results in a NullPointerException.

Kdb-stderr>[qtp1259769769-20] WARN org.eclipse.jetty.servlet.ServletHandler - /rest/kdb/evaluate
Kdb-stderr>java.lang.NullPointerException
Kdb-stderr>     at com.twosigma.beaker.kdb.KdbShell.evaluate(KdbShell.java:82)
Kdb-stderr>     at com.twosigma.beaker.kdb.rest.KdbRest.evaluate(KdbRest.java:100)

Similarly to MacOS, w64/q.exe should be added to the list of binaries to search for in KdbProcess.java

scottdraves commented 8 years ago

thx for the report, will check that out.

scottdraves commented 8 years ago

Hi Andy it looks like this was added in January: https://github.com/twosigma/beaker-notebook/commit/ab9418d24636bf1ab7ce65bc20317b7728920a02

What version of Beaker are you running?