darktable-org / darktable-org/darktable

lualib, couldn't find a container

Open
#21,937 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lua
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

Firstly: I have seen #20371 but nut sure is the same reason or backgrounds....

Mostly when exporting pictures and dt started from console, I see this message:

ERROR in lualib, couldn't find a container for `scripts', this should never happen
ERROR in lualib, couldn't find a container for `face recognition', this should never happen
ERROR in lualib, couldn't find a container for `scripts', this should never happen
ERROR in lualib, couldn't find a container for `face recognition', this should never happen
ERROR in lualib, couldn't find a container for `scripts', this should never happen
ERROR in lualib, couldn't find a container for `face recognition', this should never happen
ERROR in lualib, couldn't find a container for `scripts', this should never happen
ERROR in lualib, couldn't find a container for `face recognition', this should never happen

I do not encounter problems so this is a minor issue IMHO

@wpferguson: per your request on IRC, here is the issue ;-)

Steps to reproduce
  1. Having lua active and in my case face recognition module and others, face recognition has been used...
  2. Go to lighttable
  3. export one or several images
  4. see the message
Expected behavior

No response

Logfile | Screenshot | Screencast

Just for info, I also have photils auto-tagger active and is shown above snapshots in darkroom

20260820_dt-lua-messages.txt

Commit

No response

Where did you obtain darktable from?

self compiled

darktable version

5.7.0+571~g312a8ccb4e

What OS are you using?

Linux

What is the version of your OS?

Gentoo, further, see below

Describe your system
  • darktable version : 5.7.0-571-g312a8ccb4e
  • OS : Linux - kernel 6.18.41-gentoo
  • Distro : Gentoo Base System release 2.18
  • Processor : Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
  • Memory : 32 GB (4 x 8 GB) + 5GB Swap
  • Graphics card0 : NVIDIA GeForce GTX 1060 6GB
  • Graphics card1 : NVIDIA GeForce RTX 2070 SUPER
  • Graphics driver : nvidia-drivers-535.309.01
  • OpenCL installed : Yes (opencl-headers-2024.10.24)
  • OpenCL activated : Yes
  • Xorg : xorg-server-21.1.24
  • Desktop : KDE 6
  • GTK+ : gtk+-3.24.52
  • gcc : 14.3.1_p20260604
  • cflags : CMAKE_FLAGS="-march=native-O2-mtune=native-pipe"
  • CMAKE_BUILD_TYPE : "Release"
Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

please see above

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the lualib error path that reports missing containers, then reproduce the problem by launching darktable from the console and exporting images with Lua modules such as face recognition active. Use the attached logfile to compare the repeated messages with the export sequence; done means the underlying condition is fixed and the erroneous container warnings no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.