There is only one version of trac. In any case its working for me now, if nobody else has a problem then its probably me doing something silly.
Thanks for the replies, Greg On Fri, 2006-08-04 at 14:30 +0200, Emmanuel Blot wrote: > Hi Greg, > > This is weird. > I'm using some python post commit script with a recent trunk release > (r3574) and I did not have to tweak it to deal with the abs_href > attribute. > > Do you have only one Trac installation on your machine ? > > Cheers, > Manu > > On 8/4/06, Greg Dickie <[EMAIL PROTECTED]> wrote: > > > > Hi Matthew, > > > > No, everything from 0.10dev, in fact everything from rev 3592 and I > > still got an error (thrown from trac/ticket/notification.py_ about > > missing object abs_href. So I hacked a bit and stuck > > > > self.env.abs_href = Href(url) > > > > into trac-post-commit and now it works fine. Unfortunately my python is > > not good enough yet to understand all the variable scopes and passing > > but this seemed to work for me. > > > > Thanks, > > Greg > > > > > > On Thu, 2006-08-03 at 22:04 -0400, Matthew Good wrote: > > > On Tue, 2006-08-01 at 10:52 -0400, Greg Dickie wrote: > > > > It seems that this needs to be set but I can't figure out where it > > > > needs to come from. I assume its in trac.ini but it doesn't seem to be > > > > url or base_url. Can anyone give me a hint? > > > > > > It sounds like you may be trying to use the trac-post-commit script from > > > the 0.9 source after upgrading to Trac 0.10. "env.abs_href" is > > > deprecated now and should not be used: > > > http://trac.edgewall.org/changeset/3409 > > > > > > If that's not the case please explain what you're trying to do with > > > "env.abs_href". > > > > > -- > > Greg Dickie > > just a guy > > Maximum Throughput > > > > _______________________________________________ > > Trac mailing list > > [email protected] > > http://lists.edgewall.com/mailman/listinfo/trac > > > > -- Greg Dickie just a guy Maximum Throughput _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
