-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
New docker image build without image converter support #3823
Comments
This keeps popping out, but which client supports this and you use? |
@licaon-kter I don't know, but many different clients use my server |
Exactly, this sounds like something useful, but it's not. Other mechanisms are used to get a preview in most used clients. Test Dino, Gajim, Conversations, Siskin, Beagle, Monal, and see how it goes first. |
Ye but it's not relevant to this issue |
Those are the modern clients that your users are going to use. As far as I know, none support these thumbnails that you talk about. |
ejabberd depends on the eimp library, and it is required to When ejabberd is compiled with rebar3, this works correctly because rebar3 is told in rebar.config to configure eimp ( Line 177 in 75a771b
eimp:supported_formats().
[webp,jpeg,png,gif] Unfortunately, when ejabberd is compiled with mix, elixir's mix does not configure eimp, and this fails: :eimp.supported_formats
[] The Docker image got a workaround years ago with the line In symmary, what install methods are affected by eimp not configured?
The definitive solution would be to tell mix to configure eimp, like rebar3 has in rebar.config. Unfortunately, I found no way to setup this in mix.exs. As an alternative solution, I've forced eimp configure when running "make deps" in ejabberd's Makefile, in recent commits. That should solve this problem for any ejabberd mix compilation (including manual, make-binaries, Docker image and Container image). Current status:
Let's track the installers problem in #3514 |
Environment
erl +V
Configuration
Errors from error.log
Bug description
Thumbnailing is not working because ejabberd seems to be compiled without image converter support.
Maybe related to #3514
eimp:supported_formats().
returns[]
The text was updated successfully, but these errors were encountered: