From: Yaron K. <ya...@gm...> - 2009-03-15 21:00:32
|
Well, "version 1.4.2" unfortunately applies to many versions of SRF, both before and after the bug fix. You can check the date on the file /Math/SRF_Math.php in your installation; or just download the latest version and see if that fixes the problem. -Yaron On Fri, Mar 13, 2009 at 5:41 PM, JosNederland <jos...@ho...>wrote: > > Semantic Result Formats (Version 1.4.2) > Jos. > > > Yaron Koren wrote: > > > > Ah, okay, that makes the problem much clearer. How recent is your version > > of > > Semantic Result Formats? Because this sounds a lot like a bug that was > > fixed > > about a month ago - February 11, to be exact. > > > > -Yaron > > > > On Fri, Mar 13, 2009 at 3:31 PM, JosNederland > > <jos...@ho...>wrote: > > > >> > >> additional findings on the problem. > >> > >> > sqtotaal=({{#ask:[[Categorie:Beoordeling]][[beoordeelt::Acne_spijkerkleding]]|?SQ_Totaal|format=count}}) > >> gives:sqtotaal=(2) > >> in the source code:<p>sqtotaal=(2) > >> > >> > >> > sqtotaal=({{#ask:[[Categorie:Beoordeling]][[beoordeelt::Acne_spijkerkleding]]|?SQ_Totaal|format=average}}) > >> gives:sqtotaal=( > >> 154) > >> > >> in the source code:<p>sqtotaal=( > >> </p><p>154) > >> > >> > >> JosNederland wrote: > >> > > >> > Hi all, > >> > > >> > assigning a dynamic property using format=count works OK: > >> > > >> > [[GemiddeldeSQNatuurEnMilieu::{{#ask:[[Categorie:Beoordeling]][[beoordeelt::Acne_spijkerkleding]]|?SQ_Totaal|format=count}}]] > >> > > >> > it shows on the Special:properties page: GemiddeldeSQNatuurEnMilieu > 2 > >> > > >> > If I change format=count to format=average (and I really need the > >> average > >> > value): > >> > > >> > [[GemiddeldeSQNatuurEnMilieu::{{#ask:[[Categorie:Beoordeling]][[beoordeelt::Acne_spijkerkleding]]|?SQ_Totaal|format=average}}]] > >> > > >> > it throws me an error in the little yellow triangle: (translated from > >> > Dutch:)"value not understood". > >> > > >> > Any help or workaround would be appreciated. > >> > > >> > Thx in advance, > >> > Jos van der Ven > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/dynamic-assigning-a-property-using-format%3Daverage-impossible--tp22500042p22501449.html > >> Sent from the Semantic Mediawiki - User mailing list archive at > >> Nabble.com. > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > >> easily build your RIAs with Flex Builder, the Eclipse(TM)based > >> development > >> software that enables intelligent coding and step-through debugging. > >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > >> _______________________________________________ > >> Semediawiki-user mailing list > >> Sem...@li... > >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > >> > > > > > ------------------------------------------------------------------------------ > > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > > software that enables intelligent coding and step-through debugging. > > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > > _______________________________________________ > > Semediawiki-user mailing list > > Sem...@li... > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > > > -- > View this message in context: > http://www.nabble.com/dynamic-assigning-a-property-using-format%3Daverage-impossible--tp22500042p22504073.html > Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |