Myths on Maps

  • Log in
  • « Work Done January 15th
  • Work Done Jan 15 »

Debugging problems

Posted by gregster on 15 Jan 2015 in Activity log, Documentation

If you get a retrieval error (signified by a never-ending 'Retrieving data...' notice) AND you want to help me figure out the problem, do this:

If the problem is with a place (in this case, the place is Lyktos), go here:
http://tomcat-stable.hcmc.uvic.ca:8080/myths/apps/mom/site/helpers/place.xql?id=lyktos
You should get back info on the place Lyktos in XHTML format. Change the xml:id to get a different place.

There are similar tools for each data type:
http://tomcat-stable.hcmc.uvic.ca:8080/myths/apps/mom/site/helpers/character.xql?id=hercules
http://tomcat-stable.hcmc.uvic.ca:8080/myths/apps/mom/site/helpers/group.xql?id=argonauts
http://tomcat-stable.hcmc.uvic.ca:8080/myths/apps/mom/site/helpers/event.xql?id=event_3

For each one, you need to provide the xml:id of the problematic entry (e.g. hercules, argonauts, and event_3).

In the case of Lyktos, and at the time of writing, the response was:

<exception>
<path>/db/apps/mom/site/helpers/place.xql</path>
<message>
exerr:ERROR Type mismatch: the actual type of parameter 1 does not match the type declared in the signature of function: round-half-to-even($arg as numeric?, $precision as numeric?) numeric. Required type: numeric, got xs:string. [at line 230, column 124, source: /db/apps/mom/site/helpers/place.xql]
</message>
</exception>

This entry was posted by Greg and filed under Activity log, Documentation.

Myths on Maps

This project will focus on deploying an interactive map of Europe with overlays for Greek and Roman myths, history, people and events.
SVN instructions for MoM editors
Development URL
HCMC Blogs home
  • Archives
  • Categories

Search

XML Feeds

  • Atom: Posts
  • RSS 2.0: Posts
What is RSS?

This collection ©2023 by admin • Help • Secure CMS