Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run in a pod #1

Open
nha opened this issue Dec 1, 2016 · 0 comments
Open

run in a pod #1

nha opened this issue Dec 1, 2016 · 0 comments

Comments

@nha
Copy link

nha commented Dec 1, 2016

I used ns-graph to draw a namespace of my program, quite happy with it.
However I then ran my boot prod task on the server and it fails with:

clojure.lang.ExceptionInfo:
                            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    data: {:file "core.clj", :line 626}
java.awt.HeadlessException:
                            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
sun.awt.HeadlessToolkit.getMenuShortcutKeyMask              HeadlessToolkit.java:  236
                                           ...
                          clojure.core/load/fn                          core.clj: 6008
                clojure.core/load/invokeStatic                          core.clj: 6007
                             clojure.core/load                          core.clj: 5991
                                           ...
            clojure.core/load-one/invokeStatic                          core.clj: 5812
                         clojure.core/load-one                          core.clj: 5807
                      clojure.core/load-lib/fn                          core.clj: 5852
            clojure.core/load-lib/invokeStatic                          core.clj: 5851
                         clojure.core/load-lib                          core.clj: 5832
                                           ...
               clojure.core/apply/invokeStatic                          core.clj:  659
           clojure.core/load-libs/invokeStatic                          core.clj: 5889
                        clojure.core/load-libs                          core.clj: 5873
                                           ...
               clojure.core/apply/invokeStatic                          core.clj:  659
             clojure.core/require/invokeStatic                          core.clj: 5911
                          clojure.core/require                          core.clj: 5911
                                           ...
       ns-graph.core/eval45127/loading--auto--                          core.clj:    1
          ns-graph.core/eval45127/invokeStatic                          core.clj:    1
                       ns-graph.core/eval45127                          core.clj:    1

I believe the solution to that issue would be to use boot pods to require the graphical code only when the task is called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant