Last modified: 2013-01-09 01:33:37 UTC
Hello, my installation: MediaWiki 1.18.1 Semantic Bundle (Version 20120124) Semantic MediaWiki (Version 1.7.0.2) Semantic Result Formats (Version 1.7) Graphviz (Version 0.9.1 alpha) and some other extensions. I adopted the examples from: http://km.aifb.kit.edu/projects/process/index.php/Main_Page But I get the following error message (/var/log/apache2/error.log) while processing the process pages. This pages do not load at all (white screen): PHP Fatal error: Call to undefined method SMWDIWikiPage::getTypeID() in /var/www/mediawiki-1.18.1/extensions/SemanticResultFormats/GraphViz/SRF_Process.php on line 155, referer: http://wiki/wiki/index.php?title=QM:Prozess_Test&action=edit The process step pages and the rest of my MediaWiki work without problems. I have pages with hand made Graphviz diagrams working. I tested in Main namespace, too. Same result. The query behind the template: {{#ask: [[Category:Prozessschritte]] [[Category:{{FULLPAGENAME}}]] | ?has OrSuccessor=hasorsuccessor | ?has Successor=hassuccessor | ?has ConTrueSuccessor=hascontruesuccessor | ?has ConFalseSuccessor =hasconfalsesuccessor | ?has Condition=hascondition | ?has Role=hasrole | ?uses Resource=usesresource | ?has Status=hasstatus | format=process | graphsize=12,12 | graphvalidation={{{graphvalidation}}} | showroles={{{showroles}}} | showresources={{{showresources}}} | showstatus={{{showstatus}}} | showdiscussion=yes | clustercolor=lightgrey }} Do you have any idea, what can cause this error. Best regards Mario
Looks like a compat issue w/ recent SMW. I tried to fix this in r113170 but have not tested, can you confirm it works?
Thank you. I applied the patch, but getting the following error: PHP Fatal error: Call to a member function findPropertyTypeID() on a non-object in /var/www/mediawiki-1.18.1/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php on line 130, referer: http://wiki/wiki/index.php?title=QM:Prozess&action=edit&redlink=1
What about after r113263?
Thank you. Now its stopping later. PHP Fatal error: Call to undefined method SMWDIWikiPage::getShortWikiText() in /var/www/mediawiki-1.18.1/extensions/SemanticResultFormats/GraphViz/SRF_Process.php on line 257, referer: http://wiki/wiki/index.php?title=QM:Prozess&action=edit
Do you need more Information? What can I test/check for you?
Bah. That code with the issue in it is copied all over the place. The stuff first need to be refactored a bit before it can be fixed in a sane fashion. I'll try have a go at this soonish.
Thanks in advance when fix done. Any temporary workarounds for this one?
Thanks in advance too :) I will use the other graphwiz representations waiting the new bundle (bubble graphs & cie looks great, nice job)
Should be fixed by https://gerrit.wikimedia.org/r/#/c/40356/ Can someone try it out and confirm?
Assuming this is fixed