Re: [Trac] Traccustomfield for Trac 1.6.1
Venu Pillai <[email protected]> Mon, 9 Mar 2026 04:43:37 -0700 (PDT)
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_101196_638836711.1773056617100 Content-Type: multipart/alternative; boundary="----=_Part_101197_1244953940.1773056617100" ------=_Part_101197_1244953940.1773056617100 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks ,=20 It is working now On Monday, 9 March 2026 at 16:22:34 UTC+5:30 Jun Omae wrote: > Hi, > > On Mon, Mar 9, 2026 at 5:08=E2=80=AFPM Venu Pillai <[email protected]> w= rote: > > > > In WebUI, Trac-admin-customerfield trying to add a new/modify custom=20 > field. > > I am getting error. > > Error:TypeError: sequence item 0: expected str instance, bytes found > > > > Python Traceback > > Most recent call last: > > > > File "/usr/local/lib/python3.12/site-packages/trac/web/main.py", line= =20 > 610 , in dispatch_request > > File "/usr/local/lib/python3.12/site-packages/trac/web/main.py", line= =20 > 302 , in dispatch > > File "/usr/local/lib/python3.12/site-packages/trac/web/main.py", line= =20 > 248 , in dispatch > > File "/usr/local/lib/python3.12/site-packages/trac/admin/web_ui.py",=20 > line 104 , in process_request > > File=20 > "/usr/local/lib/python3.12/site-packages/customfieldadmin/admin.py", line= =20 > 73 , in render_admin_panel > > File "/usr/local/lib/python3.12/site-packages/customfieldadmin/api.py",= =20 > line 162 , in update_custom_field > > File "/usr/local/lib/python3.12/site-packages/customfieldadmin/api.py",= =20 > line 130 , in create_custom_field > > Thanks for the reporting the issue. > > I confirmed that's reproduced when adding a select or radio custom > field. I just filed it in https://trac-hacks.org/ticket/14396 and > fixed it. > > Please checkout and upgrade to the latest version from the following URL: > > https://trac-hacks.org/svn/customfieldadminplugin/1.2/ > > --=20 > Jun Omae <[email protected]> (=E5=A4=A7=E5=89=8D =E6=BD=A4) > --=20 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 e= mail to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion visit https://groups.google.com/d/msgid/trac-users/= 1a09f489-7e27-4fcd-823f-cf0eb5dfd42an%40googlegroups.com. ------=_Part_101197_1244953940.1773056617100 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks ,=C2=A0<div>It is working now<br /><br /></div><div class=3D"gmail_q= uote"><div dir=3D"auto" class=3D"gmail_attr">On Monday, 9 March 2026 at 16:= 22:34 UTC+5:30 Jun Omae wrote:<br/></div><blockquote class=3D"gmail_quote" = style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); pa= dding-left: 1ex;">Hi, <br> <br>On Mon, Mar 9, 2026 at 5:08=E2=80=AFPM Venu Pillai <<a href data-ema= il-masked rel=3D"nofollow">[email protected]</a>> wrote: <br>> <br>> In WebUI, Trac-admin-customerfield trying to add a new/modify cust= om field. <br>> I am getting error. <br>> Error:TypeError: sequence item 0: expected str instance, bytes fou= nd <br>> <br>> Python Traceback <br>> Most recent call last: <br>> <br>> File "/usr/local/lib/python3.12/site-packages/trac/web/main.p= y", line 610 , in dispatch_request <br>> File "/usr/local/lib/python3.12/site-packages/trac/web/main.p= y", line 302 , in dispatch <br>> File "/usr/local/lib/python3.12/site-packages/trac/web/main.p= y", line 248 , in dispatch <br>> File "/usr/local/lib/python3.12/site-packages/trac/admin/web_= ui.py", line 104 , in process_request <br>> File "/usr/local/lib/python3.12/site-packages/customfieldadmi= n/admin.py", line 73 , in render_admin_panel <br>> File "/usr/local/lib/python3.12/site-packages/customfieldadmi= n/api.py", line 162 , in update_custom_field <br>> File "/usr/local/lib/python3.12/site-packages/customfieldadmi= n/api.py", line 130 , in create_custom_field <br> <br>Thanks for the reporting the issue. <br> <br>I confirmed that's reproduced when adding a select or radio custom <br>field. I just filed it in <a href=3D"https://trac-hacks.org/ticket/1439= 6" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.g= oogle.com/url?hl=3Den-GB&q=3Dhttps://trac-hacks.org/ticket/14396&so= urce=3Dgmail&ust=3D1773142626123000&usg=3DAOvVaw3kUxCrM-14Z_3PbgQif= yzZ">https://trac-hacks.org/ticket/14396</a> and <br>fixed it. <br> <br>Please checkout and upgrade to the latest version from the following UR= L: <br> <br> <a href=3D"https://trac-hacks.org/svn/customfieldadminplugin/1.2/" t= arget=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.googl= e.com/url?hl=3Den-GB&q=3Dhttps://trac-hacks.org/svn/customfieldadminplu= gin/1.2/&source=3Dgmail&ust=3D1773142626123000&usg=3DAOvVaw0Gq8= v6tuGhrrk1V_NWJNc5">https://trac-hacks.org/svn/customfieldadminplugin/1.2/<= /a> <br> <br>--=20 <br>Jun Omae <<a href data-email-masked rel=3D"nofollow">[email protected]= m</a>> (=E5=A4=A7=E5=89=8D =E6=BD=A4) <br></blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Trac Users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]">trac-use= rs+unsubscribe-/[email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= trac-users/1a09f489-7e27-4fcd-823f-cf0eb5dfd42an%40googlegroups.com?utm_med= ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/trac-use= rs/1a09f489-7e27-4fcd-823f-cf0eb5dfd42an%40googlegroups.com</a>.<br /> ------=_Part_101197_1244953940.1773056617100-- ------=_Part_101196_638836711.1773056617100--