Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12384 closed defect (fixed)

Traceback in logs: "TracError: Hack name must be specified as argument when the context realm is not 'wiki'"

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TracHacksPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

2015-06-04 15:10:37,364 Trac[formatter] ERROR: Macro Maintainer(None) failed:
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 789, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 358, in process
    text = self.processor(text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 345, in _macro_processor
    text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracHacks-3.0dev-py2.6.egg/trachacks/macros.py", line 305, in expand_macro
    raise TracError(_("Hack name must be specified as argument when "
TracError: Hack name must be specified as argument when the context realm is not 'wiki'
2015-06-04 15:12:33,641 Trac[formatter] ERROR: Macro Maintainer(None) failed:
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 789, in _macro_formatter    return macro.ensure_inline(macro.process(args))  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 358, in process    text = self.processor(text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 345, in _macro_processor    text)  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracHacks-3.0dev-py2.6.egg/trachacks/macros.py", line 305, in expand_macro    raise TracError(_("Hack name must be specified as argument when "TracError: Hack name must be specified as argument when the context realm is not 'wiki'
2015-06-04 15:15:43,232 Trac[formatter] ERROR: Macro Maintainer(None) failed:
Traceback (most recent call last):  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 789, in _macro_formatter
    return macro.ensure_inline(macro.process(args))  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 358, in process    text = self.processor(text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 345, in _macro_processor
    text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracHacks-3.0dev-py2.6.egg/trachacks/macros.py", line 305, in expand_macro
    raise TracError(_("Hack name must be specified as argument when "
TracError: Hack name must be specified as argument when the context realm is not 'wiki'
2015-06-04 15:16:33,645 Trac[formatter] ERROR: Macro Maintainer(None) failed:
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 789, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 358, in process
    text = self.processor(text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/wiki/formatter.py", line 345, in _macro_processor
    text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracHacks-3.0dev-py2.6.egg/trachacks/macros.py", line 305, in expand_macro
    raise TracError(_("Hack name must be specified as argument when "
TracError: Hack name must be specified as argument when the context realm is not 'wiki'

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 14636:

3.0.0dev: Avoid traceback in log from improper macro use. Fixes #12384.

comment:2 Changed 9 years ago by Ryan J Ollos

In 14637:

3.0.0dev: Replace incorrect raise with return. Refs #12384.

Part of [14636].

comment:3 Changed 9 years ago by falkb

yes, I experience some strange messages but it did not disturb me

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.