Opened 9 years ago
Last modified 9 years ago
#12156 closed defect
object of type 'datetime.datetime' has no len() — at Version 1
Reported by: | Owned by: | Max Stewart | |
---|---|---|---|
Priority: | normal | Component: | TicketValidatorPlugin |
Severity: | normal | Keywords: | time date |
Cc: | Trac Release: | 1.0 |
Description (last modified by )
Oops… Trac detected an internal error:
TypeError: object of type 'datetime.datetime' has no len()
This is probably a local installation issue. You should a ticket at the admin Trac to report the issue. Found a bug in Trac?
If you think this should work and you can reproduce the problem, you should consider creating a bug report.
Note that the TicketValidator plugin seems to be involved. Please report this issue to the plugin maintainer.
Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac or its plugins, please try the mailing list instead of creating a ticket.
Otherwise, please a new bug report describing the problem and explain how to reproduce it.
Python Traceback Most recent call last:
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 551, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 225, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 175, in process_request return self._process_ticket_request(req) File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 656, in _process_ticket_request valid = self._validate_ticket(req, ticket, not valid) and valid File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 1363, in _validate_ticket for field, message in manipulator.validate_ticket(req, ticket): File "build/bdist.linux-x86_64/egg/ticketvalidator/core.py", line 48, in validate_ticket if self._is_empty(ticket[field_name])] File "build/bdist.linux-x86_64/egg/ticketvalidator/core.py", line 28, in _is_empty if len(value) == 0: