Giter Site home page Giter Site logo

Comments (9)

exot avatar exot commented on May 27, 2024

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.

eugenkiss avatar eugenkiss commented on May 27, 2024

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.

exot avatar exot commented on May 27, 2024

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.

eugenkiss avatar eugenkiss commented on May 27, 2024

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:

screen shot 2013-07-08 at 4 19 32 pm

from conexp-clj.

exot avatar exot commented on May 27, 2024

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.

eugenkiss avatar eugenkiss commented on May 27, 2024

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.

exot avatar exot commented on May 27, 2024

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.

eugenkiss avatar eugenkiss commented on May 27, 2024

Yes, that fixed it!

from conexp-clj.

exot avatar exot commented on May 27, 2024

Great! Thanks for reporting and being so patient ;)

from conexp-clj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.