Opened 17 years ago

Closed 17 years ago

#2230 closed defect (fixed)

Beta-3 python script test failed

Reported by: dnadeau Owned by: sdlime
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

...................................F............................................EEEEE......Exception in thread d0: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

Exception in thread d4: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

.Exception in thread d1: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

Exception in thread d2: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

Exception in thread d3: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

Exception in thread d5: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

...Exception in thread d7: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

Exception in thread d6: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

Exception in thread d8: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

.Exception in thread d9: Traceback (most recent call last):

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 442, in bootstrap

self.run()

File "/disk3/dnadeau/supportlibs/lib/python2.4/threading.py", line 422, in run

self.target(*self.args, self.kwargs)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/threadtest.py", line 171, in draw_map_wms

mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

...............E.......................................F..E................................................................................................. ====================================================================== ERROR: test_getfeature (pgtest.SubSelectNoSRIDTest)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/pgtest.py", line 116, in setUp

li = self.mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== ERROR: test_getfeature (pgtest.SubSelectTest)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/pgtest.py", line 97, in setUp

li = self.mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== ERROR: test_getfeature (pgtest.TableTest)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/pgtest.py", line 61, in setUp

li = self.mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== ERROR: test_getfeature (pgtest.ViewTest)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/pgtest.py", line 79, in setUp

li = self.mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== ERROR: testSettingFonts (fonttest.FontTestCase)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/fonttest.py", line 71, in testSettingFonts

li = mo.insertLayer(lo)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== ERROR: testExternalClassification (layertest.InlineLayerTestCase)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/layertest.py", line 429, in testExternalClassification

mo.insertLayer(self.ilayer)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== ERROR: MapLayersTestCase.testMapInsertLayer: test insertion of a new layer at default (last) index


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/maptest.py", line 100, in testMapInsertLayer

index = self.map.insertLayer(layer)

File "../../build/lib.linux-i686-2.4/mapscript.py", line 776, in insertLayer

def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)

MapServerError: msFreeHashItems(): Hash table error. No items allocated.

====================================================================== FAIL: testGetPointWKT (shapetest.ShapeWKTTestCase)


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/shapetest.py", line 142, in testGetPointWKT

self.assert_(wkt == self.point_wkt, wkt)

AssertionError: POINT (-105.5 40.0)

====================================================================== FAIL: MapExtentTestCase.testSetExtent: test the setting of a mapObj's extent


Traceback (most recent call last):

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/maptest.py", line 73, in testSetExtent

self.assertAlmostEqual(test_map.scaledenom, 14.173236)

File "/disk3/dnadeau/mapserver5/mapscript/python/tests/cases/testing.py", line 71, in assertAlmostEqual

raise AssertionError, \

AssertionError: 14.244458291457287 != 14.173235999999999 within 7 places


Ran 252 tests in 7.136s

FAILED (failures=2, errors=7)

Attachments (1)

test.err (7.1 KB ) - added by dnadeau 17 years ago.
ms_errorfile when running all cases.

Download all attachments as: .zip

Change History (5)

by dnadeau, 17 years ago

Attachment: test.err added

ms_errorfile when running all cases.

comment:1 by dnadeau, 17 years ago

Milestone: 5.0 release
Version: unspecifiedsvn-trunk (development)

comment:2 by hobu, 17 years ago

most of these are #2229

comment:3 by hobu, 17 years ago

Denis,

Do you still get the errors about the scales?

Howard

comment:4 by hobu, 17 years ago

Resolution: fixed
Status: newclosed

Tests all passing for me now.

Note: See TracTickets for help on using tickets.