Comments (9)
Hi Eugen,
thanks for reporting this. I have just removed the -f
switch from the script, but since I do not have access to an instance of OS X, I cannot test the new script. Could you check if it works?
In any case, to start the GUI you can just write
(use 'conexp.contrib.gui)
(gui)
in the repl, and this should start the GUI.
from conexp-clj.
First of all, thanks, your change helped a bit. Namely the error message is now only
usage: dirname path
Error: Could not find or load main class jline.ConsoleRunner
After some investigation I installed jline-1.0.jar
into /Library/Java/Extensions
but was greeted with another error:
usage: dirname path
Exception in thread "main" java.lang.ClassNotFoundException: clojure.main
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at jline.ConsoleRunner.main(ConsoleRunner.java:73)
I could not find a solution for this, so I tried running the gui from source. At first I thought everything was fine and the GUI Icon as well es the top menu was there. But the main window itself did not show up and the program froze so I had to kill it.
What a pity, but thanks anyway for your effort.
from conexp-clj.
Eugen, thanks for your investigations. It is kind of awkward that dirname
is not working the way it is supposed to be, but that may be only the result of another error. As I do not have access to any Apple, I cannot fix that now, but I will try to find someone who is willing to lend me his/her computer.
As for the freezing GUI, I would have some questions: what java implementation are you running on? Are there any errors showing up? What exactly appears and what not?
from conexp-clj.
I finally found the time to reply to your questions:
This is the output of java -version
:
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
For some reason I do not get the GUI I was remembering 20 days ago when entering your commands, so I can't really tell you more about the specific problems. Here is what I see:
from conexp-clj.
Hm, I thought that error would be gone, but as it seems, my knowledge about Java pipes and threads is not complete. For now, I just disabled the repl in the GUI, i.e., this IOException should not appear anymore. Can you try again and see if the GUI still freezes?
Thank you!
from conexp-clj.
Daniel, everything works fine know when I try to run the GUI from source ;), thanks!
There was only one tiny problem: The main window that pops out after having entered (gui)
is really tiny and in the upper left corner of the screen so at first I did not even find it. Apart resizing it, everything is fine, though.
from conexp-clj.
It seems that calling pack!
caused this problem. I removed that call and specified some (arbitrarily chosen) dimension values for the frame. At least on my system this has the desired effect that the window shows up larger.
from conexp-clj.
Yes, that fixed it!
from conexp-clj.
Great! Thanks for reporting and being so patient ;)
from conexp-clj.
Related Issues (20)
- Rest Api and maps/keywords HOT 1
- Update to Clojure 1.10
- Add general graph library
- Add contribution guide HOT 1
- Plan REST interface
- Plan Browser GUI interface
- Tikz export
- Context LaTeX Export
- Remove Ubergraph
- Rediscover Titanic in History HOT 3
- Broken Link to Pre-Compiled Binary
- Obsolete and Scattered Documentation HOT 3
- Disable Wiki HOT 1
- Function to compute the order dimension of a lattice (poset)
- concept-probability causes 'Divide by Zero' for empty attribute sets
- Many valued context :data-table input format
- Export tikz from the gui does not include valuations HOT 1
- `lein uberjar` is broken on current `dev` HOT 1
- Add functionality to compute proto concepts HOT 1
- json format drops empty attribute columns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conexp-clj.