Image display brokenish after upgrade (3.4.4 -> 3.6.1)

Hi, all –

I’m working on upgrading an existing 3.4.4 install to 3.6.1. It’s gone
very smoothly, save one issue that can I find no mention of in the list
archives, on the wiki, or elsewhere.

After upgrading, images don’t display properly. They appear severely
pixilated, to the point that they’re meaningless. For example:

I did find this note in the RT-3.6.0 release notes, that might be
relevant:
“Cleaned up the way we were opening files in the image autohandler,
including setting binmode and flushing the buffers to prevent loading
the entire file into memory.”

That said, even if it is relevant, I can’t find a way to alter the
behavior.

Has anyone else experienced this issue, who might have pointers on
resolving it?

Alternately, anyone have suggestions for ways to debug what’s happening?
Even with “Set($LogToSyslog, ‘debug’);” nothing useful is appearing in
my logs…

Thanks!

  • Ian

bet you did a dump and reload of your database on mysql without
setting the charset to binary.On Tue, Oct 10, 2006 at 01:21:03PM -0400, Marlier, Ian wrote:

Hi, all –

I’m working on upgrading an existing 3.4.4 install to 3.6.1. It’s gone
very smoothly, save one issue that can I find no mention of in the list
archives, on the wiki, or elsewhere.

After upgrading, images don’t display properly. They appear severely
pixilated, to the point that they’re meaningless. For example:

I did find this note in the RT-3.6.0 release notes, that might be
relevant:
“Cleaned up the way we were opening files in the image autohandler,
including setting binmode and flushing the buffers to prevent loading
the entire file into memory.”

That said, even if it is relevant, I can’t find a way to alter the
behavior.

Has anyone else experienced this issue, who might have pointers on
resolving it?

Alternately, anyone have suggestions for ways to debug what’s happening?
Even with “Set($LogToSyslog, ‘debug’);” nothing useful is appearing in
my logs…

Thanks!

  • Ian

The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

-----Original Message-----
From: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Tuesday, October 10, 2006 1:33 PM
To: Marlier, Ian
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Image display brokenish after upgrade (3.4.4

3.6.1)

bet you did a dump and reload of your database on mysql without
setting the charset to binary.

Right you are…

And now for the easy followup: In this context, what does that mean,
exactly? I’ve got lots of information on changing the character set of
a column, changing binary output of mysqldump to Hex, creating a
column/table with binary as the charset…

But in this context, I’m not sure which of those actions (or
combination) is the appropriate one.