Closed M4a1x closed 1 year ago
Hi and thanks for submitting your issue!
As it stands, I'm unable to reproduce it:
Online: By chance, just last week, I had pushed some commits to main where the corresponding pipeline passed. It runs inside the (latest
) docker image as well:
Offline: I launched VSCode, reopened this repo in the pre-configured dev container, accepted the suggestion of installing LaTeX Workshop, and ran its LaTeX Workshop: Build LaTeX Project command. It compiled fine, and the resulting PDF looks correct:
Both online and offline were compiled using alexpovel/latex:latest
with digest sha256:6e3479e058e683f5ec1c942f5d109d7b69874a3e43f84107d57b61a6cab30ab5
.
What's your local output of docker inspect --format '{{ .RepoDigests }}' alexpovel/latex:latest
? If that's different from the above hash, please try again after a docker pull alexpovel/latex
(omitting the tag implies latest
). The tip of this repo (main
) is set up to compile alongside the latest
image. That's what the pipeline ensures. If you cloned this repo a while ago, this contract might have been violated. In that case, you can try if earlier tags work for you, e.g. alexpovel/latex:2021
.
As you said you didn't modify anything, I assumed a clean clone of this repo. Otherwise, perhaps you hit on some glossaries-extra
features I never used, requiring Java libs I never noticed were missing.
If you just want to get your work done and texlive/texlive:latest
works for you, that might be an easy solution as well. This cookbook predates the existence of that image. Nowadays, I would've just used the official texlive
one as well (provided it ships with the needed tools like JRE, Perl, ...).
I was now able to reproduce the behaviour. However, a local git clean -xfd && docker run --volume ${PWD}:/tex --rm --entrypoint="" alexpovel/latex:latest latexmk
(this is what the LaTeX Workshop default recipe does) compiles fine, as expected from the latest CI run. I'm now suspecting VSCode's handling of the devcontainer. Looking into it...
Alright, should be fixed now. Tested with the latest image (that now has default-jre
, aka the full, non-headless version)-- docker pull alexpovel/latex
--and was no longer able to reproduce the issue.
Truly bizarre and the exact kind of issue Docker is designed to circumvent. Didn't feel like doing a deep dive though, so just bit the bullet and accepted the image being a couple hundred meg larger now ;)
Hi! Wow that was quick.
so I just tried again to be sure and I definitely hit this with a fresh clone. My exact steps:
> git clone https://github.com/alexpovel/latex-cookbook.git
Open Folder...
and select latex-cookbook
Open in remote
Latex Workshop: Build LaTeX project
Outputs in vscode:
```console
Rc files read:
.latexmkrc
Latexmk: This is Latexmk, John Collins, 17 Mar. 2022. Version 4.77, version: 4.77.
Latexmk: applying rule 'cusdep aux glstex cookbook'...
Rule 'cusdep aux glstex cookbook': The following rules & subrules became out-of-date:
cusdep aux glstex cookbook
------------
Run number 1 of rule 'cusdep aux glstex cookbook'
------------
bib2gls 3.0 (2022-10-14)
Reading cookbook.aux
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2633)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2651)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1399)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1397)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1396)
at java.desktop/java.awt.Toolkit.
```console
[11:23:36][Logger] New log placeholder %WS1% registered for /workspaces/latex-cookbook .
[11:23:36][Config] Configuration for workspace: file://%WS1% .
[11:23:36][Config] editor.acceptSuggestionOnEnter: "on" .
[11:23:36][Config] latex-workshop.bind.enter.key: true .
[11:23:36][Config] latex-workshop.docker.enabled: false .
[11:23:36][Config] latex-workshop.docker.image.latex: "" .
[11:23:36][Config] latex-workshop.hover.preview.mathjax.extensions: [] .
[11:23:36][Config] latex-workshop.intellisense.package.enabled: true .
[11:23:36][Config] latex-workshop.intellisense.update.aggressive.enabled: false .
[11:23:36][Config] latex-workshop.intellisense.update.delay: 1000 .
[11:23:36][Config] latex-workshop.latex.autoBuild.run: "never" .
[11:23:36][Config] latex-workshop.latex.build.forceRecipeUsage: true .
[11:23:36][Config] latex-workshop.latex.outDir: "%DIR%/out" .
[11:23:36][Config] latex-workshop.latex.recipes: [
{
"name": "latexmk",
"tools": [
"latexmk"
]
},
{
"name": "lualatex",
"tools": [
"lualatex"
]
}
] .
[11:23:36][Config] latex-workshop.latex.tools: [
{
"name": "lualatex",
"command": "lualatex",
"args": [
"--shell-escape",
"--synctex=1",
"--recorder",
"%DOC%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"%DOC%"
]
}
] .
[11:23:36][Config] latex-workshop.viewer.pdf.internal.keyboardEvent: "auto" .
[11:23:36][Manager] Set $LATEXWORKSHOP_DOCKER_LATEX: ""
[11:23:36][Server] Creating LaTeX Workshop http and websocket server.
[11:23:36][Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":45995} .
[11:23:36][Extension] Initializing LaTeX Workshop.
[11:23:36][Extension] Extension root: /home/tex/.vscode-server/extensions/james-yu.latex-workshop-9.7.0
[11:23:36][Extension] $PATH: /vscode/vscode-server/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[11:23:36][Extension] $SHELL: /bin/sh
[11:23:36][Extension] $LANG: undefined
[11:23:36][Extension] $LC_ALL: POSIX
[11:23:36][Extension] process.platform: linux
[11:23:36][Extension] process.arch: x64
[11:23:36][Extension] vscode.env.appName: Visual Studio Code
[11:23:36][Extension] vscode.env.remoteName: dev-container
[11:23:36][Extension] vscode.env.uiKind: 1
[11:23:36][Extension] LaTeX Workshop initialized.
[11:23:36][Format][Bib] Bibtex format config: {"tab":" ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[],"firstEntries":["string","xdata"]}
[11:23:36][Extension] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"]
[11:23:36][Manager] Current workspace folders: ["file://%WS1%"]
[11:23:36][Manager] Found root file from active editor: %WS1%/cookbook.tex
[11:23:36][Manager] Root file changed: from undefined to %WS1%/cookbook.tex
[11:23:36][Manager] Start to find all dependencies.
[11:23:36][Manager] Root file languageId: latex
[11:23:36][Cacher][Watcher] Reset.
[11:23:36][Cacher] Adding %WS1%/cookbook.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/cookbook.tex with a new watcher on %WS1% .
[11:23:36][Cacher] Caching %WS1%/cookbook.tex .
[11:23:36][Cacher] Input %WS1%/chapters/frontmatter.tex from %WS1%/cookbook.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/frontmatter.tex with a new watcher on %WS1%/chapters .
[11:23:36][Cacher] Caching %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Input %WS1%/chapters/frontmatter/colophon.tex from %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/frontmatter/colophon.tex with a new watcher on %WS1%/chapters/frontmatter .
[11:23:36][Cacher] Caching %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][Cacher] Input %WS1%/chapters/frontmatter/task.tex from %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher] Input %WS1%/chapters/frontmatter/authorship_declaration.tex from %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher] Input %WS1%/chapters/frontmatter/abstract.tex from %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher] Input %WS1%/chapters/frontmatter/preface.tex from %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Input %WS1%/chapters/mainmatter.tex from %WS1%/cookbook.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Input %WS1%/chapters/mainmatter/usage.tex from %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/mainmatter/usage.tex with a new watcher on %WS1%/chapters/mainmatter .
[11:23:36][Cacher] Caching %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher] Input %WS1%/chapters/mainmatter/base-features.tex from %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher] Input %WS1%/chapters/mainmatter/floats.tex from %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/mainmatter/floats.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/mainmatter/floats.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/mainmatter/floats.tex .
[11:23:36][Cacher] Input %WS1%/data/matlab2tikz_table_example.tex from %WS1%/chapters/mainmatter/floats.tex .
[11:23:36][Cacher] Adding %WS1%/data/matlab2tikz_table_example.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/data/matlab2tikz_table_example.tex with a new watcher on %WS1%/data .
[11:23:36][Cacher] Caching %WS1%/data/matlab2tikz_table_example.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/data/matlab2tikz_table_example.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/mainmatter/floats.tex .
[11:23:36][Cacher] Input %WS1%/chapters/mainmatter/code-listings.tex from %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/mainmatter.tex .
[11:23:36][Cacher] Input %WS1%/chapters/backmatter.tex from %WS1%/cookbook.tex .
[11:23:36][Cacher] Adding %WS1%/chapters/backmatter.tex .
[11:23:36][Cacher][Watcher] Watched %WS1%/chapters/backmatter.tex .
[11:23:36][Cacher] Caching %WS1%/chapters/backmatter.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/chapters/backmatter.tex .
[11:23:36][Cacher] Updated inputs of %WS1%/cookbook.tex .
[11:23:36][Linter] ChkTeX lints root %WS1%/cookbook.tex .
[11:23:36][Linter] Linter for root command The command is chktex:["-wall","-n22","-n30","-e16","-q","-f%f:%l:%c:%d:%k:%n:%m\n","%WS1%/cookbook.tex"].
[11:23:36][Server] valdOrigin is http://127.0.0.1:45995
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/frontmatter/colophon.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/frontmatter/task.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/frontmatter/task.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/frontmatter/authorship_declaration.tex .
[11:23:36][Linter] Linter for root successfully finished in 0s 99ms
[11:23:36][Linter][ChkTeX] No .chktexrc file is found to determine TabSize.
[11:23:36][Linter][ChkTeX] Logged 0 messages.
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/frontmatter/abstract.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/frontmatter/preface.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/frontmatter.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/frontmatter.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/mainmatter/usage.tex .
[11:23:36][Cacher] Use RegExp to update elements of %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher] Updated elements of %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][Cacher] Cached %WS1%/chapters/mainmatter/base-features.tex .
[11:23:36][DupLabel] Checking for duplicate labels: %WS1%/data/matlab2tikz_table_example.tex .
[11:23:36][Cacher] Updated elements of %WS1%/data/matlab2tikz_table_example.tex .
[11:23:36][Cacher] Updated bibs of %WS1%/data/matlab2tikz_table_example.tex .
[11:23:36][Cacher] Cached %WS1%/data/matlab2tikz_table_example.tex .
[11:23:37][DupLabel] Checking for duplicate labels: %WS1%/chapters/mainmatter/floats.tex .
[11:23:37][Cacher] Updated elements of %WS1%/chapters/mainmatter/floats.tex .
[11:23:37][Cacher] Updated bibs of %WS1%/chapters/mainmatter/floats.tex .
[11:23:37][Cacher] Cached %WS1%/chapters/mainmatter/floats.tex .
[11:23:37][DupLabel] Checking for duplicate labels: %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:37][Cacher] Updated elements of %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:37][Cacher] Updated bibs of %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:37][Cacher] Cached %WS1%/chapters/mainmatter/code-listings.tex .
[11:23:37][DupLabel] Checking for duplicate labels: %WS1%/chapters/mainmatter.tex .
[11:23:37][Cacher] Updated elements of %WS1%/chapters/mainmatter.tex .
[11:23:37][Cacher] Updated bibs of %WS1%/chapters/mainmatter.tex .
[11:23:37][Cacher] Cached %WS1%/chapters/mainmatter.tex .
[11:23:37][DupLabel] Checking for duplicate labels: %WS1%/chapters/backmatter.tex .
[11:23:37][Cacher] Updated elements of %WS1%/chapters/backmatter.tex .
[11:23:37][Cacher] Updated bibs of %WS1%/chapters/backmatter.tex .
[11:23:37][Cacher] Cached %WS1%/chapters/backmatter.tex .
[11:23:37][DupLabel] Checking for duplicate labels: %WS1%/cookbook.tex .
[11:23:37][Cacher] Updated elements of %WS1%/cookbook.tex .
[11:23:37][Cacher] Bib %WS1%/bib/bibliography.bib from %WS1%/cookbook.tex .
[11:23:37][Intelli][Citation] Parsing .bib entries from %WS1%/bib/bibliography.bib
[11:23:37][Cacher][Watcher] Watched %WS1%/bib/bibliography.bib with a new watcher on %WS1%/bib .
[11:23:37][Cacher] Updated bibs of %WS1%/cookbook.tex .
[11:23:37][Cacher] Cached %WS1%/cookbook.tex .
[11:23:37][Cacher][Path] Non-existent .fls for %WS1%/cookbook.tex .
[11:23:37][Structure] Error loading AST during structuring: %WS1%/chapters/mainmatter/base-features.tex .
[11:23:37][Structure] Structure force updated with 7 root sections for %WS1%/cookbook.tex .
[11:23:37][Intelli][Citation] Parsed 14 bib entries from %WS1%/bib/bibliography.bib .
[11:23:37][Structure] Error loading AST during structuring: %WS1%/chapters/mainmatter/base-features.tex .
[11:23:37][Structure] Structure force updated with 7 root sections for %WS1%/cookbook.tex .
[11:23:47][Commander] BUILD command invoked.
[11:23:47][Commander] The document of the active editor: file://%WS1%/cookbook.tex
[11:23:47][Commander] The languageId of the document: latex
[11:23:47][Manager] Current workspace folders: ["file://%WS1%"]
[11:23:47][Manager] Found root file from active editor: %WS1%/cookbook.tex
[11:23:47][Manager] Keep using the same root file: %WS1%/cookbook.tex
[11:23:47][Structure] Structure updated with 7 root sections for %WS1%/cookbook.tex .
[11:23:47][Commander] Building root file: %WS1%/cookbook.tex
[11:23:47][Builder] Build root file %WS1%/cookbook.tex
[11:23:47][Builder] outDir: %WS1%/out .
[11:23:47][Builder] Found TeX program by magic comment: lualatex.
[11:23:47][Builder] Preparing to run recipe: latexmk.
[11:23:47][Builder] Prepared 1 tools.
[11:23:47][Builder] Recipe step 1 The command is latexmk:["%WS1%/cookbook"].
[11:23:47][Builder] env: undefined
[11:23:47][Builder] root: %WS1%/cookbook.tex
[11:23:47][Builder] cwd: %WS1%
[11:23:47][Builder] LaTeX build process spawned with PID 667.
[11:24:37][Parser][TexLog] Logged 832 messages.
[11:24:37][Builder] Recipe returns with error code 12/null on PID 667.
[11:24:37][Builder] Does the executable exist? $PATH: /vscode/vscode-server/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, $Path: undefined, $SHELL: /bin/sh
[11:24:37][Builder] tput: No value for $TERM and no -T specified
Failed to get connection
** (org.inkscape.Inkscape:789): CRITICAL **: 11:23:57.840: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:789): CRITICAL **: 11:23:57.840: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:789): CRITICAL **: 11:23:57.840: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:803): CRITICAL **: 11:23:58.281: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:803): CRITICAL **: 11:23:58.281: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:803): CRITICAL **: 11:23:58.281: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:817): CRITICAL **: 11:23:58.436: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:817): CRITICAL **: 11:23:58.436: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:817): CRITICAL **: 11:23:58.436: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:832): CRITICAL **: 11:23:58.745: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:832): CRITICAL **: 11:23:58.745: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:832): CRITICAL **: 11:23:58.745: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:958): CRITICAL **: 11:24:20.470: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:958): CRITICAL **: 11:24:20.470: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:958): CRITICAL **: 11:24:20.470: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:972): CRITICAL **: 11:24:20.618: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:972): CRITICAL **: 11:24:20.618: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:972): CRITICAL **: 11:24:20.618: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:987): CRITICAL **: 11:24:20.764: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:987): CRITICAL **: 11:24:20.764: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:987): CRITICAL **: 11:24:20.764: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1001): CRITICAL **: 11:24:20.910: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1001): CRITICAL **: 11:24:20.910: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1001): CRITICAL **: 11:24:20.910: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1015): CRITICAL **: 11:24:21.073: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1015): CRITICAL **: 11:24:21.073: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1015): CRITICAL **: 11:24:21.073: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1029): CRITICAL **: 11:24:21.217: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1029): CRITICAL **: 11:24:21.217: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1029): CRITICAL **: 11:24:21.217: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1043): CRITICAL **: 11:24:21.366: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1043): CRITICAL **: 11:24:21.366: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1043): CRITICAL **: 11:24:21.366: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1057): CRITICAL **: 11:24:21.512: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1057): CRITICAL **: 11:24:21.512: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1057): CRITICAL **: 11:24:21.512: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1071): CRITICAL **: 11:24:21.660: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1071): CRITICAL **: 11:24:21.660: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1071): CRITICAL **: 11:24:21.660: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1086): CRITICAL **: 11:24:21.809: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1086): CRITICAL **: 11:24:21.809: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1086): CRITICAL **: 11:24:21.809: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1100): CRITICAL **: 11:24:21.960: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1100): CRITICAL **: 11:24:21.960: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1100): CRITICAL **: 11:24:21.960: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1117): CRITICAL **: 11:24:22.113: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1117): CRITICAL **: 11:24:22.114: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1117): CRITICAL **: 11:24:22.114: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1131): CRITICAL **: 11:24:22.261: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1131): CRITICAL **: 11:24:22.261: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1131): CRITICAL **: 11:24:22.261: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1145): CRITICAL **: 11:24:22.409: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1145): CRITICAL **: 11:24:22.409: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1145): CRITICAL **: 11:24:22.409: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Failed to get connection
** (org.inkscape.Inkscape:1159): CRITICAL **: 11:24:22.558: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
** (org.inkscape.Inkscape:1159): CRITICAL **: 11:24:22.558: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed
** (org.inkscape.Inkscape:1159): CRITICAL **: 11:24:22.558: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Latexmk: Missing input file 'cookbook.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook.glstex' on input line 2838.'
Latexmk: Missing input file 'cookbook-1.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-1.glstex' on input line 2846.'
Latexmk: Missing input file 'cookbook-2.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-2.glstex' on input line 2855.'
Latexmk: Missing input file 'cookbook-3.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-3.glstex' on input line 2870.'
Latexmk: Missing input file 'cookbook-4.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-4.glstex' on input line 2885.'
Latexmk: Missing input file 'cookbook-5.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-5.glstex' on input line 2900.'
Latexmk: Missing input file 'cookbook-6.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-6.glstex' on input line 2909.'
Latexmk: Missing input file 'cookbook-7.glstex' (or dependence on it) from following:
'Package glossaries-extra Warning: No file `cookbook-7.glstex' on input line 2915.'
Latexmk: Missing bbl file 'cookbook.bbl' in following:
No file cookbook.bbl.
Latexmk: Missing input file 'cookbook.toc' (or dependence on it) from following:
'No file cookbook.toc.'
Latexmk: Missing input file 'cookbook.lof' (or dependence on it) from following:
'No file cookbook.lof.'
Latexmk: Missing input file 'cookbook.lot' (or dependence on it) from following:
'No file cookbook.lot.'
Latexmk: Missing input file 'cookbook.loe' (or dependence on it) from following:
'No file cookbook.loe.'
Latexmk: Missing input file 'cookbook.lol' (or dependence on it) from following:
'No file cookbook.lol.'
Latexmk: Missing input file 'cookbook.lor' (or dependence on it) from following:
'No file cookbook.lor.'
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2633)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2651)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1399)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1397)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1396)
at java.desktop/java.awt.Toolkit.
```console 2023-03-18 11:22:23.929 [info] Extension host agent started. 2023-03-18 11:22:23.953 [debug] Removing uninstalled extensions: [] 2023-03-18 11:22:23.957 [info] Started initializing default profile extensions in extensions installation folder. file:///home/tex/.vscode-server/extensions 2023-03-18 11:22:23.963 [debug] ComputeTargetPlatform: linux-x64 2023-03-18 11:22:23.967 [info] Completed initializing default profile extensions in extensions installation folder. file:///home/tex/.vscode-server/extensions 2023-03-18 11:22:24.019 [info] [127.0.0.1][49f2071b][ManagementConnection] New connection established. 2023-03-18 11:22:24.251 [info] [127.0.0.1][83358c71][ExtensionHostConnection] New connection established. 2023-03-18 11:22:24.256 [info] [127.0.0.1][83358c71][ExtensionHostConnection] <270> Launched Extension Host Process. 2023-03-18 11:22:24.568 [info] Getting Manifest... streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:24.586 [info] Getting Manifest... streetsidesoftware.code-spell-checker 2023-03-18 11:22:24.590 [info] Getting Manifest... james-yu.latex-workshop 2023-03-18 11:22:24.614 [info] Installing extension: streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:24.650 [info] Installing extension: streetsidesoftware.code-spell-checker 2023-03-18 11:22:24.674 [info] Installing extension: james-yu.latex-workshop 2023-03-18 11:22:24.792 [info] Getting Manifest... streetsidesoftware.code-spell-checker 2023-03-18 11:22:24.866 [info] Waiting for already requested installing extension streetsidesoftware.code-spell-checker streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:25.687 [info] Extension signature verification: streetsidesoftware.code-spell-checker. Verification status: Verified. 2023-03-18 11:22:25.707 [info] Extension signature verification: streetsidesoftware.code-spell-checker-german. Verification status: Verified. 2023-03-18 11:22:25.751 [info] Extracted extension to /home/tex/.vscode-server/extensions/.07b981dc-0c22-4eba-8d72-4497ef24656c: streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:25.759 [info] Renamed to /home/tex/.vscode-server/extensions/streetsidesoftware.code-spell-checker-german-2.2.1 2023-03-18 11:22:25.761 [info] Extracting extension completed. streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:25.884 [info] Extracted extension to /home/tex/.vscode-server/extensions/.a278c730-80c3-43ee-ab8d-1373ec90cf36: streetsidesoftware.code-spell-checker 2023-03-18 11:22:25.894 [info] Renamed to /home/tex/.vscode-server/extensions/streetsidesoftware.code-spell-checker-2.20.2 2023-03-18 11:22:25.895 [info] Extracting extension completed. streetsidesoftware.code-spell-checker 2023-03-18 11:22:25.897 [info] Extension installed successfully: streetsidesoftware.code-spell-checker 2023-03-18 11:22:25.898 [info] Finished waiting for already requested installing extension streetsidesoftware.code-spell-checker streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:25.898 [info] Extension installed successfully: streetsidesoftware.code-spell-checker-german 2023-03-18 11:22:25.907 [info] Extension signature verification: james-yu.latex-workshop. Verification status: Verified. 2023-03-18 11:22:26.425 [info] Extracted extension to /home/tex/.vscode-server/extensions/.97578ec7-5e1e-4a8e-8a0a-c348e3ebd936: james-yu.latex-workshop 2023-03-18 11:22:26.433 [info] Renamed to /home/tex/.vscode-server/extensions/james-yu.latex-workshop-9.7.0 2023-03-18 11:22:26.435 [info] Extracting extension completed. james-yu.latex-workshop 2023-03-18 11:22:26.437 [info] Extension installed successfully: james-yu.latex-workshop ```
EDIT: While writing this you already closed the issue :sweat_smile:
You're right - with your above mentioned command line
git clean -xfd && docker run --volume ${PWD}:/tex --rm --entrypoint="" alexpovel/latex:latest latexmk
it compiled fine, but I just realized I already used the new image...
I'm leaving the output here, in case someone gets the urge to make the image smaller again :stuck_out_tongue: Thanks for looking into this!
Hi there, nice project. Finally, I found something using modern/recent packages!
I was trying to compile the
cookbook.tex
as is (no modifications) with the provided docker container in vscode and ran into the following error:It looks like this is caused by the headless installation as manually installing
default-jdk
instead ofdefault-jdk-headless
inside the container fixes the problem.I'm not too familiar with Docker, so I didn't get the Dockerfile to build on my machine, but I assume it should be a simple change of
line 171
in theDockerfile
.P.S.: It also compiles without issues (afaict) with the official
texlive/texlive:latest
image (changed in.devcontainer/devcontainer.json:21