Modify ↓
Opened 8 years ago
Closed 8 years ago
#12532 closed defect (cantfix)
ValueError: could not convert string to float: None
Reported by: | hoyacom | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /admin/ticket/milestones/dev-1.2.2
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{u'__EDITOR__1': u'textarea', u'__FORM_TOKEN': u'1df05d9a5e0c865852a78233', 'cat_id': u'ticket', u'description': u'', u'duedate': u'2016. 7. 19. \uc624\uc804 12:00:00', u'name': u'1.2.2', 'panel_id': u'milestones', 'path_info': u'dev-1.2.2', u'save': u'\uc800\uc7a5\ud558\uae30'}
User agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
System Information
Trac | 1.0.11
|
Babel | 2.3.4
|
Genshi | 0.7 (with speedups)
|
pysqlite | 2.6.0
|
Python | 2.7.5 (default, Nov 20 2015, 02:00:19) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
|
pytz | 2016.4
|
RPC | 1.1.5
|
setuptools | 21.2.1
|
SQLite | 3.7.17
|
jQuery | 1.7.2
|
jQuery UI | 1.8.21
|
jQuery Timepicker | 1.0.1
|
Enabled Plugins
AwesomeAttachmentsPlugin | 0.4.dev0
|
clients | 0.5dev-r0
|
DuplicateTicketSearch | 1.0.3.post0
|
EstimationTools | 0.4.7.post0
|
ExcelDownloadPlugin | 0.12.0.5
|
ExtendedVersionPlugin | 1.0dev-r0
|
graphviz | 1.0.0.8dev-r0
|
GridModify | 0.1.6dev-r0
|
IniAdmin | 0.3.post0
|
TicketImport | 0.8.3
|
timingandestimationplugin | 1.4.8b0
|
TracAccountManager | 0.4.4
|
TracAutocompleteUsersPlugin | 0.4.4.dev0
|
TracBacklog | 0.3.1
|
TracCustomFieldAdmin | 0.2.12
|
TracDateField | 3.0.0
|
TracGanttCalendarPlugin | 0.6.4.post0
|
TracMarkdownMacro | 0.11.4.post0
|
TracSubTicketsPlugin | 0.2.0.dev20160707
|
TracTags | 0.7
|
TracWysiwyg | 0.12.0.5.post0
|
TracXMLRPC | 1.1.5
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 562, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 249, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.7/site-packages/trac/admin/web_ui.py", line 119, in process_request path_info) File "/usr/lib/python2.7/site-packages/trac/ticket/admin.py", line 56, in render_admin_panel return self._render_admin_panel(req, cat, page, version) File "/usr/lib/python2.7/site-packages/trac/ticket/admin.py", line 262, in _render_admin_panel mil.update(author=req.authname) File "/usr/lib/python2.7/site-packages/trac/ticket/model.py", line 1088, in update self.move_tickets(self.name, author, "Milestone renamed") File "/usr/lib/python2.7/site-packages/trac/ticket/model.py", line 1143, in move_tickets ticket.save_changes(author, comment, now) File "/usr/lib/python2.7/site-packages/trac/ticket/model.py", line 369, in save_changes listener.ticket_changed(self, comment, author, old_values) File "build/bdist.linux-x86_64/egg/timingandestimationplugin/ticket_daemon.py", line 153, in ticket_changed self.watch_hours(ticket, author) File "build/bdist.linux-x86_64/egg/timingandestimationplugin/ticket_daemon.py", line 107, in watch_hours hours = convertfloat(ticket['hours']) File "build/bdist.linux-x86_64/egg/timingandestimationplugin/ticket_daemon.py", line 14, in convertfloat return float(x.replace(',','.')) ValueError: could not convert string to float: None
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue (th:TimingAndEstimationPlugin, th:#12311).