Closed LexCog closed 9 years ago
Hi there. Thanks for your interest in the project! Unfortunately I've never tested the GUI on a Mac... My fiancee has one, so I'll try to figure out what's going on this weekend! The GUI is rather buggy as it is, unfortunately. It's an adaptation of the SNePS 3 GUI to CSNePS, but I don't think all the features are 100% working. If it's something you're interested in using I can spend some more time getting it working right!
Hello,
Thanks for your response.
I’m quite interested in CSNePS. I’ve been working on a proof-of-concept for a legal application, and thought of using it for that. To date my inference engine has been a very souped-up version of Prolog. But I’m intrigued by several features of CSNePS: (1) arbitrary and indefinite objects, especially as the former might simplify translation of natural language into some form of first-order logic; (2) terms as propositional functions that can be first-class inputs to other functions; and (3) forward and focussed inference. Plus, the whole idea of inference propagating through a network is really cool.
At any rate, if you have any interest I can introduce myself (maybe I should have done that first!?) and describe the project in more detail.
Kind regards,
Steve
On Apr 10, 2015, at 1:13 PM, Daniel R. Schlegel notifications@github.com wrote:
Hi there. Thanks for your interest in the project! Unfortunately I've never tested the GUI on a Mac... My fiancee has one, so I'll try to figure out what's going on this weekend! The GUI is rather buggy as it is, unfortunately. It's an adaptation of the SNePS 3 GUI to CSNePS, but I don't think all the features are 100% working. If it's something you're interested in using I can spend some more time getting it working right!
— Reply to this email directly or view it on GitHub https://github.com/SNePS/CSNePS/issues/1#issuecomment-91624900.
Any luck getting the GUI to work on Mac Yosemite?
I've just now figured it out actually.
The issue comes down to the library I'm using for exporting images of the graph. For now, one work around is to comment out line 113 (export = new ExportDialog();) of the file src/jvm/edu/buffalo/cse/sneps3/gui/GUI2.java ... After doing this, the GUI loaded fine for me.
Be sure to run lein clean, then lien javac before trying to run it again.
Of course, this means if you choose File -> Export it's going to do bad things. The library I'm using has caused many nightmares (if you ever get a ConcurrentModificationException on startup, that's this library's fault too).
I'll look into a more permanent solution, but hopefully this will get you going :).
-Dan
That did it! Super. Thanks.
(Although in the version I have, the line number is 102, and I also had to comment out lines 152 and 1276.)
Great! I have made some bug fixes in the last few days, just so you know, in case you'd like to update.
On Tue, Apr 14, 2015 at 1:27 PM, LexCog notifications@github.com wrote:
That did it! Super. Thanks.
(Although in the version I have, the line number is 102, and I also had to comment out lines 152 and 1276.)
— Reply to this email directly or view it on GitHub https://github.com/SNePS/CSNePS/issues/1#issuecomment-92989156.
Daniel R. Schlegel, Ph.D. Postdoctoral Associate Department of Biomedical Informatics University at Buffalo, The State University of New York
Thanks. I'll update to the latest version.
Thanks again for looking into it.
This seems like a really interesting piece of software.
I'm getting an UnsatisfiedLinkError on my Macbook Pro (Yosemite) when I try to load the GUI. The command-line version loads fine, but loading the GUI (with or without preloading csneps) results in the following link error: sun.awt.X11GraphicsEnvironment.initDisplay(Z)V. I've installed the latest version of XQuartz, and put its location and the location of the lib files on my CLASSPATH, without avail.
Any thoughts? Thanks so much.