Re: [SMW-devel] Error in Special:Ask (SemanticMaps related)

2009-08-23 Thread jeroen De Dauw
Hey,

This bug is already known, and partially solved [0]. So updating to the
latest svn commit will solve your problem with the map format. The
service specific formats will still be displayed multiple times on the
ask page though. I send an email to the SMW devs about this, since it's
an issue that can only be solved on the SMW level, but have not yet
gotten a response.

As soon as this and one other issue have been resolved, both Maps and Semantic 
Maps 0.3.3 will be released.

[0] 
http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Future#Semantic_Maps_0.3.3

 
Cheers,
Jeroen De Dauw

 
Forum: code.bn2vs.com
Blog: blog.bn2vs.com

Skype: rts.bn.vs  ; Xfire: bn2vs

Don't panic. Don't be evil.
70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!






From: David Raison da...@hackerspace.lu
To: semediawiki-devel@lists.sourceforge.net
Sent: Sunday, August 23, 2009 10:29:35 PM
Subject: [SMW-devel] Error in Special:Ask (SemanticMaps related)

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I know I'm not supposed to post bug reports here, but as traffic
seems pretty low and Jeroen is currently working on this, I thought,
I'd risk to be accused of faggotry.

I'm getting this error on accessing Special:Ask with both the current
version from the trunk as well as release 1.4.3

Fatal error: Call to undefined method SMMapper::getName() in
/var/www/[myhost_and_stuff]/w/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
on line 277

That would be here:

275   if ( ($format != 'broadtable')  ($format
!= 'count')  ($format != 'debug') ) { // special formats count and
debug currently not supported
276   $printer
=SMWQueryProcessor::getResultPrinter($format,SMWQueryProcessor::SPECIAL_PAGE);
277   $formats[$format]
=$printer-getName();
278}

And indeed, SM_Mapper.php out of the SemanticMaps extension (REL 0.3.2)
doesn't have a getName() method.

Strangely enough, be adding the method and returning the string Map,
the special page loads and the format dropdown has, among the option
value=format=mapMap/option option, a couple of entries label
'Google Maps' (containing its various aliases)

So I guess the class shouldn't be queried? Or is there an error on my side?

This is the page: https://www.hackerspace.lu/w/index.php?title=Special:Ask

cheers,
David


- --
Building a Hackerspace in Luxembourg!
syn2cat Hackerspace.lu A.S.B.L.
http://www.hackerspace.lu
mailto:da...@hackerspace.lu
xmpp:kwis...@jabber.hackerspaces.org
mobile: +43 650 73 63 834 | +352 691 44 23 24

Wear your geek: http://syn2cat.spreadshirt.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqRpmcACgkQYTtdUdP5zDcyGACfbpmspmeJ4IfQYPb9OtBQgcc9
kCMAmwcduwN08Iwngu6PryWI7OqqStzm
=L2n+
-END PGP SIGNATURE-


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



  --
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Error in Special:Ask (SemanticMaps related)

2009-08-23 Thread David Raison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

jeroen De Dauw wrote:
 !-- DIV {margin:0px;} --
 Hey,

 This bug is already known, and partially solved [0]. So updating to
 the latest svn commit will solve your problem with the map format.

Oh, alright, I tried updating my checkout, but I guess you didn't
modify the REL0_3_2 tag. (That's the trouble with tags vs. trunk :( )
Also, I did search for a SemanticMaps related bug in bugzilla prior to
posting, but I guess I should have included closed tickets.

Thanks alot,
David


- --
Building a Hackerspace in Luxembourg!
syn2cat Hackerspace.lu A.S.B.L.
http://www.hackerspace.lu
mailto:da...@hackerspace.lu
xmpp:kwis...@jabber.hackerspaces.org
mobile: +43 650 73 63 834 | +352 691 44 23 24

Wear your geek: http://syn2cat.spreadshirt.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqRr+AACgkQYTtdUdP5zDclZgCgwfsakB/tqO7f1vtedr7QKEA9
j1wAniRq5bp568DRh8ZrtNcN3xJLmato
=XBd2
-END PGP SIGNATURE-


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel