azzeddine1265 / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Python tests fail v357 #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. check out svn rev 357
2. make;make install
3. cd exmaples/python;for n in `ls *py`;do python $n;done

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

What version of the product are you using? On what operating system?
Linux acer 2.6.22-15-generic #1 SMP Wed Aug 20 15:47:07 UTC 2008 x86_64 
GNU/Linux

Did you run the unit test suite that comes with the project? Did all tests pass?
yes, all tests passed

Please provide any additional information below.

---
des@acer:/home/shared/srcsLocal/libkml_trunk/examples/python$ for n in `ls 
*py`;do python 
$n;done
Traceback (most recent call last):
  File "helloenum.py", line 32, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'
Traceback (most recent call last):
  File "hellogeometry.py", line 32, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'
Traceback (most recent call last):
  File "helloplacemark.py", line 33, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'
Traceback (most recent call last):
  File "hellopoint.py", line 32, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'
Traceback (most recent call last):
  File "hellovector.py", line 33, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'
Traceback (most recent call last):
  File "hellowalk.py", line 32, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'
Traceback (most recent call last):
  File "parse_point_placemark.py", line 33, in <module>
    import kmldom
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 265, in <module>
    class Color32(_object):
  File "/usr/local/lib/python2.5/site-packages/kmldom.py", line 272, in Color32
    __swig_destroy__ = _kmldom.delete_Color32
AttributeError: 'module' object has no attribute 'delete_Color32'

Original issue reported on code.google.com by brian.da...@gmail.com on 13 Nov 2008 at 2:28

GoogleCodeExporter commented 9 years ago
manually going to example/python and make clean; rebuilding and reinstalling 
fixed the issue...
FIXED false alarm

Original comment by brian.da...@gmail.com on 13 Nov 2008 at 2:38

GoogleCodeExporter commented 9 years ago

Original comment by kml.mash...@gmail.com on 13 Nov 2008 at 3:14