If you've configured [trac] default_charset to "utf8mb4" in $ENV/conf/trac.ini, that is incorrect and the root cause of the issue. Change the option with "utf-8". Otherwise, I guess your trac.ini has something wrong. Please share your trac.ini.
On Tue, Jul 2, 2024 at 11:05 AM pleo87508 <pleo84...@gmail.com> wrote: > > Hello, > I've struggled to move an old trac 1.2 wiki, ticket and repo browser from > CentOs 7 to ubuntu 24.04. > I have everything almost working now though. > I first had to move the subversion rep, now on 1.14. > Then I installed trac 1.6 and upgraded the database using trac-admin. > I think before I did that I recreated the db from a backup, but changed the > character set and collation to > DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin > I thought I read on the trac site that that needed to be done. > > After the wiki and tickets seemed to be working, I used the admin interface > to set up the repository browser. > All of that is working except when I drill down and click on the revision > (changeset maybe) and or the file, I get the following error: > Trac detected an internal error:LookupError: unknown encoding: utf8mb4 > onthe web browser. > Maybe I picked the wrong character set and colation? > If so what should it be > > Am attaching a pdf of the output from the webpage. I can also post the logs > if that will help > Thanks in advance. -- Jun Omae <jun6...@gmail.com> (大前 潤) -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMajbO7AP8uLv%2Ba9m0AfZp8iXLjDH%3DXPNmUB6j5Zd7HPizQ%40mail.gmail.com.