Theme editor in 4.2.10 says GD is disabled or not installed

Hi RT users,

Even though ‘rt-test-dependencies --with-gd’ reports that everything is there
and charts are working, the theme editor still give the error that GD is not
installed. Does anyone have any idea about how to debug further and fix?

Regards,
Ken

Hi RT users,

Even though ‘rt-test-dependencies --with-gd’ reports that everything is there
and charts are working, the theme editor still give the error that GD is not
installed. Does anyone have any idea about how to debug further and fix?

It’s been a while since I looked at this codepath, but it looks like it might have something to do with what image types GD is configured to be able to load and parse. That warning is safe to ignore unless you’re looking for RT to automatically suggest theme colors based on an uploaded logo.

-jesse

Hi RT users,

Even though ‘rt-test-dependencies --with-gd’ reports that everything is there
and charts are working, the theme editor still give the error that GD is not
installed. Does anyone have any idea about how to debug further and fix?

It’s been a while since I looked at this codepath, but it looks like it might have something to do with what image types GD is configured to be able to load and parse. That warning is safe to ignore unless you’re looking for RT to automatically suggest theme colors based on an uploaded logo.

-jesse

Hi Jesse,

Okay, I just checked and once I upload a supported logo image type the error
goes away. Since it was there before doing anything, it threw me off and I
thought that there was a problem. Thank you for the feedback.

Regards,
Ken

Okay, I just checked and once I upload a supported logo image type the error
goes away. Since it was there before doing anything, it threw me off and I
thought that there was a problem. Thank you for the feedback.

This is fixed in 4.2-trunk and will be in 4.2.11, for reference:

https://github.com/bestpractical/rt/commit/c51612a1
https://issues.bestpractical.com/Ticket/Display.html?id=30563
  • Alex