__group__ ticket summary component version milestone type owner status created _changetime _description _reporter Active Tickets 168 Add missing makefile.vc for zoo-api/mono zoo-api task reluc new 2019-01-29T19:37:27+01:00 2019-01-29T19:37:27+01:00 jmckenna Active Tickets 68 COOKIE gesture in ZOO-Kernel zoo-kernel 1.2.0 defect djay assigned 2011-10-12T12:48:40+02:00 2011-10-12T13:18:04+02:00 "I'm using a ZOO-Service able to authenticate users to a ZOO-Kernel instance. Even if ZOO-Kernel is correctly handling cookies content, recent browser seems to add special cookies to each requested pages. So it imply I lost my authentication as ZOO-Kernel is supposing that only the first key value pair is storing the session id. I think a good solution can be to search in the cookies send to the ZOO-Kernel if the key contains the ""ID"" string, if yes then use its value as session id to store session information on the server side else there is no session to consider. " djay Active Tickets 11 Kernel segfaults when metapath parameter is missing from request zoo-kernel 1.0 defect reopened 2010-08-24T13:50:42+02:00 2010-10-29T15:36:36+02:00 "More specifically - When {{{ServiceProvider}}} and {{{metapath}}} parameters are not present, it will complain that {{{ServiceProvider}}} is missing When {{{ServiceProvider}}} is present, but {{{metapath}}} is not, kernel segfaults. When {{{metapath}}} is present, but {{{ServiceProvider}}} is not, it will silently abort in the middle of the output. The result may look like this: {{{ 80 +Content-Type: text/xml; charset=utf-8 Status: 200 OK }}} All of the above should yield a correct xml error message." relet Active Tickets 36 Create zoo-demo package for MapServer Documentation defect jmckenna new 2011-06-18T00:11:29+02:00 2013-06-27T09:44:27+02:00 " - in hopes of creating a zoo-demo package for MS4W, Gerald provided me with the following: http://zoo-project.org/dl/zoo-demo-ms.zip - the package should contain a local openlayers.js file (and any img/css files need by OL) I was not able to get this working on my local Windows machine. (I am able to display my local mapfile in that viewer...but I am unable to select a feature or use any tools) " jmckenna Active Tickets 52 WSDL url is not available from GetCapabilities zoo-kernel defect new 2011-07-26T16:11:12+02:00 2013-06-27T09:44:27+02:00 As there is no WSDL support in the ZOO-Kernel currently, the Capabilities response doesn't include any url to access the WSDL document. djay Active Tickets 69 Behavior when ZOO-Kernel is unable to access the files using References Development platform defect new 2011-10-28T13:28:59+02:00 2013-06-27T09:44:27+02:00 "Following issues faced by users when the files passed by reference cannot be accessed by the ZOO-Kernel (for any kind of reason, the server is unreachable for instance) then it should return an exception report rather than considering that as the input was providen in the request it should be filled witht the downloaded file. This sould solve the issue presented in this thread : http://gisws.media.osaka-cu.ac.jp/pipermail/zoo-discuss/2011-October/000921.html" djay Active Tickets 2 GIS GRASS integration zoo-kernel 1.0 enhancement soeren new 2010-05-25T13:19:14+02:00 2010-05-25T13:19:14+02:00 "I have implemented a proof of concept to attach GIS GRASS as processing back-end to ZOO WPS. The approach is quite generic. There is (hopefully) no need to implement a single line of code to attach a grass module as WPS service. Everything is automatically generated and works with grass7. '''The principle:''' Based on the grass module WPS XML description [0], which must be generated for the module in gis grass7, a zcfg file and a python service file are generated. The generator is available here [1]. There is also a grass XML WPS to YAML generator available for future use [2]. The zcfg file should work out of the box, but it can of course be modified to your needs. Automatically generated python service file example for v.voronoi: {{{ import ZOO_Project.ZOOGrassModuleStarter as zoo def v_voronoi(m, inputs, outputs): service = zoo.ZOOGrassModuleStarter() service.fromMaps(""v.voronoi"", inputs, outputs) return 1 }}} '''How it works?''' The generated python service file instantiates an object of the class ZOOGrassModuleStarter [3], passing the input and output maps. This class is derived from GrassModuleStarter [4], which is a framework to start gis grass modules based on external data. The ZOOGrassModuleStarter will write the input data located in the input map to a temporary directory, so grass can import/link it. Then a gis grass location based on the first input is generated. Then the grass module will be executed and the result will be exported and written into the output map, so the zoo kernel can handle it. '''What to modify?''' To get the ZOOGrassModuleStarter to work properly, some paths must be set in the header section. This is an ""works for me"" example: {{{ # !!!!! EDIT THIS SECTION !!!!! # Some default variables. Override them to your needs. WORKDIR=""/tmp"" OUTPUTDIR=""/tmp"" LOGFILE=""logfile.txt"" LOGFILE_MODULE_STDOUT=""logfile_module_stdout.txt"" LOGFILE_MODULE_STDERR=""logfile_module_sterr.txt"" GRASS_GIS_BASE=""/home/soeren/src/grass7.0/grass_trunk/dist.i686-pc-linux-gnu"" GRASS_ADDON_PATH=""/home/soeren/src/vtkGRASSBridge/vtk-grass-bridge/WPS/Testing/Python/GrassAddons"" GRASS_VERSION=""7.0.svn"" # !!!!! END EDIT SECTION !!!!! }}} These settings are used by all automatically generated grass python services. They may change in future! '''Example installation:''' I have attached a tar.gz archive containing the Python code of the ZOOGrassModuleStarter frame-work and sample zcfg files + service python files. Just copy the content into your cgi directory, modify the main.cfg and the ZOOGrassModuleStarter.py in ZOO_Project and install PyXB [5]. Python 2.6, PyXB and a valid grass7 installation are the only dependencies. The simple grass modules r.add, r.mult, r.div and r.sub are available here [6]. Thy are not part o grass7. Obstacles: * The zcfg files may contain letters which are not supported or wrongly interpreted by the zoo kernel. This is related to parameter descriptions of grass modules, which make use of .,/() and so on. * ZOO kernel automatically sets obligatorily variables, even if no default value is specified. I will report this in a different ticket. Enjoy and good Luck [0] http://grass.osgeo.org/wiki/WPS [1] http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/WPS/ZOO_Project/GrassXMLtoZCFG.py [2] http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/WPS/ZOO_Project/GrassXMLtoYAML.py [3] http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/WPS/ZOO_Project/ZOOGrassModuleStarter.py [4] http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/WPS/GrassModuleStarter.py [5] http://pyxb.sourceforge.net/ [6] http://code.google.com/p/vtk-grass-bridge/source/browse/#svn/trunk/WPS/Testing/Python/GrassAddons" soeren Active Tickets 4 Using YAML config file Development platform 1.0 enhancement new 2010-05-25T15:04:59+02:00 2010-11-16T18:16:11+01:00 "This topic has been discussed on the ZOO project IRC channel, but i would like to make an official request to discuss this in the trac system. :) It would be very practical to use YAML config files instead of the current zcfg files for service description. The current approach is partly too restrictive. YAML would be a huge benefit. To convert existing XML process descriptions into the YAML format, a python module is available: http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/WPS/ZOO_Project/GrassXMLtoYAML.py To run the script python YAML [1] and PyXB [2] must be installed. This script has been tested with GIS GRASS generated XML WPS process description files only. [1] http://pyyaml.org/ [2] http://pyxb.sourceforge.net/" soeren Active Tickets 34 support for W*S output zoo-kernel enhancement new 2011-06-17T15:14:39+02:00 2013-06-27T09:44:27+02:00 New feature to support WMS, WFS and WCS output lucadelu Active Tickets 51 Requests cache zoo-kernel enhancement new 2011-07-26T16:00:12+02:00 2013-06-27T09:44:27+02:00 When running several Services using the same inputs xlink:href value, ZOO-Kernel download again and again the same resulting data. It should be better to get an internal cache mechanism which permit the ZOO-Kernel to reuse previously downloaded data. djay Active Tickets 70 IE 9 issue with site style Documentation defect jmckenna new 2011-11-17T09:26:08+01:00 2011-11-17T09:26:08+01:00 "I know it is strange that I am the guy which discover that, but this morning using the IE9 browser I discovered that we cannot access the menu on hover on the main menu item (like 'ZOO Project', 'Components' and so on). Hope we can solve this" djay Active Tickets 77 MapServer 6.2.0 raster output Development platform defect new 2013-03-25T19:44:28+01:00 2013-03-25T19:44:28+01:00 "This morning when updating from !MapServer 6.0.3 to 6.2.0 I faced issue when trying to output raster data as WMS. The backtrace is as the following : {{{ Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008 0x000000010001bfc0 in setMsExtent () (gdb) bt #0 0x000000010001bfc0 in setMsExtent () #1 0x000000010001e080 in tryGdal () #2 0x000000010001f625 in outputMapfile () #3 0x000000010001a909 in setReferenceUrl () #4 0x0000000100014861 in outputResponse () #5 0x00000001000088e5 in runRequest (request_inputs=0x102c16b70) at zoo_service_loader.c:2277 #6 0x000000010000253d in cgiMain () at zoo_loader.c:330 #7 0x0000000100032e7a in main (argc=2, argv=0x7fff5fbffab8) at cgic.c:312 }}} ref. #34" djay Active Tickets 85 Wrong values assigned to optional input parameters zoo-kernel defect new 2014-02-10T13:07:28+01:00 2014-02-12T15:37:40+01:00 "In the attached example (Example.zcfg and example.cpp), there are three input parameters: optional_complex_type, optional_literal, and mandatory_literal (default: ""mandatory_literal_default""). The parameter optional_literal does not have a default value, as this is not required for LiteralData according to the OGC WPS specification. The example code simply dumps the content of each corresponding input map to file. The request {{{ service=WPS&version=1&request=Execute&Identifier=Example&DataInputs=mandatory_literal=example&ResponseDocument=Dummy@mimeType=text/xml&storeExecuteResponse=true&status=false }}} (no optional data given, and status=false) yields the following input maps: {{{ [optional_literal] minOccurs = 0 maxOccurs = 1 DataType = string value = mandatory_literal_default inRequest = false }}} {{{ [optional_complex_type] minOccurs = 0 maxOccurs = 1 mimeType = text/xml encoding = UTF-8 inRequest = false value = NULL }}} {{{ [mandatory_literal] value = example }}} Note: Here optional_literal has been assigned the default value for mandatory_literal. Running the above request with status=true instead yields the following input maps: {{{ [optional_literal] value = 0 DataType = string minOccurs = 0 maxOccurs = 0 inRequest = true }}} {{{ [optional_complex_type] value = 0 mimeType = text/xml encoding = UTF-8 minOccurs = 0 maxOccurs = 0 inRequest = true }}} {{{ [mandatory_literal] value = example }}} Note: Here optional_literal and optional_complex_type both have the attribute inRequest=true although they are not included in the request, and both have been assigned the value ""0"". These tests were performed on a Windows 7 system. The behavior in the second case (status=true) may be Windows-specific, but it may also be related to this ticket: http://zoo-project.org/trac/ticket/75. There should be a safe way to determine whether an optional parameter is in the request or not. " Knut Landmark Active Tickets 91 addMapToMap function zoo-kernel defect new 2014-04-02T11:33:24+02:00 2014-04-02T11:33:24+02:00 "The `addMapToMap(map** mo, map* mi)` function (service.h) should append `mi` to the last node in `mo`. However, the function does not work as intended. In the following code fragment, the pointer `_cursor` is detached from the linked list `mo` when `createMap` is called. As a consequence, `addMapToMap` only modifies `mo` when `*mo == NULL`. {{{ map* _cursor=*mo; /* .... */ while(_cursor!=NULL) _cursor=_cursor->next; _cursor=createMap(tmp->name,tmp->value); // _cursor no longer points to node in mo linked list _cursor->next=NULL; // superfluous }}} This problem affects, in the least, the support for PHP. See specifically the function `map* php_map_from_HasTable(HashTable* t)` (service_internal_php.c): The line {{{ addMapToMap(&final_res, createMap(key,Z_STRVAL(tmpcopy))); }}} occurs inside a loop over the attributes of an output variable, but a node will only be added to `final_res` in the first iteration of the loop, i.e. only the first attribute will be included. Thus if the first attribute is not `value`, the WPS process fails. I have written a modified `addMapToMap` function (see below) which resolved the problems with our PHP services (it should be verified independently that the modified function works as required). {{{ static void addMapToMap( map** mo, map* mi ) { if ( mo != NULL && mi != NULL ) { map* p_mi = mi; if ( *mo == NULL ) { *mo = createMap( mi->name, mi->value ); p_mi = mi->next; } // move to end of *mo linked list map* p_mo = *mo; while ( p_mo->next != NULL ) { p_mo = p_mo->next; } // add nodes in mi linked list sequentially while ( p_mi != NULL ) { p_mo->next = createMap( p_mi->name, p_mi->value ); p_mi = p_mi->next; p_mo = p_mo->next; } } } }}} " Knut Landmark Active Tickets 112 Status file location error on long processes Development platform defect new 2015-02-06T13:58:12+01:00 2015-03-10T09:09:22+01:00 "When a program specified as the ""serviceProvider"" in the service configuration is located in another folder than the current working directory, the filename of the status file will be wrong. It looks like the generated status filename will be created on the form: {{{$main_conf['main']['tmpPath'] + serviceProvider +'_' + sid +'.xml'}}}. This will cause problems because the folder do not exist. Ex: {{{ [serviceName] serviceProvider = c:/zoo/php/script/foo.php }}} The service folder is: {{{ $main_conf['main']['tmpPath'] = c:/zoo/wps/status }}} The status file will be something like: {{{ c:/zoo/wps/status/c:/zoo/php/script/foo.php_XXXX.xml }}} To use the ""service name"" instead of serviceProvider as status file name will probably solve this issue. " espen Active Tickets 35 Trac notifications on IRC Documentation enhancement jmckenna reopened 2011-06-17T15:39:46+02:00 2011-10-11T16:13:29+02:00 Please add the Trac notification also on IRC channel, as other project like GRASS lucadelu Active Tickets 44 Multilingual sphinx - [FR branch] Documentation enhancement jmckenna new 2011-07-19T12:52:50+02:00 2011-10-12T12:13:30+02:00 "Attached to this ticket, an archive with the restructured /docs folder for multiple languages in Sphinx (provided by Thomas Gratier). It is based on the MapServer docs structure. The fr branch was created and some of the txt files were already translated (thanks!). The svn access should then be granted to Thomas, to allow him to commit this good work. The docs structure would be updated and we could continue to translate the txt files. " nickboz Active Tickets 61 Documentation generation on zoo-project.org Documentation enhancement jmckenna new 2011-08-11T18:46:47+02:00 2011-08-11T18:46:47+02:00 "I know that there is a crontab task which is responsible to regenrerate the documentation every two hours. I wonder if it can't be better to remove this crontab task and add a specific search of modified files in docs directory a commit (in post-commit hook), to automatically call the documentation regeneration task ? This way the server won't regenerate the document when it is not required and we are sure that each updates to docs directory in SVN imply the site web updates without waiting for the end of the 2 hours window. " djay Active Tickets 88 Zoo kernel interface and encapsulation zoo-kernel enhancement new 2014-02-13T11:54:26+01:00 2014-02-13T14:08:16+01:00 "Service implementation with Zoo requires specific knowledge about the Zoo kernel. Here are some examples: 1. To set or get the value of a parameter, the programmer needs to know that Zoo internally attaches a map struct with the name ""value"" to the maps struct representing the parameter, e.g. {{{ map* tmp = getMapFromMaps( inputs, ""Parameter"", ""value"" ); char* value = tmp->value; }}} (The map struct named ""value"" should not be confused with the value field in the map struct.) 2. For output data with binary content types, the programmer must know that Zoo attempts to determine the size of the data buffer from a map struct with the name ""size"", e.g. {{{ int result[4] = { 0, 1, 2, 3 }; char size[16]; snprintf( size, sizeof( size ), ""%d"", sizeof( output ) ); setMapInMaps( outputs, ""Result"", ""size"", size ); setMapInMaps( outputs, ""Result"", ""value"", (char *) result ); }}} If the ""size"" map is missing, Zoo assumes the data is in a text-based format and calls strlen (i.e. searches the for the first 0-byte in the buffer). 3. To update the progress status of a process, the programmer must know that the Zoo kernel refers to a map named ""status"" and a map named ""message"" in a maps struct named ""lenv"" in the configuration maps struct, e.g. {{{ char message[] = ""Progress: 99 %""; char status[] = ""99""; setMapInMaps( conf, ""lenv"", ""status"", status ); setMapInMaps( conf, ""lenv"", ""message"", message); updateStatus( conf ); }}} It should be possible to create a new interface that hides the Zoo kernel internal representations from the service implementation. For example, the above code fragments could perhaps be encapsulated in functions with signatures like {{{ char* getInputValue( maps* inputs, const char* parameterName, size_t* numberOfBytes, int* errorCode ); int setOutputValue( maps* outputs, const char* parameterName, char* data, size_t numberOfBytes ); /* return error code */ int updateStatus( maps* config, int percentCompleted, const char* message ); /* return error code */ }}} " Knut Landmark Active Tickets 90 Illegal characters in configuration files zoo-kernel enhancement new 2014-03-27T11:06:03+01:00 2014-06-27T01:54:17+02:00 "If certain characters that are part of the configuration file grammar, including square brackets and '=', are used in parameter values, a debug assertion failure or segmentation fault occurs (as tested on the Windows 7 platform). For example: {{{ PGConnectionString = dbname=postgres host=localhost }}} or {{{ Abstract = The method returns the computed distance in units of [m] }}} It would be preferable to be able to use arbitrary strings in parameter values, e.g. by means of quotes or escape characters. In addition, the parser should return error messages that enable the service provider to quickly identify the root cause of errors due to configuration file syntax. " Knut Landmark Active Tickets 33 CSS tweak needed to handle long URLs Documentation 1.2.0 defect nickboz new 2011-06-16T21:18:11+02:00 2011-06-16T21:18:11+02:00 " - see problem URL near bottom of this page: http://www.zoo-project.org/docs/kernel/install-windows.html - Sphinx CSS should be modified to handle this" jmckenna Active Tickets 55 Debian / Ubuntu documentation Documentation 1.2.0 defect jmckenna new 2011-07-27T04:39:59+02:00 2011-07-27T04:39:59+02:00 Looking at this page http://zoo-project.org/docs/kernel/install-debian.html I noticed that it speaks about modifying the Makefile from cgi206 but it is no more required. There is also special tricks for using xulrunner libmozdev but this should be solved by [changeset:274 rev.274] (see ticket #42 for more informations and feel free to reopen if anything failed). djay Active Tickets 58 ZOO-API Documentation update Documentation 1.2.0 defect jmckenna new 2011-08-02T14:57:30+02:00 2011-08-02T14:57:30+02:00 "As requested [http://www.zoo-project.org/trac/ticket/43#comment:2 here], I would like to ask for upating the documentation to first introduce the second argument of the {{{ZOO.Process.Execute}}} method and to document the {{{buildOutput}}} and {{{buildDataOutputsNode}}} methods in the same class ({{{ZOO.Process}}}). More details can be found [changeset:274 here]." djay Active Tickets 62 Problem chaining WPS calls Development platform 1.2.0 defect djay new 2011-08-26T15:35:43+02:00 2011-08-26T15:59:31+02:00 "Problem chaining WPS calls reported by Asger ZOO has problems if I don't double encode the embedded url as it then sees a '@' char in the embedded url as the end of the url." nickboz Active Tickets 22 Table of Contents for documentation Documentation 1.2.0 task jmckenna new 2011-04-18T14:45:24+02:00 2011-04-18T14:46:09+02:00 "from nickboz: {{{ Introduction to ZOO-Project ZOO Kernel description (in short) ZOO Services description (in short) ZOO API description (in short) ZOO Tutorial The tutorial should be a lighter version of this: (simplified WS TOC) http://zoo-project.org/trac/wiki/ZooWorkshop/FOSS4GJapan with and simplified text, OSGeoLive 4.5 use and Python language exercises only ZOO Kernel Documentation Installation Unix Prerequisites Getting the code from SVN For the impatient Configure options ZOO on OpenSuse ( see: http://www.zoo-project.org/trac/wiki/ZooDocumentation/ZOOKernel/OpenSUSE_installation) ZOO on CentOS (see: http://www.zoo-project.org/trac/wiki/ZooDocumentation/ZOOKernel/CentOS_installation ) ZOO on Debian/Ubuntu (http://www.zoo-project.org/trac/wiki/ZooDocumentation/ZOOKernel/DebianLike_installation) Win32 (Aka ZOO4W. see http://zoo-project.org/trac/wiki/ZooWebSite/ZooKernel/ZOO4W ) Prerequisites Download and install ZOO kernel Deploy ZOO Services Providers Mac OSX (see http://zoo-project.org/trac/wiki/ZooDocumentation/ZOOKernel/MacOSX_installation ) Prerequisites Compilation Deploy ZOO Services Providers Congiguration option GDAL Support XML2 Support Python Support PHP Support Perl Support Fortran support Java Support JavaScript Support ZOO Services Documentation Introduction What is a ZOO Service ? Description Configuration file The .zcfg Reference (see: http://zoo-project.org/trac/wiki/ZooWebSite/ZooServices/ZCFGReference ) Main metadata informations List of Inputs List of Outputs Type Of Data Nodes LiteralData node BoundingBoxData node ComplexData node Example ZOO Services with code blocks and explanations (see source codes here: http://www.zoo-project.org/trac/browser/trunk/zoo-services) C services GDAL based service example OGR based service example Python service see http://www.zoo-project.org/trac/browser/trunk/zoo-services/hello-py see http://www.zoo-project.org/trac/wiki/ZooDocumentation/ZOOServices Java Service see http://zoo-project.org/trac/browser/trunk/zoo-services/hello-java Perl Service see http://zoo-project.org/trac/browser/trunk/zoo-services/hello-java Fortran service see http://zoo-project.org/trac/browser/trunk/zoo-services/hello-fotran PHP service see http://zoo-project.org/trac/browser/trunk/zoo-services/hello-php JavaScript service see http://zoo-project.org/trac/browser/trunk/zoo-services/hello-js#cgi-env Using GRASS7 support Introduction to WPS-bridge (with link to soeren's project page) List of the GRASS7 supported modules with link to the official GRASS documenation Example generated python code and zcfg with r.xxx module Example generated python code and zcfg with v.xxx module ZOO API Documentation Introduction What is the ZOO API? (see: http://zoo-project.org/trac/wiki/ZooDocumentation/ZOOAPI) ZOO API classes ( see: http://zoo-project.org/trac/ticket/15 . A zip with the API natural doc inside is available) ZOO API examples (see: http://zoo-project.org/trac/wiki/ZooWebSite/ZOOAPI/Examples ) }}}" jmckenna Active Tickets 130 SAGA-GIS Support Development platform 1.4dev enhancement new 2015-04-14T12:18:48+02:00 2015-04-14T12:18:48+02:00 "As we now support Orfeo Toolbox automatically, it would be really great to have similar support for SAGA-GIS. This support would be very similar to the OTB one in the sense that we will need to run an utility pogram to generate the ZCFG files. The main idea is to call SAGA-GIS utilities to import data in SAGA-GIS specific format, then run the SAGA-GIS application as a service and at the end run SAGA-GIS utilities to export data from SAGA-GIS to basic format." djay Active Tickets 162 use of single color osgeo logo Documentation defect jmckenna new 2017-10-19T00:25:46+02:00 2017-10-19T19:16:20+02:00 "I noticed something amazing visiting http://zoo-project.org - a OSGeo logo under related links, this changes to the traditional green colors when your mouse is over the image, but even then the dark green is hard to see; see attached image. To fix the OSGeo logo is available in white or back for use against colored backgrounds: - https://github.com/OSGeo/osgeo/blob/master/marketing/branding/logo/osgeo-logo-bw.svg - https://github.com/OSGeo/osgeo/blob/master/marketing/branding/logo/osgeo-logo-white.svg For more information see the style guide. While the above links are SVGs I am happy to create a PNG is needed. " jgarnett Active Tickets 40 openlayers output zoo-kernel enhancement djay new 2011-07-16T12:01:07+02:00 2013-06-27T09:44:27+02:00 Add the possibility to have openlayers output the idea is instead return the wms/wfs/gml link return a openlayer layers object if it's possible or a string with the code to insert directly inside openlayers code. A possible solution could be to set useOl option in the zcfg file lucadelu Active Tickets 71 explain better the errors zoo-kernel enhancement new 2011-12-07T17:03:02+01:00 2013-06-27T09:44:27+02:00 Maybe the error messages in the output could be a little more clear, for example when a python module it is not found return that the module it is not found. Maybe could be a good idea read the log of apache or somenthing similar lucadelu Active Tickets 23 Documentation search engine Documentation 1.2.0 defect jmckenna assigned 2011-04-20T15:17:46+02:00 2011-04-21T15:03:19+02:00 "When we are using the search engine from the Sphinx documentation, I noticed that the restructured text is displayed rather than HTML which can be easier to read. If there is any way to solve this it can be great. " djay Active Tickets 104 SVN logs on twitter zoo-server 1.4dev defect new 2014-10-08T13:21:41+02:00 2014-10-10T15:10:22+02:00 "I was asked last week to add the SVN log messages on the ZOO-Project Twitter or another one something like ZOO-Project-Dev or something. The idea is to add the messages automatically through script in post-commit hook." djay Active Tickets 170 Problems using single KML point in MapServer service zoo-kernel defect new 2019-02-01T03:12:03+01:00 2019-02-01T03:20:31+01:00 " - single KML test point file: https://demo.gatewaygeomatics.com/zoo-project-demo/demo-pts.kml Problem 1: - generated WFS GetFeature URL never returns any geometry - cause: extent values in several locations of service_internal_ms.c are written in rounded decimals causing problems with the GetFeature request (incorrect ""bbox"" values) - attaching changes to service_internal_ms.c (sorry I think it also includes your earlier patch changes) Problem 2: - Result always fails with the message ""No message provided"" - cause: there seems to be a missing set of if{} brackets in the file response_print.c causing - attaching change to response_print.c" jmckenna Active Tickets 172 HTTPS problem: pointing to WFS service through HTTPS fails for an OGR Buffer service zoo-kernel defect new 2019-06-15T15:24:46+02:00 2019-07-10T14:48:41+02:00 "- example WFS request: https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&typename=continents&SRS=EPSG:4326&FeatureID=continents.1 - Buffer request (works with HTTP, fails with HTTPS): https://ms4w.me/cgi-bin/zoo_loader.cgi?request=Execute&service=WPS&version=1.0.0&Identifier=Buffer&DataInputs=BufferDistance=1@datatype=integer;InputPolygon=Reference@xlink:href=https%3A%2F%2Fdemo.mapserver.org%2Fcgi-bin%2Fwfs%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dcontinents%26SRS%3DEPSG%3A4326%26FeatureID%3Dcontinents.1 - response: {{{ Unable to download the file for the input , response code was : 0. }}} - fails with trunk, and also with old 1.7.0-dev build (which is the link above)" jmckenna Active Tickets 169 Add missing makefile.vc for hello-mono zoo-server task new 2019-01-29T19:40:45+01:00 2019-01-29T19:40:45+01:00 jmckenna Active Tickets 137 serverAddress in main.cfg is not used zoo-kernel defect new 2015-10-29T10:29:37+01:00 2015-10-31T01:52:22+01:00 "Whatever the value I set serverAddress to, I always get the same serviceInstance url in ExecuteResponse. serviceInstance=""http://localhost/cgi-bin/zoo_loader.cgi"" statusLocation=""http://localhost/cgi-bin/zoo_loader.cgi/call/GetStatus/165b68f2-7e1e-11e5-a67b-0800274b466e"" statusLocation should be for example http://localhost/zoo/call/GetStatus/165b68f2-7e1e-11e5-a67b-0800274b466e " scolzy Active Tickets 146 zoo-services installation path zoo-server defect new 2017-01-29T20:39:48+01:00 2017-01-30T09:56:37+01:00 "The `.zo` zoo-services get installed in `/usr/lib/cgi-bin` alongside `zoo_loader.cgi`, but they aren't CGI executables and shouldn't be installed in the cgi-bin directory. Private shared libraries should be installed in `/usr/lib/zoo-project`, see: [http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA Filesystem Hierarchy Standard: /usr/lib : Libraries for programming and packages] The `.zcfg` & `main.cfg` configuration files are likewise installed in the cgi-bin directory where they don't belong. Configuration files should be installed in `/etc/zoo-project`, see: [http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION Filesystem Hierarchy Standard: /etc : Host-specific system configuration] These FHS violations are problematic to get the zoo-project Debian package accepted into the Debian & Ubuntu archives for which there is much stricter quality control than for PPAs (e.g. OSGeo-Live & UbuntuGIS)." sebastic Active Tickets 147 GetStatus transient failure Development platform defect new 2017-03-09T23:54:08+01:00 2017-03-09T23:54:08+01:00 "The Zoo GetStatus service may fail when there is a latency in writing result files to disk. This failure occurs momentarily, and repeated calls to GetStatus will succeed once the service being queried has run to completion. The following example demonstrates this. The service TestLargeOutput runs in a loop for a certain amount of time, then copies the contents of a large file to the Result variable. The first call to GetStatus fails, while the second call returns the final ExecuteResponse document: \\ {{{ >zoo_loader.cgi ""service=WPS&version=1.0.0&request=Execute&Identifier=TestLargeOutput&DataInputs=input=123&ResponseDocument=Result@asReference=true&storeExecuteResponse=true&status=true"" Content-Type: text/xml; charset=utf-8 Status: 200 OK }}} {{{ TestLargeOutput Test PHP This service tests PHP embedding with binary output in ZOO WPS. The service ""TestLargeOutput"" was accepted by the ZOO-Kernel and is running as a background task. Please access the URL in the statusLo cation attribute provided in this document to get the up-to-date status and results. }}} \\ {{{ >zoo_loader.cgi ""request=Execute&service=WPS&version=1.0.0&Identifier=GetStatus&RawDataOutput=Result&DataInputs=sid=572ce348-b201-4c1a-ba49-d916dabb8981"" Content-Type: text/xml; charset=utf-8 Status: 501 Internal Server Error }}} {{{ Unable to run the Service. The message returned back by the Service was the following: ZOO GetStatus Service was unable to parse the cach e xml file available for the Service ID 572ce348-b201-4c1a-ba49-d916dabb8981. }}} \\ {{{ >zoo_loader.cgi ""request=Execute&service=WPS&version=1.0.0&Identifier=GetStatus&RawDataOutput=Result&DataInputs=sid=572ce348-b201-4c1a-ba49-d916dabb8981"" Content-Type: text/xml; charset=UTF-8 Status: 200 OK }}} {{{ TestLargeOutput Test PHP This service tests PHP embedding with binary output in ZOO WPS. The service ""TestLargeOutput"" ran successfully. Result ExecuteResponse document The resulting ExecuteResponse document. }}}" landmark Active Tickets 151 Build zoo-kernel with OTB configured with c++11 Development platform defect new 2017-06-02T12:03:37+02:00 2017-06-02T12:03:37+02:00 "After the configure step, one must add -std=c++11 in the OTBCFLAGS. Else, kernel build fails. " remicress Active Tickets 164 HelloPHP incorrect output with PHP7 zoo-kernel defect new 2019-01-25T22:00:53+01:00 2019-01-25T22:00:53+01:00 " - string returned from HelloPHP service would only contain first character of string - in PHP7 the extra parameter for RETURN_STRING for duplicating the characters is not needed - so instead of: {{{ RETURN_STRINGL(_ss(value), 1); }}} we can use: {{{ RETURN_STRING(_ss(value)); }}}" jmckenna Active Tickets 171 Translation Support errors zoo-kernel 1.6.0-rc1 defect new 2019-02-20T09:36:34+01:00 2019-03-12T15:50:49+01:00 "Dear support, I'm having trouble with the operation of Zoo translations. Installation environment: Docker centos: 7 zoo version: 1.6.0.rv868 The installation phase: gettext recovery and installation curl -o gettext-0.19.8.tar.gz -s ""ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.tar.gz"" make && make install zoo configure: ./configure --with-fastcgi = / usr / lib64 / --with-xml2config = / usr / bin / xml2-config -with-cgi-dir = / var / www / zoo-bin / --with-etc -dir = yes --sysconfdir = / etc / zoo-project make && make install In the Zoo sources in the local / po path msgfmt fr_FR.utf8.po -o /usr/local/share/locale/fr/LC_MESSAGES/zoo-kernel.mo I generated a synchronous Execute request for a job without parameters specifying the language ""fr_FR"" but the error reply was not translated. Thanks for your help Best regards Roberto di Rienzo " rdirienzo Active Tickets 173 """ogr_sp.py"" contains incorrect syntax for Python3" zoo-server defect new 2019-08-31T19:53:41+02:00 2019-09-02T12:34:47+02:00 " - in \zoo-services\ogr\base-vect-ops-py\cgi-env\ - Python OGR services will break with Python3 - attaching updated ""ogr_sp.py"" file for Python3 users - replaces ""libxml2"" with ""lxml"" - ""except Exception as e"" instead of ""except Exception,e""" jmckenna Active Tickets 174 Undeclared variable in zoo_service_loader.c Development platform defect new 2020-02-11T14:57:44+01:00 2020-02-11T14:57:44+01:00 "zoo_service_loader.c does not compile on Windows platform due to an undeclared variable in function initAllEnvironment: See zoo_service_loader.c line 980: status = getMap (request_inputs, ""status""); This variable appears to be unused." landmark Active Tickets 75 empty input value problem Development platform 1.0 enhancement new 2013-03-20T12:31:23+01:00 2013-06-27T09:44:27+02:00 "When a input value is set in the zcfg file as not required we should find a simple way to find if this is set or not. My idea is to convert the input value (for example Python inputs[ ""myInputsName"" ][ ""value"" ]) to che empty value of that language, for example for Python should be None. Thanks Luca" lucadelu Active Tickets 132 Use JSON format for ZCFG files zoo-kernel enhancement new 2015-09-21T03:37:14+02:00 2015-09-21T03:37:14+02:00 "As discussed during this year Code Sprint at FOSS4G 2015 in Seoul with Knut and his team it may be a great addition the ZOO-Project to support the JSON format for the ZCFG files. This way, checking for validity of ZCFG files can be easier as any text editor will tell you if a bracket was not close or something similar. Despite the ZCFG file format is now less restrictive than ever before it is still a good idea to use JSON format for the ZCFG files, so I will try to implement this as an optional support as I did for the YAML support which is still too much complicated for our purpose." djay Active Tickets 133 FTP storage Development platform enhancement new 2015-09-21T10:24:48+02:00 2015-09-21T10:24:48+02:00 "It was asked during this year foss4g 2015 in Seoul that we add the capability to store the result on an external ftp server if possible. " djay Active Tickets 134 Error compiling cgic library Development platform defect new 2015-10-09T17:53:43+02:00 2015-10-09T17:53:43+02:00 "Following installation instructions [1], i get an error at cgic library compilation: gcc -g -Wall -c -o cgic.o cgic.c rm -f libcgic.a ar rc libcgic.a cgic.o ranlib libcgic.a gcc -g -Wall -c -o cgictest.o cgictest.c cgictest.c: In function 'cgiMain': cgictest.c:25:2: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] dup2(cgiOut,stdout); ^ gcc cgictest.o -o cgictest.cgi -L./ -lcgic /usr/lib64/libfcgi.so gcc: error: /usr/lib64/libfcgi.so: No such file or directory make: *** [cgictest.cgi] Error 1 The OS is 64 bits (Linux cc114204a666 3.16.0-50-generic #67~14.04.1-Ubuntu SMP Fri Oct 2 22:07:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux) but there's no /usr/lib64 directory. Here is the file: /usr/lib/libfcgi.so [1] http://zoo-project.org/docs/install/debian.html" aandre Active Tickets 131 Remote processing using SSH and DRMAA suitable for HPC environments zoo-kernel enhancement new 2015-08-17T17:05:04+02:00 2015-08-17T17:05:04+02:00 New zoo service wich can interact with a remote supercomputer, using SSH protocol and a standalone remote application based on DRMAA library remicress Active Tickets 142 Proj4JS and Zoo Project API to access nzgd2kgrid0005.gsb file Development platform enhancement new 2016-09-14T06:29:57+02:00 2016-09-14T10:03:09+02:00 "Hi there I am using zoo project WPS to allow re-projection. I'm aware Zoo project has an API with proj4js built-in. However, I haven't found yet how to pass it the following parameters: +proj=nzmg +lat_0=-41.0000000000 +lon_0=173.0000000000 +x_0=2510000.0000000000 +y_0=6023150.0000000000 +a=6378388 +rf=297 +no_defs +nadgrids=nzgd2kgrid0005.gsb I've instead added the official proj4js.js file and I am trying to re-project from NZMG to NZTM. For source projection I used: +proj=nzmg +lat_0=-41.0000000000 +lon_0=173.0000000000 +x_0=2510000.0000000000 +y_0=6023150.0000000000 +a=6378388 +rf=297 +no_defs +nadgrids=nzgd2kgrid0005.gsb and destination projection I used: +proj=tmerc +lat_0=0.0000000000 +lon_0=173.0000000000 +k_0=0.9996000000 +x_0=1600000.0000000000 +y_0=10000000.0000000000 +a=6378137 +rf=298.257222101 +no_defs +towgs84=0.000,0.000,0.000 I've added in the same directory as the proj4js.js file the nzgd2kgrid0005.gsb file. Can proj4js.js using zoo project API use the nadgrids parameter to access the file locally without using a browser? Does proj4js even support the nadgrids parameter? Thanks," surf9 Active Tickets 165 add date/timestamp to zoo_error.log entries zoo-kernel enhancement new 2019-01-28T20:17:07+01:00 2019-01-28T20:20:08+01:00 " - zoo_loader.cgi will generate zoo_error.log entries - however, the entries lack any reference to when the error occurred (meaning that a large logfile will be impossible to know when the errors occurred) - example problem log entry: {{{ ModuleNotFoundError: No module named 'encodings' }}} - example desired log entry: {{{ [2019-01-28 15:05:30] ModuleNotFoundError: No module named 'encodings' }}}" jmckenna Active Tickets 148 Getting HelloWorldJava working Development platform task new 2017-05-05T05:28:19+02:00 2017-05-11T09:01:24+02:00 "Hi there I've been trying to get the HelloWorldJava working but have been unsuccessful. I execute the following: ./zoo_loader.cgi 'ServiceProvider=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloWorldJava&DataInputs=S=bill' But I get the following error message back: $/$Error occurred during initialization of VM java.lang.StackOverflowError at java.lang.Object.(Object.java:41) I ran command: ldd zoo_loader.cgi I get the following for libjvm.so: libjvm.so => /usr/lib/libjvm.so It's currently a symbolic link to: /usr/lib/jvm/java-7-oracle/jre/lib/amd64/server/libjvm.so* I've tried open-jdk 7, java-7-oracle JDK, and java-8-oracle JDK. I am still getting the same error message. I've tried following the documentation but still unsuccessful. Any help will be appreciated. Thanks, " surf09 Active Tickets 152 How to get jar files included so can be used for Java service api? Development platform task new 2017-06-07T04:32:32+02:00 2017-06-07T09:12:20+02:00 "Hi there I have many jar files I would like to include. My dir for the java api is: /java/purpose Inside the purpose dir I would like to have another folder called dependencies. Inside the dependencies folder I would like to store all the JAR files. I currently have not created the dependencies folder and all files are stored inside the purpose dir. Inside /java/purpose path I have my .class file. The java source code has the following import as an example: import org.geotools.data.FeatureSource; Currently when I try to compile my .java file I get the following error: javac WFSJava.java WFSJava.java:4: error: package org.geotools.data does not exist I've tried setting the CLASSPATH in the terminal using an absolute path to the /java/purpose dir and also tried adding it to the main.cfg using: [env] CLASSPATH=/java/purpose I still get the same error message. Would you have any ideas how I can resolve this? Thanks, " surf9 Active Tickets 153 AJAX request from JavaScript service Development platform task new 2017-06-17T07:26:02+02:00 2017-06-18T11:36:22+02:00 "Hi there Is it possible to carrying out an AJAX request from inside a !JavaScript service? E.g. I would like to perform a WFS request on third-party APIs Can I do this with jQuery? How do I add jQuery so it's accessible from a !JavaScript service in Zoo? I also tried using XMLHttpRequest, but I'm getting ""not defined"" error. Thanks," surf9 Active Tickets 156 Trying to chain services together Development platform task new 2017-06-26T08:09:35+02:00 2017-07-31T01:51:15+02:00 "Hi there I am trying to get working chaining of services. This is my current code: function testChainJS(conf,inputs,outputs) { //var inputs = {S:'james'}; var inputs = {S: { type: 'complex', value: 'james', mimeType: ""application/json""} }; var myProcess = new ZOO.Process('http://localhost/cgi-bin/zoo_loader.cgi','javascript.test.hello-world.hellojs'); var myExecuteResult=myProcess.Execute(inputs); return {result: ZOO.SERVICE_SUCCEEDED, outputs: [ {name:""Result"", value: long} ] }; } However, when I execute that in terminal I get the following: ./zoo_loader.cgi 'ServiceProvider=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=javascript.chaining.testChainJS&DataInputs=name=smith Content-Type: text/xml; charset=UTF-8 Status: 501 Internal Server Error ZOO Kernel failed to process your request, receiving signal 11 = SIGSEGV Any ideas how to resolve this? Thanks," surf9 Active Tickets 138 Credentials zoo-server 1.0 1.3.0-rc1 defect new 2015-10-29T19:39:21+01:00 2015-11-16T20:14:30+01:00 "We have this situation: ""user --> Zoo --> MapServer"". Mapserver rejects the request with a 401 error message (access denied) because MapServer uses a basic authentication to password protect the site. Is there a way to send a user and a password from Zoo? Thx J." jmerette Active Tickets 136 Probable wrong location of example python service source file Development platform defect new 2015-10-16T15:09:21+02:00 2015-10-16T15:24:28+02:00 "test_service.py is in http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-services/hello-py/cgi-env shouldn't it be moved to zoo-project/zoo-services/hello-py/ according to installation documentation ? http://zoo-project.org/docs/install/debian.html Regards" aandre Active Tickets 150 What is wrong with my configure.ac? Development platform defect new 2017-06-02T11:53:55+02:00 2017-06-02T11:53:55+02:00 "I was unable to use ms_service using this customized configure.ac (attatched) " remicress