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

dtMediaWiki will not be loaded #10

Open
surveyor54 opened this issue Dec 27, 2021 · 6 comments
Open

dtMediaWiki will not be loaded #10

surveyor54 opened this issue Dec 27, 2021 · 6 comments

Comments

@surveyor54
Copy link

Hello, me again

I installed a new version 3.8.0 of darktable , now dtMediaWiki doesn't work anymore.
I get the following error message: "contib/dtMediaWiki failed to load".

What could be the reason for this?

Regards

surveyor54

@trougnouf
Copy link
Owner

trougnouf commented Dec 27, 2021

I don't know, unfortunately I can't reproduce here, it starts without issues on Arch Linux with darktable 3.8.0.

What OS are you using? Do you have any other plugin that works (or doesn't)? Does anything else relevant show up when you run "darktable -d lua"? (make sure you don't copy your password from the initial HTTP request)

@surveyor54
Copy link
Author

Hi,
I am using ubuntu 20.04.3
I have run darktable -d lua and get the following error message:

1,442194 LUA ERROR : ...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:18: module 'ssl.https' not found:
no field package.preload['ssl.https']
no file '/usr/local/share/lua/5.4/ssl/https.lua'
no file '/usr/local/share/lua/5.4/ssl/https/init.lua'
no file '/usr/local/lib/lua/5.4/ssl/https.lua'
no file '/usr/local/lib/lua/5.4/ssl/https/init.lua'
no file './ssl/https.lua'
no file './ssl/https/init.lua'
no file '/usr/share/darktable/lua/ssl/https.lua'
...

I see this is looking for lua 5.4, I have version 5.3.3 installed.
What can I do?
I installed lua 5.4.3, but had the same error.

@surveyor54
Copy link
Author

Ah, what I had forgotten, the folder "/usr/local/share/lua/5.4" is empty.

@trougnouf
Copy link
Owner

trougnouf commented Dec 30, 2021

Does it work now? It seems the lua-sec library was missing, you would have to install it for the version of Lua darktable is using (which can be different from that installed on your system, I believe).

It looks like the Ubuntu 20.04 package for lua-sec only goes up to Lua 5.3 (per https://packages.ubuntu.com/focal/amd64/lua-sec/filelist ), so you will have to find another way to install lua-sec for Lua 5.4.

You can probably directly get it from its repository https://github.com/brunoos/luasec or maybe the LuaRocks package manager would help.

@surveyor54
Copy link
Author

I've tried everything, I can't get it to work. I cannot install lua-sec for Lua 5.4.
The LuaRocks package manager could not help either.
I try it in a few months once more, may be lua-sec works with Lua 5.4.

@trougnouf
Copy link
Owner

trougnouf commented May 21, 2024

Any luck? It looks like Ubuntu 24.04 ships lua-sec for Lua 5.1 through 5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants