Edgewall Software
Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13433 closed defect (cantfix)

TypeError: sequence item 0: expected string, Fragment found

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Jun Omae)

==== How to Reproduce

While doing a GET operation on `/ticket/3`, Trac issued an internal error.

''(please provide additional details here)''
1. After simplemultiproject turned on then I don't see the tickets and can't create ticket
2. Also related problem is 

{{{
Error: Not Found
Unknown administration panel
}}}
..when clicking new created project

- I'm using plugin manager for admin, also not experimenting inside .ini

Request parameters:
{{{
{'id': u'3'}
}}}

User agent: `#USER_AGENT#`

==== System Information
''System information not available''

==== Enabled Plugins
''Plugin information not available''

==== Interface Customization
''Interface customization information not available''

==== Python Traceback
{{{
Traceback (most recent call last):
  File "venvp27/lib/python2.7/site-packages/trac/web/main.py", line 639, in dispatch_request
    dispatcher.dispatch(req)
  File "venvp27/lib/python2.7/site-packages/trac/web/main.py", line 271, in dispatch
    method=method)
  File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1443, in render_template
    fragment, iterable, method)
  File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1517, in _render_jinja_template
    data):
  File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1930, in _check_for_stream_filters
    stream, data)
  File "venvp27/lib/python2.7/site-packages/workflow_actionbuttons/web_ui.py", line 39, in filter_stream
    buttons.append(manager.render_action_button(req, data['ticket'], action))
  File "venvp27/lib/python2.7/site-packages/workflow_actionbuttons/api.py", line 64, in render_action_button
    label, widgets, hints = self.render_action_control(req, ticket, action)
  File "venvp27/lib/python2.7/site-packages/workflow_actionbuttons/api.py", line 37, in render_action_control
    return first_label, tag(*widgets), (hints and '. '.join(hints) or '')
TypeError: sequence item 0: expected string, Fragment found
}}}
System Information
Package	Version
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) [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

Attachments (0)

Change History (4)

comment:1 by Jun Omae, 3 years ago

Component: projectgeneral
Description: modified (diff)
Keywords: simplemultiproject removed
Priority: highnormal
Resolution: cantfix
Status: newclosed
Type: enhancementdefect
Version: 1.4.3

in reply to:  description comment:2 by Jun Omae, 3 years ago

  File "venvp27/lib/python2.7/site-packages/workflow_actionbuttons/api.py", line 37, in render_action_control
    return first_label, tag(*widgets), (hints and '. '.join(hints) or '')
TypeError: sequence item 0: expected string, Fragment found

That is due to th:WorkflowActionButtonsPlugin.

comment:3 by anonymous, 3 years ago

After workflow_actionbuttons.* = disabled I can create tickets but not see any of all on whole lists reports. Only when filed is indicated for ticket number by custom query.

in reply to:  3 comment:4 by Jun Omae, 3 years ago

… but not see any of all on whole lists reports. Only when filed is indicated for ticket number by custom query.

PluginIssue (th:SimpleMultiProjectPlugin).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.