merging back the new pyshapelib
Bram de Greve
bram.degreve at gmail.com
Thu Jan 3 14:50:57 CET 2008
Bernhard Reiter wrote:
> On Thursday 03 January 2008 13:34, Bram de Greve wrote:
>
>> Bernhard Reiter wrote:
>>
>>> Running the tests I got more trouble then usual:
>>> python setup.py build_ext --use-wx-python-swig-hack install_local
>>>
>>>
>>>
>> OK, the troubles must be caused by my code, as testing the trunk gives
>> much saner results =)
>>
>
> Some of the failure are very likely to be caused by your changes.
> I suggest that you at least make sure you can run the Thuban tests.
> Only the two OGR failures are to be expected currently (see the release
> notes).
>
>
>> I still have those permission denieds though, but apparently that's just
>> part of the test as it seems to have succeeded.
>>
>> .............SSS...........................................................
>> ..... ...................................................SS........Exception
>> exception
>> s.OSError: (13, 'Permission denied',
>> 'c:\\docume~1\\bramz\\locals~1\\temp\\tmpv9
>>
>
> What are the skipped tests? Postgis?
> There are some permission denied tests, but not that many and usually they do
> not print something on stdout. So which test is it?
> (See the Readme in the test/ how to run single tests.)
>
>
The permission denieds seem to be from test_load.py. The skipped tests
are gdal tests (no gdal support apparently) and postgis.
Also, I've just tested the head of WIP-pyshapelib-branch again, and it -
apart from the permission denieds and skipped tests - the only
difference with the trunk seems to be two errors on
TestNonAsciiColumnNames in test_load.py and test_load_1_0.py
======================================================================
ERROR: test_load_1_0.TestNonAsciiColumnName.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\bram\thuban_work\WIP-pyshapelib-bramz\test\test_load_1_0.py",
line 27
9, in test
dbf.add_field('Fl\xe4che', dbflib.FTDouble, 10, 5)
File "C:\Python24\lib\encodings\cp1252.py", line 18, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 2:
ordinal
not in range(128)
> Bernhard
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Thuban-devel mailing list
> Thuban-devel at intevation.de
> https://intevation.de/mailman/listinfo/thuban-devel
>
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)