`Flickr script` causes Darkable to crash

Hi. I installed the Flickr exporter Lua script from GitHub - arru/darktable-scripts: Scripts for open source image processing app Darktable. The installation went fine, but when running it causes Darktable to crash. I guess the Lua script might be outdated, in this case is there anything up to date I can use?

Steps to reproduce

  1. Open Darktable in normal or debug mode (i.e. “C:\Program Files\darktable\bin\darktable.exe” -d all)
  2. Go to “export” module/pane
  3. Select “Flickr script”
  4. Click “export”

Logfile

https://github.com/user-attachments/files/18285855/darktable-log.txt

If you select another output, like a regular file, does it still crash?

From the log…

58.6475 LUA ERROR : C:\Users\jtm\AppData\Local\darktable\luarc:2: module 'flickr' not found:
no field package.preload['flickr']
no file 'C:\Program Files\darktable\bin\..\share\lua\5.4\flickr.lua'
no file 'C:\Program Files\darktable\bin\..\share\lua\5.4\flickr\init.lua'
no file 'C:\Program Files\darktable\bin\..\lib\lua\5.4\flickr.lua'
no file 'C:\Program Files\darktable\bin\..\lib\lua\5.4\flickr\init.lua'
no file '.\flickr.lua'
no file '.\flickr\init.lua'
no file 'C:\Program Files\darktable\share\darktable/lua/flickr.lua'
no file 'C:\Users\jtm\AppData\Local\darktable/lua/flickr.lua'
no file 'C:\Users\jtm\AppData\Local\darktable\lua/flickr.lua'
no file 'C:\Program Files\darktable\bin\..\lib\lua\5.4\flickr.dll'
no file 'C:\Program Files\darktable\bin\..\lib\lua\5.4\loadall.dll'
no file '.\flickr.dll'

It appears that the script isn’t anyplace that darktable can find it.

Also, -d lua will give you just the Lua information without all the extra noise.

Other outputs work properly @paperdigits. @wpferguson, the script flickr.lua was placed in C:\Users[user]\AppData\Local\darktable\lua\contrib and I proceeded to update the script module from Darktable before attempting export. Should I place it elsewhere?

Also, noted for the log, I will make sure to pass the lua parameter next time…

Are you starting flickr.lua from the luarc file? If so, can you paste the contents?