﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
14077	TypeError: int() argument must be a string or a number, not 'NoneType'	enhancement	1.4	lucid	new	2021-10-26T02:11:48+02:00	2021-10-27T00:34:49+02:00	"==== How to Reproduce

While doing a POST operation on `/admin/timetracking/log`, Trac issued an internal error.

''(please provide additional details here)''
When `Add Log Entry:` doing by btn `add` then error

Request parameters:
{{{
{u'__FORM_TOKEN': u'2154988fc2e6a01d24df9c19',
 u'add': u'Add',
 'cat_id': u'timetracking',
 u'comment': u'',
 u'date': u'2021-10-26',
 u'location': u'',
 'panel_id': u'log',
 'path_info': None,
 u'spent_hours': u'0',
 u'user': u'nonex',
 u'year': u'2021'}
}}}

User agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36 Edg/95.0.1020.30`

==== System Information
|| '''`Trac`''' || `1.4.3` ||
|| '''`Babel`''' || `2.9.1` ||
|| '''`Genshi`''' || `0.7.5 (with speedups)` ||
|| '''`GIT`''' || `2.28.0` ||
|| '''`Jinja2`''' || `2.11.3` ||
|| '''`Pygments`''' || `2.5.2` ||
|| '''`pysqlite`''' || `2.6.0` ||
|| '''`Python`''' || `2.7.18 (default, Oct 29 2020, 17:28:54) ` [[br]] `[GCC FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-` ||
|| '''`pytz`''' || `2021.1` ||
|| '''`setuptools`''' || `44.1.1` ||
|| '''`SQLite`''' || `3.33.0` ||
|| '''`jQuery`''' || `1.12.4` ||
|| '''`jQuery UI`''' || `1.12.1` ||
|| '''`jQuery Timepicker`''' || `1.6.3` ||

==== Enabled Plugins
|| '''`BlueFlatTheme`''' || `1.1.0.dev0` ||
|| '''`KeepInterfaceSimple2Plugin`''' || `2.5` ||
|| '''`MultiProjectBacklog`''' || `0.5.0.dev0` ||
|| '''`TimeTracking`''' || `1.3` ||
|| '''`Trac-jsGantt`''' || `1.2.0.0.dev0` ||
|| '''`TracAccountManager`''' || `0.5.0` ||
|| '''`TracChangeLog`''' || `0.5` ||
|| '''`TracDragDrop`''' || `0.12.0.15` ||
|| '''`TracGraphviz`''' || `1.4.0.1` ||
|| '''`TracHtmlNotificationPlugin`''' || `0.12.0.2` ||
|| '''`TracSimpleMultiProject`''' || `0.7.4` ||
|| '''`TracStats`''' || `0.6.1` ||
|| '''`TracTags`''' || `0.12.1` ||
|| '''`TracThemeEngine`''' || `2.3.1` ||
|| '''`TracVote`''' || `0.7.0` ||

==== Interface Customization
|| **shared-htdocs** ||  ||
|| **shared-templates** ||  ||
|| **site-htdocs** || `theme.css` ||
|| **site-templates** ||  ||

==== Python Traceback
{{{
Traceback (most recent call last):
  File ""vp27/lib/python2.7/site-packages/trac/web/main.py"", line 639, in dispatch_request
    dispatcher.dispatch(req)
  File ""vp27/lib/python2.7/site-packages/trac/web/main.py"", line 250, in dispatch
    resp = chosen_handler.process_request(req)
  File ""vp27/lib/python2.7/site-packages/trac/admin/web_ui.py"", line 104, in process_request
    resp = provider.render_admin_panel(req, cat_id, panel_id, path_info)
  File ""vp27/lib/python2.7/site-packages/timetracking/web_ui.py"", line 62, in render_admin_panel
    return self.render_log_panel(req, category, panel, path_info)
  File ""vp27/lib/python2.7/site-packages/timetracking/web_ui.py"", line 143, in render_log_panel
    logentry.task_id = int(req.args.get('task_id'))
TypeError: int() argument must be a string or a number, not 'NoneType'
}}}"	nonex
14052	"Missing Estimated hours in ""Add Task"""	defect	1.4	lucid	new	2021-09-21T14:37:13+02:00	2021-09-21T14:37:13+02:00	"In Administration -> Tasks -> ""Add Task:"" there is no field ""Estimated hours"". Shouldn't it be there?"	anonymous
