Ticket #2675 (new defect)

Opened 9 months ago

Last modified 2 months ago

LastModified in trac 0.11

Reported by: matt_callaghan@sympatico.ca Assigned to: HorsePunchKid
Priority: highest Component: LastModifiedMacro
Severity: major Keywords:
Cc: HorsePunchKid, bill.coffman@gmail.com 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

LastModified.py (3.4 kB) - added by anonymous on 09/23/08 03:47:52.

Change History

(in reply to: ↑ description ) 09/11/08 22:40:09 changed by finebanana

  • priority changed from normal to highest.
  • severity changed from normal to major.

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

09/22/08 15:25:40 changed 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
    

09/22/08 15:26:03 changed by anonymous

  • cc changed from HorsePunchKid to HorsePunchKid, bill.coffman@gmail.com.

09/23/08 03:47:52 changed by anonymous

  • attachment LastModified.py added.

09/23/08 03:49:25 changed 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.


Add/Change #2675 (LastModified in trac 0.11)




Change Properties
Action