Re: [Trac] Traccustomfield for Trac 1.6.1

Jun Omae <[email protected]> Mon, 9 Mar 2026 19:52:08 +0900
Newsgroups gmane.comp.version-control.subversion.trac.general
Message-ID <CAEVLMagHoy2G6Cb4p+Oy097hPKkOPvQR4HcbsT=e=24yurae-g@mail.gmail.com>
Hi,

On Mon, Mar 9, 2026 at 5:08=E2=80=AFPM Venu Pillai <[email protected]> =
wrote:
>
> In WebUI, Trac-admin-customerfield trying to add a new/modify custom fiel=
d.
> 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 610=
 , in dispatch_request
> File "/usr/local/lib/python3.12/site-packages/trac/web/main.py", line 302=
 , in dispatch
> File "/usr/local/lib/python3.12/site-packages/trac/web/main.py", line 248=
 , in dispatch
> File "/usr/local/lib/python3.12/site-packages/trac/admin/web_ui.py", line=
 104 , in process_request
> File "/usr/local/lib/python3.12/site-packages/customfieldadmin/admin.py",=
 line 73 , in render_admin_panel
> File "/usr/local/lib/python3.12/site-packages/customfieldadmin/api.py", l=
ine 162 , in update_custom_field
> File "/usr/local/lib/python3.12/site-packages/customfieldadmin/api.py", l=
ine 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/=
CAEVLMagHoy2G6Cb4p%2BOy097hPKkOPvQR4HcbsT%3De%3D24yurae-g%40mail.gmail.com.