Hi All,

I have been going through the set-up  instructions for various
environments as described on https://github.com/relevance/labrepl.

All have misbehaved (for me) so-far. Delighted to find the IntelliJ
environment seemed to run as required.

I am up to the exercise: Its All Data/A Little Real Data/Step 8

and got the following error (have included the steps to produce the
error):

user=> (def words (read-lines "data/words"))
#'user/words
user=> (count words)
234936
user=> (use '[incanter core charts])
nil
user=> (let
 [f (frequencies (map first words))]
 (view (bar-chart (keys f) (vals f))))
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an
operation which requires it. (NO_SOURCE_FILE:0)

I am on Ubuntu 10.10 Desktop

Used this script to install pre-reqs before IntelliJ:

        cd
        sudo apt-get install python-software-properties
        sudo apt-get update
        sudo apt-get install sun-java6-jdk ant git tree maven2
        sudo update-alternatives --config java

Installed IntelliJ like this:

        As described at https://github.com/relevance/labrepl
        Used IntelliJ Community Edition
        ideaIC-10.0.2.tar.gz
        Except that as IntelliJ was first started, an update of IntelliJ was
allowed.
        maven updates/build allowed to happen.

I have searched extensively for, but not found any solution. One
suggestion that rang truer than others, was that it was something to
do with the 'Processing' environment. That guy was running the system
on a truly headless Ubuntu server.

Anyway, the method the environment uses for displaying an inncanter
graph seems quite suspect.

Also seems impossible to raise an issue on GitHub for labrepl without
signing up.

Any Ideas/Solutions?

Cheers,
--Peter G




-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to