Following upgrade to the latest Debian package (0.59-1) my Openguide is failing. Running it directly, I get the not terribly helpful:
simon@stout:/etc/openguides/default$ /usr/lib/cgi-bin/openguides/wiki.cgi Floating point exception
I've tried fiddling with the epsilloid setting, without success.
Ideas?
Here's my wiki.conf (passwords edited out):
# what type of database do you want the site to run on? postgres/mysql/sqlite dbtype = sqlite
# What name does the database have? (If SQLite, enter the full filename) dbname = /var/lib/openguides/sqlite/default.db
# ...the database user that can access that database? dbuser = not-used
# ...the password that they use to access the database? dbpass = not-used
# ...the machine that the database is hosted on? (blank if local) dbhost = not-used
# What do you want the script to be called? script_name =
# what directory contains the standard templates? template_path = /usr/share/openguides/templates
# where should I look for custom templates? custom_template_path = /etc/openguides/default/templates
# What URL does the install directory map to? script_url = http://engineer.openguides.org/
# Do you want to use Plucene for searching? use_plucene = 1
# What directory can I use to store indexes in for searching? ***NOTE*** This directory must exist and be writeable by the user that your script will run as. See README for more on this. indexing_directory = /var/lib/openguides/indexes/default/
# Do you want to enable page deletion? enable_page_deletion = 1
# Please specify a password for the site admin: admin_pass = yeahlikeidleavethathere
# What's the URL of the site's stylesheet? # This is not provided by this Debian package! stylesheet_url = http://stout.rumble.net/openguides/engineer.css
# What's the site called? (should be unique) site_name = The Tourist Engineer
# Do you want the navigation bar included on the home page? navbar_on_home_page = 1
# Do you want the ten most recent changes included on the home page? recent_changes_on_home_page = 1
# Do you want the content to appear above the navbar in the HTML? content_above_navbar_in_html = 1
# What should the home page of the wiki be called? home_name = Home
# How would you describe the site? site_desc = The Tourist Engineer
# What city is the site based in? default_city = London
# What country is the site based in? default_country = United Kingdom
# What language will the site be in? (Please give an ISO language code.) default_language = en
# Contact email address for the site administrator? contact_email = openguides@rumble.net
# What's the name of the node to use for the text formatting rules link? formatting_rules_node = Text Formatting Examples
# Make node titles link to node backlinks (C2 style)? backlinks_in_title = 0
# Distance calculation methods available are: 1) British National Grid 2) Irish National Grid 3) UTM ellipsoid. Which would you like to use? geo_handler = 3
# Which ellipsoid do you want to use? (eg 'Airy', 'WGS-84') # This is only used if you select geo_handler = 3 above ellipsoid = WGS-84
# Do you have a Google Maps API key to use with this guide? If you enter it here the Google Maps functionality will be automatically enabled. gmaps_api_key = ABQIAAAA_hRpLOJJ_ScEX06ooX7pSBSXLzrKmNKzpvJyrJ-WFxDu_E1j9xTk6_rP_17gRIe4rgvV-45p_9GHIQ
# What is the longitude of the centre point of a map to draw for your guide? (This question can be ignored if you aren't using Google Maps) centre_long = 30
# What is the latitude of the centre point of a map to draw for your guide? (This question can be ignored if you aren't using Google Maps) centre_lat = 14
# What default zoom level shall we use for Google Maps? (This question can be ignored if you aren't using Google Maps) default_gmaps_zoom = 16
# What default zoom level shall we use for Google Maps in the search results? (This question can be ignored if you aren't using Google Maps) default_gmaps_search_zoom = 5
# Would you like to display a Google Map on every node that has # geodata? (This question can be ignored if you aren't using Google # Maps)
show_gmap_in_node_display = 1
# Forcibly treat stored lat/long data as if they used the WGS84 ellipsoid? force_wgs84 = 0
# Do you have a Google Analytics key to use with this guide? If you # enter it here, then Google Analytics functionality will be # automatically enabled. google_analytics_key = UA-1715941-1
# What licence will you use for the guide? licence_name = Creative Commons Attribution-ShareAlike 2.0
# What is the URL to your licence? licence_url = http://creativecommons.org/licenses/by-sa/2.0/
# What is the URL to your local page about your licensing policy? #licence_info_url = http://www.example.com/
# Is the admin password required for moderating pages? moderation_requires_password = 1
# Should nodes be allowed to have an externally hosted image? enable_node_image = 1
# Do you want a common list of categories shown on all node pages? enable_common_categories = 1
# Do you want a common list of locales shown on all node pages? enable_common_locales = 1
# Do you want the "Random Page" link to avoid returning a locale page? random_page_omits_locales = 0
# Do you want the "Random Page" link to avoid returning a category page? random_page_omits_categories = 0
# What module would you like to use for spam detection? (optional) spam_detector_module =
# Should we send email notifications when a moderated node is edited? send_moderation_notifications = 1
On Wed 10 Oct 2007, Rev Simon Rumble simon@rumble.net wrote:
Following upgrade to the latest Debian package (0.59-1) my Openguide is failing. Running it directly, I get the not terribly helpful:
simon@stout:/etc/openguides/default$ /usr/lib/cgi-bin/openguides/wiki.cgi Floating point exception
Blimey. I suspect something related to one of the other CPAN modules that OpenGuides uses. Looks XSey to me. I think you probably meant to send this to openguides-dev - would probably get more useful info there?
Kake
This one time, at band camp, Kake L Pugh wrote:
Blimey. I suspect something related to one of the other CPAN modules that OpenGuides uses. Looks XSey to me. I think you probably meant to send this to openguides-dev - would probably get more useful info there?
Actually it looks like a Debian perl thing... Also getting the same error from my blog (blosxom) though not all perl programs.
There's a megabyte or so strace here, from running wiki.cgi. Looks like it's loading the modules fine, but then breaks. Anyone with Perl and strace voodoo?
http://www.rumble.net/stuff/strace
openguides-london@lists.openguides.org