Modify

Opened 17 years ago

Closed 14 years ago

#2675 closed defect (fixed)

[Patch] LastModified in trac 0.11

Reported by: matt_callaghan@… Owned by: HorsePunchKid
Priority: highest Component: LastModifiedMacro
Severity: major Keywords:
Cc: HorsePunchKid, bill.coffman@… Trac Release: 0.11

Description

Does the LastModified macro not work for 0.11 b1?

We've tried the LastModified.py macro in:

  • /usr/local/share/trac/plugins
  • /usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/wiki-macros

Any tips would be appreciated ...

Thanks

Attachments (1)

LastModified.py (3.4 KB) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 in reply to:  description Changed 16 years ago by Fine Banana

Priority: normalhighest
Severity: normalmajor

Hi Matt,

Did you managed to get this macro to work on 0.11? I just upgraded to the latest stable 0.11.1 and been searching for many hours now for the one that works on 0.11.

It's been 6 months since you posted your report but no one seems to update this at all.

Replying to matt_callaghan@sympatico.ca:

Does the LastModified macro not work for 0.11 b1?

We've tried the LastModified.py macro in:

  • /usr/local/share/trac/plugins
  • /usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/wiki-macros

Any tips would be appreciated ...

Thanks

comment:2 Changed 16 years ago by anonymous

I would very much like to use the LastModified macro, or get a replacement for 0.11.1

More specifics on our setup:

  • O/S Debian Linux, Etch -- apt-get dist-upgrade as of a 9/15/08; 2.6.18-6-amd64 #1 SMP Mon Aug 18 10:36:19 UTC 2008 x86_64 GNU/Linux
  • Apache 2.2.3-4+etch5
  • python-minimal 2.4.4-2
  • the /var/cache/trac/graphviz directory exists, and is read/writable to apache processes.
  • libapache2-mod-python 3.2.10-4
  • we have
    /var/lib/trac/wiki-macros/LastModified.py
    
  • The error message for [[LastModifed(WikiPage)]] is:
    Error: Failed to load processor LastModified
    
    No macro or processor named 'LastModified' found
    

comment:3 Changed 16 years ago by anonymous

Cc: bill.coffman@… added

Changed 16 years ago by anonymous

Attachment: LastModified.py added

comment:4 Changed 16 years ago by anonymous

Okay, I took that plunge and wrote a Trac Macro. This isn't quite the same, as far as output format. Personally, I like it better, but it is completely unformatted.

comment:5 Changed 14 years ago by Ryan J Ollos

Summary: LastModified in trac 0.11[Patch] LastModified in trac 0.11

comment:6 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [8524]) Adding 0.11 version of LastModifiedMacro. Fixes #2675.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain HorsePunchKid.
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.