Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script_manager.lua:427: attempt to concatenate a nil value (local 'category') #12070

Closed
manu-p opened this issue Jun 19, 2022 · 2 comments
Closed
Labels

Comments

@manu-p
Copy link

manu-p commented Jun 19, 2022

Describe the bug/issue

dt 3.8.1 / Ubuntu 20.04.4

Trying to install and enable script_manager as described here, I get the following error:
script_manager.lua:427: attempt to concatenate a nil value (local 'category')

To Reproduce

  1. cd ~/.config/darktable/
  2. git clone https://github.com/darktable-org/lua-scripts.git lua
  3. echo 'require "tools/script_manager"' > ~/.config/darktable/luarc
  4. /usr/bin/darktable -d lua
  5. see error message: 5,114164 LUA ERROR : /home/manu/.config/darktable/lua/tools/script_manager.lua:427: attempt to concatenate a nil value (local 'category')
  6. dt is running fine, but without script manager

Expected behavior

No error message and script manager enabled in dt.

Platform

  • darktable version : 3.8.1-1.1
  • OS : Linux
  • Linux - Distro : Ubuntu 20.04.4 LTS
  • Memory : 14Go
  • Graphics card : nVidia GK107GLM [Quadro K1000M]
  • Graphics driver : 340
  • OpenCL installed : Yes
  • OpenCL activated : Yes
@wpferguson
Copy link
Member

The easiest way to install the lua scripts is to let darktable do it.

Remove the ~/.config/darktable/luarc file and the ~/.config/darktable/lua directory, then restart darktable and use the lua-scripts installer at the bottom of the left panel in lighttable.

@wpferguson wpferguson added the lua label Jun 21, 2022
@manu-p
Copy link
Author

manu-p commented Jun 21, 2022

Thanks @wpferguson, indeed, an old version of luarc and lua folder already existed...

@manu-p manu-p closed this as completed Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants