[Liblas-devel] Re: Impossible to post on liblas list

Etienne Bellemare Racine etiennebr at gmail.com
Wed Aug 6 21:47:08 EDT 2008


Howard Butler wrote :
>
> On Aug 6, 2008, at 5:44 PM, Etienne Bellemare Racine wrote:
>
>> Hi Howard,
>>
>> I'm new to liblas, and I've been trying to post the folowing message 
>> on the list, but for sure, there is something I do wrong as I 
>> couldn't get it on the list.
>
> Do you get any error message when you try to subscribe to the list?  
> Please reply with it and I'll look into it.
None.
>
>
>>
>>
>> Hi all,
>>
>> I've tried to use liblas using python 1.0, but couldn't go too far. 
>> After installing the liblas1.0.0b1-win32, I've tried to import it in 
>> python but it jammed there.
>>> >>>
>>> import liblas
>>>   Traceback (most recent call last):
>>>   File "<interactive input>", line 1, in <module>
>>>   File "C:\Python25\Lib\site-packages\liblas\__init__.py", line 1, 
>>> in <module>
>>>     from core import *
>>>   File "C:\Python25\lib\site-packages\liblas\core.py", line 112, in 
>>> <module>
>>>     las = ctypes.CDLL(lib_name)
>>>   File "C:\Python25\lib\ctypes\__init__.py", line 312, in __init__
>>>     self._handle = _dlopen(self._name, mode)
>>> WindowsError: [Error 22] Could not find specified module (translated)
>> Is there something I should do/know ? I've tried it with python 2.4 
>> and 2.5, and on three computers, but it was always the same problem.
>>
>> The only bindings working is liblas0.9.6-win32.
>>
>> One thing I've noticed is that line 107 of core.py (with liblas 
>> 1.0.0b1) is still : lib_name = 'liblas0.9.6.dll' wich seems stange to 
>> me.
>>
>
> Ooh, that's probably your bug.  Fix that to say 'liblas1.0.0b1.dll'  I 
> will make sure it is fixed in the final release...
Is there something I should have done after installing the liblas 
1.0.0b1 python bindings ?
Now, I have the same error with 'liblas1.0.0b1.dll', but with 
'liblas0.9.6.dll', I get (still the 1.0b1 bindings, just changing the dll):
> function 'LASHeader_GetProj4' not found
I'm a bit lost. I really appreciate your help.
>
>> Thanks,
>> Etienne
>




More information about the Liblas-devel mailing list