Report a Problem

From Enipedia
Jump to: navigation, search

If you find any problems with the site, please add a description of the problem to the bottom of this page, and we will look into it. Alternatively, you can also comment on the discussion page where you have found the problem.

Contents

[edit] Known Issues

[edit] General

[edit] Querying external datasets

  • We've noticed that the sparql endpoint for the CIA World Factbook is sometimes down, meaning that queries that reference it may not work occasionally. If you click here and nothing happens, then you know what's going on.
  • Complicated queries using DBpedia may not work. We've received "HttpException: 509 Bandwidth Limit Exceeded" errors for some of the visualizations that previously worked.
    • See here for more issue on the problem from the DBpeida mailing list. It seems that the query should be made more concise to keep the data output below 10MB. I'm not sure if the "limit" parameter of sparql queries is pushed to the far end when using Jena/ARQ, otherwise using something like "limit 10" would be an easy way to fix this.
    • This query actually works now without any changes on our end, so maybe this will not be a problem in the future. See User:Alfredas/Charts/GeoMap for a sanity check. ChrisDavis 08:57, 11 October 2010 (CEST)

[edit] Templates, Appearance

[edit] Sparklines + Semantic Forms

  • Some of the javascript used for visualizing sparklines conflicts with the "Add Another" feature of Semantic forms. ChrisDavis 18:01, 9 June 2011 (CEST)

[edit] CSV Export

  • There is code for this in a previous version of the SparqlExtension. We should re-enable this (but specifically set up as an output format, not necessarily combined with a particular type of visualization). ChrisDavis 18:18, 9 June 2011 (CEST)

[edit] Google Visualization + External Datasets + SparqlExtension

  • The SparqlExtension does not currently support visualization of data retrieved from an external endpoint (when specified using the endpoint parameter, using the service command may work).

[edit] Problem Creating New Power Plant

Attempting to add this plant returns a wiki error and I do not see how to fix it: (see this revision for text used to create power plant ChrisDavis 21:12, 20 September 2011 (CEST))

I'm not sure what happened. I tried to recreate it using the Form:Powerplant and it went ok (see Damariscotta mills for entry), and I wasn't able to find any related errors on the server logs. If you see the problem again, copy/paste the error message here and I'll look into it further. ChrisDavis 21:12, 20 September 2011 (CEST)

[edit] Energy Companies

  • not all energy company pages exist // these pages can be created by creating them and populating them with the reference to the Template:EnergyCompany.
  • I thus created http://enipedia.tudelft.nl/wiki/Afval_Energie_Bedrijf_%28aeb%29
  • but the page then renders incorrect incomplete data. GerardDijkema
  • I've changed the queries in the template to fix this. This was part of a known (but obscure) issue documented on the SparqlExtension page (search for "Here instead of using prefixes we are forced to use BASE keyword"). The problem is that queries can't be parsed if there is a prefix followed by the name of an object with parenthesis (or other non-alphanumeric) characters in it. The solution is to change references to a:SomePage(something) into <SomePage(something)>. ChrisDavis 21:37, 23 March 2011 (CET)
    • This ties into a larger need, which is that we should to set up something that can locate all of the queries spread throughout the wiki. Occasionally we become aware of simple patterns in the query syntax that may lead to incorrect results, but there's currently no easy way to track down all of these.
      • The get-it-done-in-an-hour solution would probably involve something that dumps out the page text from the MySQL database into a single text file for each page. With this, we can use command line tools like grep to efficiently find what we need.
      • Tasks like finding all the queries that don't return any results may be rather complicated, especially since we likely have 100,000+ queries on the site, and I'm not sure of an easy way to check all of them without evaluating them one by one.
    • The SMW community actually brought up this need at the last meeting, and whatever we develop should be communicated back to them. This wasn't just about Sparql queries, but it was also in reference to their ASK queries which are a bit more limited in their expressive power.

[edit] Queries that use the page name

  • http://enipedia.tudelft.nl/wiki/Avr_Holding has the page on Afval Verwerking Rijnmond.
    • this was generated from the data stored in Enipedia
    • however, the correct name would be AVR Holding NV (instead of Avr Holding)
    • how to change the page name & sync with the database? GerardDijkema
    • The template is set up now to list all the facilities, and one way is to change name on each of these pages. I've also renamed the Avr Holding page to AVR Holding NV. ChrisDavis 23:02, 23 March 2011 (CET)

Link

"http://enipedia.tudelft.nl/sparql?default-graph-uri=&query=select+%3Ftitle+%3Fplant+%3FCapacityMW+sql%3AGROUP_CONCAT%28replace%28substr%28str%28%3Ffuel_type%29%2C33%29%2C%22_%22%2C%22+%22%29%2C%22%2C+%22%29+as+%3Ffuel_types+%3FOutputMWh+%3FCO2kg+%3FIntensityKgMWh+%3Flat+%3Flon+from+%3Chttp%3A%2F%2Fenipedia.tudelft.nl%2Fwiki%2F%3E+%7B%0A%3Ftitle+rdfs%3Alabel+%3Fplant+.+%0A%3Ftitle+rdf%3Atype+cat%3APowerplant+.%0A%3Ftitle+prop%3ALatitude+%3Flat+.+%0A%3Ftitle+prop%3ALongitude+%3Flon+.+%0A%3Ftitle+prop%3ACountry+%3Chttp%3A%2F%2Fenipedia.tudelft.nl%2Fwiki%2FGermany%3E+.%0Aoptional+%7B+%3Ftitle+prop%3AAnnual_Carbonemissions_kg+%3FCO2kg+%7D+.%0Aoptional+%7B+%3Ftitle+prop%3AAnnual_Energyoutput_MWh+%3FOutputMWh+%7D+.%0Aoptional+%7B+%3Ftitle+prop%3AIntensity_kg_CO2_per_MWh_elec+%3FIntensityKgMWh+%7D+.%0Aoptional+%7B+%3Ftitle+prop%3AGeneration_capacity_electrical_MW+%3FCapacityMW++%7D+.%0AOPTIONAL+%7B+%3Ftitle+prop%3AFuel_type+%3Ffuel_type+%7D.+%0A%7D+group+by+%3Fplant+%3Ftitle+%3FCapacityMW+%3FOutputMWh+%3FCO2kg+%3FIntensityKgMWh+%3Flat+%3Flon+%0Aorder+by+desc%28%3FCapacityMW%29+desc%28%3FOutputMWh%29&format=text%2Fhtml&timeout=0&debug=on"

Fails because of timeout. Works for small countries but not for e.g. Germany, Spain, Italy...

I made a few changes and this should be working now. Let me know if you run into further problems. --ChrisDavis (talk) 14:44, 22 October 2015 (CEST)

Doesn't seem to work,now even Monaco results time out error...

(2nd try) It turns out that I had to upgrade the database to fix a bug related to this. If you still see the old page, then you need to clear the cache. You can also do this by clicking the downward pointing triangle to the right of "View history" (top right of page) and then clicking on "Refresh". I've tested this on some of the pages below. --ChrisDavis ([[User

talk:ChrisDavis|talk]]) 16:00, 23 October 2015 (CEST)

Seems to work but returns only 200 sites instead of all sites...

[edit] TODO

  • Check if simply renaming the page is enough to fix references to that page contained on other pages (see above). If this is not enough, then this should be documented on the SparqlExtension page.
  • Need way to find all the queries in use on the wiki in order to systematically fix some of the known issues.

[edit] New Issues

  • cant save modifications to location. changing the map location returns errors "Error: A MediaWiki extension prevented the modification of the target page."
    • Also flags change in location as using external links.
    • I think this is related to the captcha being entered in incorrectly. Can you verify if this is the case? --ChrisDavis (talk) 10:11, 30 January 2014 (CET)
  • The Power Plant Output (MWh) vs CO2 Emissions (Tons) on the Country/Powerplants page is not showing up (Win7, Chrome). However, the SparQL query seems to produce results just fine. Something wrong with the visualisation? It looks like SGVizler is supposed to be used, however, on the Special:Version page I can only find Graphviz. BertvanDorp (talk) 17:33, 16 April 2014 (CEST)
    • Not sure what you mean: its displaying well here (also Win7 and Chrome). This visualization is in fact using Google charts as elsewhere in the page, namely Google's motion chart which uses flash player for rendering. Is it possible this is your issue? Nono (talk) 20:53, 16 April 2014 (CEST)
      • I guess I found something, both in Chrome v34.0.1847.116 and IE10 it doesn't display. In Chrome these errors show up:

GET http://enipedia.tudelft.nl/scripts/sgvizler.js,q543.pagespeed.jm.1rlce22EGC.js/lib/d3.v2.min.js?_=1397678738322 404 (Not Found) GET http://enipedia.tudelft.nl/scripts/sgvizler.js,q543.pagespeed.jm.1rlce22EGC.js/lib/raphael-dracula.pack.min.js?_=1397678738359 404 (Not Found) GET http://enipedia.tudelft.nl/scripts/sgvizler.js,q543.pagespeed.jm.1rlce22EGC.jssgvizler.chart.css 404 (Not Found) Uncaught TypeError: Cannot read property 'toLowerCase' of undefined ext.headertabs.core.js:36. Apperently, there's something with working with 'toLowerCase' in the JS library or some files are unavailable (due to caching?). We can test this by changing the references to common references in use by an address like Google, or implement (test first?) sgvizler 0.6 from here. I will try and access this from others addresses tomorrow. BertvanDorp (talk) 22:16, 16 April 2014 (CEST)

    • SGVizler is not actually used on the site. It was included by Chris only as a test after I suggested looking into it as an alternative here. Is the Google sample working for you? --Nono (talk) 14:23, 17 April 2014 (CEST)
    • I'm on a different computer, different place and the visualisation still doesn't show up in IE and Chrome. The Google sample mentioned by Nono however does work.
Personal tools
Namespaces

Variants
Actions
Navigation
Portals
Advanced
Toolbox