Re: [Trac] UnicodeEncodeError: 'ascii' codec can't encode character u'\u5230' in position 0: ordinal not in range(128)
On Friday, September 7, 2018 at 2:01:37 AM UTC-7, Mingxing Tian wrote: > > > > Jun Omae於 2018年9月6日星期四 UTC+8下午8時45分00秒寫道: >> >> On Thu, Sep 6, 2018 at 9:17 PM Mingxing Tian >> wrote: >> > >> > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 647, in >> _dispatch_request >> > dispatcher.dispatch(req) >> > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 268, in >> dispatch >> > iterable=chrome.use_chunked_encoding) >> > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1134, >> in render_template >> > stream |= self._filter_stream(req, method, filename, stream, data) >> > File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 133, in >> __or__ >> > return Stream(_ensure(function(self)), serializer=self.serializer) >> > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1447, >> in inner >> > data) >> > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/web_ui.py", >> line 41, in filter_stream >> > buttons.append(manager.render_action_button(req, data['ticket'], >> action)) >> > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/api.py", line >> 72, in render_action_button >> > supplemental_form = "> class='supplemental-form'>%s %s %s> style='width:95%%' rows='5' name='comment' placeholder='Enter your >> comment'>" % (action.title(), >> str(widgets), hints) >> > File "/usr/lib64/python2.7/site-packages/genshi/builder.py", line 107, >> in __str__ >> > return str(self.generate()) >> >> The same issue has been reported in https://trac-hacks.org/ticket/12118. >> Please add detail of the issue and how to reproduce to the ticket. >> >> >> -- >> Jun Omae (大前 潤) >> > > I found the reason because it was caused by other plugins. > > *trac-WorkflowActionButtonsPlugin * > That is the plugin referenced in the traceback and the issue #12118 that Jun directed you to. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] UnicodeEncodeError: 'ascii' codec can't encode character u'\u5230' in position 0: ordinal not in range(128)
Jun Omae於 2018年9月6日星期四 UTC+8下午8時45分00秒寫道: > > On Thu, Sep 6, 2018 at 9:17 PM Mingxing Tian > wrote: > > > > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 647, in > _dispatch_request > > dispatcher.dispatch(req) > > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 268, in > dispatch > > iterable=chrome.use_chunked_encoding) > > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1134, > in render_template > > stream |= self._filter_stream(req, method, filename, stream, data) > > File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 133, in > __or__ > > return Stream(_ensure(function(self)), serializer=self.serializer) > > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1447, > in inner > > data) > > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/web_ui.py", > line 41, in filter_stream > > buttons.append(manager.render_action_button(req, data['ticket'], > action)) > > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/api.py", line > 72, in render_action_button > > supplemental_form = " class='supplemental-form'>%s %s %s style='width:95%%' rows='5' name='comment' placeholder='Enter your > comment'>" % (action.title(), > str(widgets), hints) > > File "/usr/lib64/python2.7/site-packages/genshi/builder.py", line 107, > in __str__ > > return str(self.generate()) > > The same issue has been reported in https://trac-hacks.org/ticket/12118. > Please add detail of the issue and how to reproduce to the ticket. > > > -- > Jun Omae > (大前 潤) > I found the reason because it was caused by other plugins. *trac-WorkflowActionButtonsPlugin * -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] UnicodeEncodeError: 'ascii' codec can't encode character u'\u5230' in position 0: ordinal not in range(128)
On Thu, Sep 6, 2018 at 9:17 PM Mingxing Tian wrote: > > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 647, in > _dispatch_request > dispatcher.dispatch(req) > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 268, in > dispatch > iterable=chrome.use_chunked_encoding) > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1134, in > render_template > stream |= self._filter_stream(req, method, filename, stream, data) > File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 133, in __or__ > return Stream(_ensure(function(self)), serializer=self.serializer) > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1447, in > inner > data) > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/web_ui.py", line > 41, in filter_stream > buttons.append(manager.render_action_button(req, data['ticket'], action)) > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/api.py", line 72, > in render_action_button > supplemental_form = " class='supplemental-form'>%s %s %s style='width:95%%' rows='5' name='comment' placeholder='Enter your > comment'>" % (action.title(), > str(widgets), hints) > File "/usr/lib64/python2.7/site-packages/genshi/builder.py", line 107, in > __str__ > return str(self.generate()) The same issue has been reported in https://trac-hacks.org/ticket/12118. Please add detail of the issue and how to reproduce to the ticket. -- Jun Omae (大前 潤) -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] UnicodeEncodeError: 'ascii' codec can't encode character u'\u5230' in position 0: ordinal not in range(128)
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 647, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 268, in dispatch iterable=chrome.use_chunked_encoding) File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1134, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 133, in __or__ return Stream(_ensure(function(self)), serializer=self.serializer) File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1447, in inner data) File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/web_ui.py", line 41, in filter_stream buttons.append(manager.render_action_button(req, data['ticket'], action)) File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/api.py", line 72, in render_action_button supplemental_form = "%s %s %s" % (action.title(), str(widgets), hints) File "/usr/lib64/python2.7/site-packages/genshi/builder.py", line 107, in __str__ return str(self.generate()) Package版本 Trac 1.2.3 Babel 2.6.0 Genshi 0.7.1 (with speedups) mod_wsgi 3.4 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}) MySQL server: "5.7.22-log", client: "5.5.60-MariaDB", thread-safe: 1 MySQLdb 1.2.5 Python 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] pytz 2018.5 setuptools 0.9.8 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.