Hi Noah--So sorry, I had no idea that the same people were reading what I
thought were two different groups!

Hi Anatoly--Many thanks! I wrote to the developer who created the
SearchAttachmentsPlugin
over a year ago, and have pasted his inquiry below. Is there any light you
could shed on his original question?

Thanks,
Cindy

-------------------------

Yannick Deltroo to me:
I had to patch to the Trac source code directly (attachment.py) to work around
this problem.  See the wiki page for details for patching Trac 0.10.3. I
don't know if the problem is still there in 0.11, but I have never received
any answer from the core trac developers about this issue; so my guess is
that it's still there in 0.11.
Regards,
Yannick

----------

> On Apr 27 2007, 12:16 am, "Yannick Deltroo" <[email protected]> wrote:

>> Hi,

>> I'm writing a trac plugin to allow text integral search of attachments.

>> My plugin is listening to the '"attachment_added" event of the

>> "IAttachmentChangeListener".

>> However the "attachment_added" listeners are called before the

>> uploaded file is closed properly. As a consequence, the listeners

>> cannot re-open the uploaded file to do things like indexing.

>> Is there a reason not to close the uploaded file before

>> "attachment_added" or is it a bug ?

>> Thanks fro your help.

>> Best regards,

>> YannickDeltroo

--------

On Sat, Jan 10, 2009 at 7:03 AM, anatoly techtonik <[email protected]>wrote:

>
> We (me?) are always ready to shed the light on any aspects of Trac
> development that require solid advice, so you are more than welcome to
> share your specific developer's problems with SearchAttachments
> plugin.
>
> BTW, is there any special group for Trac-Hacks that is not listed on
> its site main page?
>
> On Sat, Jan 10, 2009 at 1:53 PM, Noah Kantrowitz <[email protected]>
> wrote:
> >
> > Stop cross posting everything. This isn't a development-related
> > question. You will have to wait for someone to answer you after the
> > first time. Asking again just annoys people.
> >
> > --Noah
> >
> > On Jan 9, 2009, at 12:20 PM, Happily wrote:
> >
> >>
> >> Hi,
> >>
> >> I would like to use the SearchAttachmentsPlugin (http://trac-
> >> hacks.org/
> >> wiki/SearchAttachmentsPlugin) but my engineers are having trouble
> >> getting it to work. Are there any similar plugins for Trac wiki? I
> >> want to make full-text searches of documents (*.doc, *.xls, *.ppt,
> >> *.txt, etc.) that are attached to my Trac wiki. Can you shed any
> >> light?
> >>
> >> Thanks,
> >> Cindy Heyer
> >>
> >> >
> >
> >
> > >
> >
>
>
>
> --
> --anatoly t.
>
> >
>


-- 
Warm wishes,
Happily

"Beware of dragons, for you are crunchy
and good with ketchup."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to