[Cartoweb-users] unable to generate pdf

Oliver Christen oliver.christen at camptocamp.com
Tue Dec 11 02:00:15 EST 2007


Hi

aside from adding some debug print and print_r along the way of execution so you can pinpoint exactly where the error occure, I dont know.

regards
Oliver
  ----- Original Message ----- 
  From: Kurt Menke 
  To: cartoweb-users at lists.maptools.org 
  Sent: Monday, December 10, 2007 7:37 PM
  Subject: [Cartoweb-users] unable to generate pdf


  Hello,

  I posted earlier about a pdf issue and I still have not resolved it.  I have Cartoweb 3.4 running on a Debian machine.  I cannot get the export pdf plugin to work for any of the demo projects or the project I'm working on.

   

  I've set up the debugger and logging.  When I attempt to export to pdf Cartoweb returns an empty project.php file.

   

  The pdf's are not being generated in the generate/pdf folder.

   

  The debugger does not return an error.

   

  The apache log though contains a segmentation fault (11) for each attempt:

   

  [Mon Dec 10 11:15:20 2007] [notice] child pid 23229 exit signal Segmentation fault (11)

   

  Does anyone know either what may be going on or how I can debug this further?  Thanks so much.

   

  Some of the Cartoweb logging is below.

  Thanks so much,

  Kurt

   

   

  Beginning of a Cartoweb log for an attempt:

  Mon Dec 10 11:14:35 2007,017 [23143] DEBUG ClientProjectHandler - current project is cwa

  Mon Dec 10 11:14:35 2007,017 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/location/client/ClientLocation.php

  Mon Dec 10 11:14:35 2007,018 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/location/common/Location.php

  Mon Dec 10 11:14:35 2007,024 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/layers/client/ClientLayers.php

  Mon Dec 10 11:14:35 2007,024 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/layers/common/Layers.php

  Mon Dec 10 11:14:35 2007,033 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/images/client/ClientImages.php

  Mon Dec 10 11:14:35 2007,033 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/images/common/Images.php

  Mon Dec 10 11:14:35 2007,037 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/query/client/ClientQuery.php

  Mon Dec 10 11:14:35 2007,037 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/query/common/Query.php

  Mon Dec 10 11:14:35 2007,041 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/tables/client/ClientTables.php

  Mon Dec 10 11:14:35 2007,042 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/tables/common/Tables.php

  Mon Dec 10 11:14:35 2007,048 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/statictools/client/ClientStatictools.php

  Mon Dec 10 11:14:35 2007,048 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/statictools/common/Statictools.php

  Mon Dec 10 11:14:35 2007,050 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/outline/client/ClientOutline.php

  Mon Dec 10 11:14:35 2007,050 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/outline/common/Outline.php

  Mon Dec 10 11:14:35 2007,055 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/exportPdf/client/ClientExportPdf.php

  Mon Dec 10 11:14:35 2007,055 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/exportPdf/common/ExportPdf.php

  Mon Dec 10 11:14:35 2007,066 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/mapOverlay/client/ClientMapOverlay.php

  Mon Dec 10 11:14:35 2007,067 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/mapOverlay/common/MapOverlay.php

  Mon Dec 10 11:14:35 2007,068 [23143] DEBUG Cartoclient - client context loaded (from session, or new)

  Mon Dec 10 11:14:35 2007,069 [23143] DEBUG I18n::setLocale - LANG: $_COOKIE[langCookie] = en

  Mon Dec 10 11:14:35 2007,069 [23143] DEBUG I18nGettext::bindtextdomain - LANG: binddomain cwa.cwa.cwa /var/www/apache2-default/cartoweb3/locale/

  Mon Dec 10 11:14:35 2007,070 [23143] DEBUG I18nGettext::textdomain - LANG: textdomain cwa.cwa.cwa

  Mon Dec 10 11:14:35 2007,071 [23143] DEBUG MapInfoCache - not caching mapInfo, calling computeMapInfo

  Mon Dec 10 11:14:35 2007,078 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/location/server/ServerLocation.php

  Mon Dec 10 11:14:35 2007,079 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/location/common/Location.php

  Mon Dec 10 11:14:35 2007,085 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/layers/server/ServerLayers.php

  Mon Dec 10 11:14:35 2007,085 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/layers/common/Layers.php

  Mon Dec 10 11:14:35 2007,089 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/images/server/ServerImages.php

  Mon Dec 10 11:14:35 2007,090 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/images/common/Images.php

  Mon Dec 10 11:14:35 2007,092 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/query/server/ServerQuery.php

  Mon Dec 10 11:14:35 2007,092 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/query/common/Query.php

  Mon Dec 10 11:14:35 2007,095 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/tables/server/ServerTables.php

  Mon Dec 10 11:14:35 2007,095 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/tables/common/Tables.php

  Mon Dec 10 11:14:35 2007,096 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/coreplugins/mapquery/server/ServerMapquery.php

  Mon Dec 10 11:14:35 2007,097 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/coreplugins/mapquery/common/Mapquery.php

  Mon Dec 10 11:14:35 2007,099 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/hilight/server/ServerHilight.php

  Mon Dec 10 11:14:35 2007,099 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/hilight/common/Hilight.php

  Mon Dec 10 11:14:35 2007,101 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/outline/server/ServerOutline.php

  Mon Dec 10 11:14:35 2007,102 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/outline/common/Outline.php

  Mon Dec 10 11:14:35 2007,104 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/mapOverlay/server/ServerMapOverlay.php

  Mon Dec 10 11:14:35 2007,105 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/mapOverlay/common/MapOverlay.php

  Mon Dec 10 11:14:35 2007,110 [23143] DEBUG PluginManager - trying to load class /var/www/apache2-default/cartoweb3/plugins/exportPdf/server/ServerExportPdf.php

  Mon Dec 10 11:14:35 2007,110 [23143] DEBUG PluginManager - /var/www/apache2-default/cartoweb3/plugins/exportPdf/common/ExportPdf.php

  Mon Dec 10 11:14:35 2007,112 [23143] DEBUG MapInfoCache - not caching mapInfo, calling computeMapInfo

  Mon Dec 10 11:14:35 2007,243 [23143] DEBUG InitProviderHelper - Calling getInit for plugin ServerLocation

  Mon Dec 10 11:14:35 2007,245 [23143] DEBUG InitProviderHelper - Calling getInit for plugin ServerLayers

  Mon Dec 10 11:14:35 2007,340 [23143] DEBUG InitProviderHelper - Calling getInit for plugin ServerOutline

  Mon Dec 10 11:14:35 2007,347 [23143] DEBUG InitProviderHelper - Calling getInit for plugin ServerExportPdf

  Mon Dec 10 11:14:35 2007,347 [23143] DEBUG ServerExportPdf - setting exportPdf init

  Mon Dec 10 11:14:35 2007,348 [23143] DEBUG Cartoclient - Using 'default' initialMapState, detected from INI file.

  Mon Dec 10 11:14:35 2007,348 [23143] DEBUG Cartoclient - Loading existing session

  Mon Dec 10 11:14:35 2007,349 [23143] DEBUG SessionableHelper - true

  Mon Dec 10 11:14:35 2007,349 [23143] DEBUG ClientLocation - loading session:

  Mon Dec 10 11:14:35 2007,349 [23143] DEBUG ClientLocation - LocationState::__set_state(array(

   

   

  End of Cartoweb log for an attempt:

   

  Mon Dec 10 11:15:06 2007,821 [23229] DEBUG ClientExportPdf - ClientExportPdf::handleHttpPostRequest

  Mon Dec 10 11:15:06 2007,822 [23229] DEBUG ClientExportPdf - processing exportPdf request

  Mon Dec 10 11:15:06 2007,828 [23229] DEBUG ClientExportPdf - ClientExportPdf::setGeneral

  Mon Dec 10 11:15:06 2007,829 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,829 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,830 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,830 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,830 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,831 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,831 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,831 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,832 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,832 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,833 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,833 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,834 [23229] DEBUG ClientExportPdf - ClientExportPdf::createBlock

  Mon Dec 10 11:15:06 2007,834 [23229] DEBUG ClientExportPdf - REQUEST:

  Mon Dec 10 11:15:06 2007,834 [23229] DEBUG ClientExportPdf - array (.

   

   

   

   

  Mon Dec 10 11:15:06 2007,837 [23229] DEBUG ClientExportPdf - ClientExportPdf::output

  Mon Dec 10 11:15:06 2007,838 [23229] DEBUG ClientExportPdf - ClientExportPdf::getExport

   

   

   

   

  *************************************

  Kurt A. Menke, GISP

  GIS Analyst/Programmer

  Earth Data Analysis Center

  MSC01 1110

  1 University of New Mexico

  Albuquerque, NM 87131-0001

  Ph: 505-277-3622 x239

  Fax: 505-277-3614

   



------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071211/481b0f04/attachment-0001.html


More information about the Cartoweb-users mailing list