I installed the AllAttachmentsMacro but cannot get it to work.  When I
run it I get:

Error: Failed to load processor AllAttachments
No macro or processor named 'AllAttachments' found

The trac.log file also contains:
2008-11-10 07:50:56,619 Trac[loader] ERROR: Failed to load plugin
from /usr/local/trac/mistic/plugins/AllAttachmentsMacro-1.0.py
Traceback (most recent call last):
  File "/usr/local/lib64/python2.5/site-packages/Trac-0.11.1-py2.5.egg/
trac/loader.py", line 89, in _load_py_files
    module = imp.load_source(plugin_name, plugin_file)
  File "/usr/local/trac/mistic/plugins/AllAttachmentsMacro-1.0.py",
line 9, in <module>
    from trac.wiki.macros import WikiMacroBase, parse_args
SystemError: Parent module 'AllAttachmentsMacro-1' not loaded

I added "AllAttachments.* = enabled" in the trac.ini file but that did
not make a differences.  I have stopped and started the apache2 server
several times and I still get the error.  When I do "About Trac" as an
administrator I see "allattachments.*     enabled" under components.

System Information
Trac:   0.11.1
Python:         2.5.1 (r251:54863, Sep 21 2007, 22:46:31) [GCC 4.2.1 (SUSE
Linux)]
setuptools:     0.6c8
MySQL:  server: "5.0.67-community", client: "5.0.67", thread-safe: 0
MySQLdb:        1.2.2
Genshi:         0.5.1
mod_python:     3.3.1
Subversion:     1.5.4 (r33841)
jQuery: 1.2.6

This is what I have in the plugins directory:

> ls -l ../plugins
total 92
-rw-r--r-- 1 svn    www  2683 2008-11-01 16:25
AllAttachmentsMacro-1.0.py
-rw-r--r-- 1 wwwrun www  2703 2008-11-10 07:40
AllAttachmentsMacro-1.0.pyc
-rw-r--r-- 1 svn    svn  5495 2008-10-17 11:23 cc_selector-0.0.2-
py2.5.egg
-rw-r--r-- 1 svn    svn  3562 2008-08-07 08:14
nevernotifyupdaterplugin-0.0.1-py2.5.egg
-rw-r--r-- 1 svn    svn 11617 2008-09-26 08:44
TicketModifiedFiles-0.10-py2.5.egg
-rw-r--r-- 1 svn    www 57013 2008-10-09 17:45
timingandestimationplugin-0.7.3-py2.5.egg

Thanks in advance for any suggestions.


On Oct 29, 9:28 am, Daan van Etten <[EMAIL PROTECTED]> wrote:
> Great it worked!
>
> Regards,
>
> Daan
>
> Op 29 okt 2008, om 00:30 heeft Yvonne Oy Ling Cheong het volgende
> geschreven:
>
>
>
> > Excellent!! Works so well. Thanksall.
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> > On Behalf Of Jeff Hammel
> > Sent: Wednesday, 29 October 2008 7:20 AM
> > To: [email protected]
> > Subject: [Trac] Re:Listingallattachmentsfor easy searching
>
> > Thanks Daan!
>
> > Seems to work perfectly here.  Thanks for the quick turnaround too.
>
> > Jeff
>
> > On Sat, Oct 25, 2008 at 04:56:43PM +0200, Daan van Etten wrote:
>
> >> Hi,
>
> >> I took the plunge and created the AllAttachmentsMacro.
> >> Seehttp://trac-hacks.org/wiki/AllAttachmentsMacro
>
> >> Let me know what you think!
>
> >> Regards,
>
> >> Daan
>
> >> On 23 okt 2008, at 22:59, Yvonne Oy Ling Cheong wrote:
>
> >>> Thanks a lot Jeff. It's a great start!
>
> >>> -----Original Message-----
> >>> From: [email protected]
> >>> [mailto:[EMAIL PROTECTED]
> >>> On Behalf Of Jeff Hammel
> >>> Sent: Friday, 24 October 2008 12:12 AM
> >>> To: [email protected]
> >>> Subject: [Trac] Re:Listingallattachmentsfor easy searching
>
> >>> I've ticketed this on trac-hacks:
>
> >>>http://trac-hacks.org/ticket/3977
>
> >>> I'll take a stab at this if/when I have time, though if someone
> >>> beats me to it I wouldn't complain (nor do I know when I'll be able
> >>> to tackle it).
>
> >>> I think its a great idea, though.
>
> >>> Jeff
>
> >>> On Thu, Oct 23, 2008 at 09:38:03AM +1000, Yvonne Oy Ling Cheong
> > wrote:
>
> >>>> Yes! That would be great to have! I'm not technical enough to know
> >>>> how
>
> >>>> to go about doing it. Hopefully someone has already done it and
> >>>> could share with the group. That would be awesome!
>
> >>>> -----Original Message-----
> >>>> From: [email protected] [mailto:trac-
> >>>> [EMAIL PROTECTED] On Behalf Of Remy Blank
> >>>> Sent: Thursday, 23 October 2008 9:34 AM
> >>>> To: [email protected]
> >>>> Subject: [Trac] Re:Listingallattachmentsfor easy searching
>
> >>>> YC wrote:
> >>>>> Just wondering is there a way to have a list ofallattachments(
> >>>>> and where it is located, on which wiki page etc.) for easier
> >>>>> searching? If
>
> >>>>> anybody has any idea. Thanks.
>
> >>>> I don't know how you could achieve that out-of-the-box, but this
> >>>> would
>
> >>>> make a nice macro, similar to [[TitleIndex]].
>
> >>>> -- Remy
>
> >>>> This email (including any attached files) is confidential and is
> >>>> for the intended recipient(s) only.  If you received this email by
> >>>> mistake, please, as a courtesy, tell the sender, then delete this
> >>> email.
>
> >>>> The views and opinions are the originator's and do not necessarily
> >>>> reflect those of the University of Southern Queensland.  Although
> >>>>allreasonable precautions were taken to ensure that this email
> >>>> contained no viruses at the time it was sent we accept no liability
>
> >>>> for any losses arising from its receipt.
>
> >>>> The University of Southern Queensland is a registered provider of
> >>>> education with the Australian Government (CRICOS Institution Code
> >>> No's.
> >>>> QLD 00244B / NSW 02225M)
>
> >>> This email (including any attached files) is confidential and is for
>
> >>> the intended recipient(s) only.  If you received this email by
> >>> mistake, please, as a courtesy, tell the sender, then delete this
> >>> email.
>
> >>> The views and opinions are the originator's and do not necessarily
> >>> reflect those of the University of Southern Queensland.  Although
> >>>allreasonable precautions were taken to ensure that this email
> >>> contained no viruses at the time it was sent we accept no liability
> >>> for any losses arising from its receipt.
>
> >>> The University of Southern Queensland is a registered provider of
> >>> education with the Australian Government (CRICOS Institution Code
> >>> No's.
> >>> QLD 00244B / NSW 02225M)
>
> > This email (including any attached files) is confidential and is for
> > the
> > intended recipient(s) only.  If you received this email by mistake,
> > please, as a courtesy, tell the sender, then delete this email.
>
> > The views and opinions are the originator's and do not necessarily
> > reflect those of the University of Southern Queensland.  Althoughall
> > reasonable precautions were taken to ensure that this email
> > contained no
> > viruses at the time it was sent we accept no liability for any losses
> > arising from its receipt.
>
> > The University of Southern Queensland is a registered provider of
> > education with the Australian Government (CRICOS Institution Code
> > No's.
> > QLD 00244B / NSW 02225M)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to