Traccustomfield for Trac 1.6.1

11 views
Skip to first unread message

Venu Pillai

unread,
4:08 AM (5 hours ago) 4:08 AM
to Trac Users
In WebUI, Trac-admin-customerfield trying to add a new/modify custom field.
I am getting error.
Error:TypeError: sequence item 0: expected str instance, bytes found

Python Traceback
Trac

1.6.1.dev0

Babel

2.13.1

Docutils

0.20.1

Jinja2

3.1.6

Python
3.12.12 (main, Jan 16 2026, 00:00:00) [GCC 14.3.1 20250617 (Red Hat 14.3.1-2)]

setuptools

69.0.3

SQLite

3.46.1

jQuery

3.6.3

jQuery UI

1.13.0

jQuery Timepicker

1.6.3

Jun Omae

unread,
6:52 AM (2 hours ago) 6:52 AM
to trac-...@googlegroups.com
Hi,

On Mon, Mar 9, 2026 at 5:08 PM Venu Pillai <vpill...@gmail.com> wrote:
>
> In WebUI, Trac-admin-customerfield trying to add a new/modify custom 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 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", line 162 , in update_custom_field
> File "/usr/local/lib/python3.12/site-packages/customfieldadmin/api.py", 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/

--
Jun Omae <jun...@gmail.com> (大前 潤)

Venu Pillai

unread,
7:43 AM (1 hour ago) 7:43 AM
to Trac Users
Thanks , 
It is working now

Reply all
Reply to author
Forward
0 new messages