Modify

Opened 10 years ago

Closed 10 years ago

#12256 closed defect (fixed)

NoSuchNode: No node virtualticketpermissionsplugin/0.11/README at revision 14512

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

Description

The following is seen in the logs.

2015-04-02 06:30:43,661 Trac[formatter] ERROR: Macro Include(source:virtualticketpermissionsplugin/0.11/README) failed:
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.5-py2.6.egg/trac/wiki/formatter.py", line 788, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.5-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.5-py2.6.egg/trac/wiki/formatter.py", line 345, in _macro_processor
    text)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracIncludeMacro-3.0.0dev_r12030-py2.6.egg/includemacro/macros.py", line 99, in expand_macro
    out, ctxt, dest_format = self._get_source(formatter, source_obj, dest_format)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracIncludeMacro-3.0.0dev_r12030-py2.6.egg/includemacro/macros.py", line 159, in _get_source
    node = repos.get_node(path, rev)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.5-py2.6.egg/trac/versioncontrol/cache.py", line 298, in get_node
    return self.repos.get_node(path, self.normalize_rev(rev))
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.5-py2.6.egg/tracopt/versioncontrol/svn/svn_fs.py", line 509, in get_node
    return SubversionNode(path, rev, self, self.pool)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.5-py2.6.egg/tracopt/versioncontrol/svn/svn_fs.py", line 769, in __init__
    raise NoSuchNode(path, rev)
NoSuchNode: No node virtualticketpermissionsplugin/0.11/README at revision 14512

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 14552:

3.0.0dev: Return a system message when a node doesn't exist.

This avoids a traceback in the logs when the node doesn't exist. Fixes #12256.

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.