Hi,
You seem to be using the master version of the code; the issue you ran into
is caused by a recent change.
Please report a bug at bugzilla.wikimedia.org
Workaround would be to locally revert change
https://gerrit.wikimedia.org/r/#/c/37656/
or use a release version.
On Mon, Jan 14, 2013 at 10:59 PM, Stephan Gambke <s7ep...@gmail.com> wrote:
> Hi,
>
> I got the below error first when after changing a template I ran
> runJobs.php to update all affectted pages. Since I was not completely sure
> that I updated to the new store correctly, I repeated the upgrade steps on
> [1] and got until the first call to SMW_refreshData when I got the error
> again. Did I miss some setting? Is there a workaround?
>
> (143) Processing ID 208 ...
> The property id to add must be a positive integer
> Backtrace:
> #0
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\PropertyStatisticsTable.php(113):
> SMW\SQLStore\PropertyStatisticsTable->addToUsageCount('', 3)
> #1
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_Writers.php(464):
> SMW\SQLStore\PropertyStatisticsTable->addToUsageCounts(Array)
> #2
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_Writers.php(158):
> SMWSQLStore3Writers->writePropertyTableUpdates(77, Array, Array, Array,
> Object(DatabaseMysql))
> #3
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_Writers.php(85):
> SMWSQLStore3Writers->doFlatDataUpdate(Object(SMWSemanticData), Object(Dat
> abaseMysql))
> #4
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3.php(333):
> SMWSQLStore3Writers->doDataUpdate(Object(SMWSemanticData))
> #5
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SMW_Store.php(234):
> SMWSQLStore3->doDataUpdate(Object(SMWSemanticData))
> #6
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\SMW_ParseData.php(374):
> SMWStore->updateData(Object(SMWSemanticData))
> #7
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\jobs\SMW_UpdateJob.php(64):
> SMWParseData::storeData(Object(ParserOutput), Object(Title), false)
> #8
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_SetupHandlers.php(390):
> SMWUpdateJob->run()
> #9
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3.php(404):
> SMWSQLStore3SetupHandlers->refreshData('208', 1, Array, false)
> #10
> C:\xampp\htdocs\w\extensions\SemanticMediaWiki\maintenance\SMW_refreshData.php(147):
> SMWSQLStore3->refreshData('208', 1, Array, false)
> #11 {main}
>
> Cheers,
> Stephan
>
> [1]
> http://semantic-mediawiki.org/wiki/Help:Installation#Upgrading_existing_installations
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
--
Cheers,
Nischay Nahata
nischayn22.in
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel