huhabla / wps-grass-bridge

Automatically exported from code.google.com/p/wps-grass-bridge
0 stars 0 forks source link

wps-grass-bridge test fails #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. configure GlobalGrassSettings.py as below
2. python PyWPSGrassModuleStarter.py
3.

What is the expected output? What do you see instead?

Expected test run, got:

Traceback (most recent call last):
  File "PyWPSGrassModuleStarter.py", line 324, in <module>
    main()
  File "PyWPSGrassModuleStarter.py", line 299, in main
    input.storeData(data)
  File "/usr/lib/python2.6/site-packages/pywps/Process/InAndOutputs.py", line 439, in storeData
    self.checkMimeTypeIn(fout.name)
  File "/usr/lib/python2.6/site-packages/pywps/Process/InAndOutputs.py", line 552, in checkMimeTypeIn
    if (self.format["mimetype"] is None) or (self.format["mimetype"]==""): 
KeyError: 'mimetype'

What version of the product are you using? On what operating system?

Running CentOS x86 32bit

Using wps-grass-bridge trunk (revision 61)
Using GRASS trunk (revision 45606)
Using pyWPS trunk (revision 1134)

Please provide any additional information below.

GlobalGrassSettings.py

WORKDIR="/tmp/pywps/"
OUTPUTDIR="/tmp/pywps/"
LOGFILE="/tmp/pywps/logfile.txt"
LOGFILE_MODULE_STDOUT="/tmp/pywps/logfile_module_stdout.txt"
LOGFILE_MODULE_STDERR="/tmp/pywps/logfile_module_sterr.txt"
GRASS_GIS_BASE="/usr/local/grass_trunk/dist.i686-pc-linux-gnu"
GRASS_ADDON_PATH="gms/Testing/Python/GrassAddons"
GRASS_VERSION="7.0"

Original issue reported on code.google.com by james.se...@gmail.com on 8 Mar 2011 at 5:39

GoogleCodeExporter commented 8 years ago
This issue should be fixed in r62.

Original comment by soerenge...@googlemail.com on 1 Apr 2011 at 11:42