maintainer-feedback requested: [Bug 296841] graphics/gimp3-app: lua errors when running in scripts without GUI
[email protected] Thu, 16 Jul 2026 14:35:01 +0000
| Newsgroups | gmane.os.freebsd.devel.gnome |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
Bugzilla Automation <[email protected]> has asked freebsd-gnome (Nobody) <[email protected]> for maintainer-feedback: Bug 296841: graphics/gimp3-app: lua errors when running in scripts without = GUI https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296841 --- Description --- When running GIMP in scripts without GUI, it prints a LUA error on startup: /usr/local/bin/lua51: /usr/local/share/lua/5.1/lgi/namespace.lua:189: gtk_init_check() failed stack traceback: [C]: in function 'error' /usr/local/share/lua/5.1/lgi/namespace.lua:189: in function 'require' /usr/local/share/lua/5.1/lgi/namespace.lua:170: in function </usr/local/share/lua/5.1/lgi/namespace.lua:155> (tail call): ? ....gimp.extension.goat-exercises/goat-exercise-lua.lua:29: in main chunk [C]: ? The error is FreeBSD-specific, i.e. with the same test script, it runs with= out this error on different Linux distributions, NetBSD, OpenBSD, Solaris (OpenIndiana), and MacOS. The error can be ignored (the output is generated regardless of the error message), but it may be useful to take a look into = the root cause. May be GIMP tries to load broken LUA scripts. nornetpp@lillevann:~/src/system-tools/src/GIMP-Scripts$ uname -a FreeBSD lillevann.proxmox.crnalab.net 15.1-RELEASE FreeBSD 15.1-RELEASE releng/15.1-n283562-96841ea08dcf GENERIC amd64 nornetpp@lillevann:~/src/system-tools/src/GIMP-Scripts$ pkg info | grep gimp gimp3-app-3.2.0_2 GNU Image Manipulation Program Attached is a simple script to trigger the error. It downloads GIMP-Scripts (https://www.nntb.no/~dreibh/system-tools/#gimp-scripts) from the System-To= ols collection (https://www.nntb.no/~dreibh/system-tools), as well as a test im= age, and then runs the mosaic effect script (source: https://github.com/dreibh/system-tools/blob/master/src/GIMP-Scripts/gs-mosa= ic).