Closed PlumpMath closed 4 years ago
Hi there, it looks like Java is having trouble working with your OS to open the file.
/tmp/generated-sheet16968759586452060480.xlsx
manually?Are you able to use the JVM to open files on your version of Linux?
마지막 원하는 기능 언급한 포인트는... x의존은 이런것이다.
vcXsrv 를 실행해야만 jar모듈이 초기화 import 됩니다.
This issue can probably be mitigated by adding the following environment variable:
ENV JAVA_OPTS=-Djava.awt.headless=true
In Docker (with JDK8 and newer) it seems to be caused by the dependency to rhizome
- can you remove that dependency @matthewdowney ?
If you don't want to slim down your library @matthewdowney, I've made a fork here (because I have the same issue): https://github.com/luposlip/excel-clj
You're right, this dependency was not essential & was responsible for headaches. Latest release has it omitted.
P.S. sorry for the late response — pull requests always welcome!
hi thanks. I try first example. problem below~
(let [;; A workbook is any [key value] seq of [sheet-name, sheet-grid]. ;; Convert the table to a grid with the table function. workbook {"My Generated Sheet" (excel/table table-data)}] (excel/quick-open workbook)) Fontconfig error: Cannot load default config file
(process:28549): Gtk-WARNING : 08:45:29.014: Locale not supported by C library. Using the fallback 'C' locale. Execution error (IOException) at sun.awt.X11.XDesktopPeer/launch (XDesktopPeer.java:124). Failed to show URI:file:/tmp/generated-sheet16968759586452060480.xlsx**
Thanks! good day~*