From: Yaron K. <ya...@gm...> - 2010-03-10 14:55:07
|
Sravanthi - also, I would recommend upgrading to SIO 0.4, on the off chance that this problem has been solved in later versions. -Yaron On Wed, Mar 10, 2010 at 5:17 AM, Bob MacCallum <unc...@gm...> wrote: > I think I saw this "50,50" behaviour once or twice with my SIOs (0.4) > but I'm not sure because I do not understand your <goog_######> cut > and paste job. Please could you present something a little clearer? > > On Wed, Mar 10, 2010 at 5:32 AM, itsme srav <its...@gm...> wrote: > > Hi, > > > > Hitting refresh doesnt fix the problem for me though. > > I have a fresh installation and didnt call SMW_refreshData.php. > > > > Following property is defined in a template and there could be multiple > such > > properties in a page > > > > {{#set_internal:resourceOfProject > > | employeeInProject={{{PersonInvolved|}}} > > | worksForProject = {{{Project Name|}}} > > | workedFromDate = {{{Year|}}}-01-01 > > | workedToDate = {{{Year|}}}-01-31 > > | timeSplit = {{{JanTS|}}} > > }} > > > > Results returned for this query > > > > {{#ask: > > [[resourceOfProject::+]] > > [[worksForProject::testProj]] > > [[employeeInProject::emp1]] > > [[workedFromDate::>2009-01-01]] > > [[workedToDate::<2009-02-01]] > > |mainlabel= > > |?timeSplit= > > |format=list > > }} > > > > are as testProj Resources 2009#1 <goog_1268130956917> ( > <goog_1268130956917> > > 50 <goog_1268130956917>, <goog_1268130956917>50), > <goog_1268130956913>testProj > > Resources 2009#2 <goog_1268130956913> ( > > <goog_1268130956913>100<goog_1268130956913>, > > <goog_1268130956913>100 <goog_1268130956913>), > <goog_1268130956913>testProj > > Resources 2009#3 <goog_1268130956913> ( > > <goog_1268130956913>100<goog_1268130956913>, > > <goog_1268130956913>100 <goog_1268130956913>) > > > > In Browse properties of the page the number pages created for this > property > > seems correct, but in the ask query multiple values are visible in single > > row like (50,50). > > > > Am using SIO 0.2 version. This problem usually appears on multiple saves > and > > refreshes > > At times saving it from the form cleans up the whole data > > > > I didnt go through the code but I observe the the number of entries for a > > s_id in smw_rels2 for smw_id in smw_ids are increased by > > #properties_in_internal_property in the db > > > > select count(*) from smw_ids, smw_rels2 where smw_rels2.s_id = > > smw_ids.smw_id and smw_ids.smw_title like 'testProj_Resources_2009%' ; > > > > Can you help me in rectifying this problem. > > > > With Regards > > Sravanthi > > > > On Fri, Jan 29, 2010 at 3:23 AM, Yaron Koren <ya...@gm...> wrote: > > > >> Okay - no, actually, it was the other way around - calling > >> "SMW_refreshData.php" can mess up internal objects, although there's a > fix > >> for it. > >> > >> Hitting the "refresh" tab on the page, i.e. the one that goes to > >> "action=purge", fixes the problem? If so, that's odd - "refresh" just > >> re-gets all the data from the database, which means that what's in the > >> database is fully correct. > >> > >> Thanks, although clearly I'm not "on top of things" to the extent of > >> writing > >> non-buggy code. :) > >> > >> -Yaron > >> > >> On Thu, Jan 28, 2010 at 4:40 PM, Fligg, Keith <kei...@pn...> > wrote: > >> > >> > Well, Special:Version reports 0.2. I pulled it from the svn repo last > >> week > >> > some time. I don’t think I have run SMW_refreshData.php since > installing > >> > SIO. Hitting ‘refresh’ does fix the issue though. > >> > > >> > So, what is the long term fix for this? Do I setup a cron job to run > >> > SMW_refreshData every night? Is there a way to avoid the duplication > at > >> > all? IOW, did I do something wrong? > >> > > >> > Thanks Yaron, you are really on top of things. :) > >> > > >> > - Keith > >> > > >> > > >> > On 1/28/10 1:31 PM, "Yaron Koren" <ya...@gm...> wrote: > >> > > >> > Hi, > >> > > >> > What version of SIO are you running? And have you called > >> > SMW_refreshData.php at any point, or refreshed the data manually from > the > >> > browser? > >> > > >> > -Yaron > >> > > >> > On Thu, Jan 28, 2010 at 4:19 PM, Fligg, Keith <kei...@pn...> > >> wrote: > >> > I just started using Semantic Internal Objects, and I am seeing > similar > >> > behavior. For a single instance of #set_internal, I am seeing > multiple > >> > results in an ask query. > >> > > >> > Has anyone yet identified the cause of this weirdness? And even > better, > >> is > >> > there a fix? > >> > > >> > Thanks, > >> > > >> > - Keith > >> > > >> > > >> > On 9/3/09 1:03 AM, "Patrick Nagel" <ma...@pa...> wrote: > >> > > >> > > Hi Sravanthi, > >> > > > >> > > On 2009-09-03 15:05, Sravanthi wrote: > >> > > [...] > >> > >> On doing refresh multiple statusobjects as page1#1, page1#1, > >> page1#1... > >> > >> got created. > >> > >> These are shown in browse and in ask query. > >> > > [..] > >> > > > >> > > I have the same problem on my Wiki. Additionally sometimes the > values > >> > > completely disappear. I reported it to Yaron off-list - should have > >> done > >> > it on > >> > > the list, then you could have saved some time reporting it... > >> > > > >> > > Lets hope Yaron finds a fix for this soon. > >> > > > >> > > Patrick. > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > The Planet: dedicated and managed hosting, cloud storage, colocation > >> > Stay online with enterprise data centers and the best network in the > >> > business > >> > Choose flexible plans and management services without long-term > contracts > >> > Personal 24x7 support from experience hosting pros just a phone call > >> away. > >> > http://p.sf.net/sfu/theplanet-com > >> > _______________________________________________ > >> > Semediawiki-user mailing list > >> > Sem...@li... > >> > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > >> > > >> > > >> > > >> > >> > ------------------------------------------------------------------------------ > >> The Planet: dedicated and managed hosting, cloud storage, colocation > >> Stay online with enterprise data centers and the best network in the > >> business > >> Choose flexible plans and management services without long-term > contracts > >> Personal 24x7 support from experience hosting pros just a phone call > away. > >> http://p.sf.net/sfu/theplanet-com > >> _______________________________________________ > >> Semediawiki-user mailing list > >> Sem...@li... > >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > >> > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Semediawiki-user mailing list > > Sem...@li... > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > > > -- > http://darwintunes.org - a test-tube for cultural evolution > http://evolectronica.com - survival of the funkiest > http://compare-stuff.com - confused? you will be! > http://twitter.com/darwintunes > http://twitter.com/bobmaccallum > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |