Missing python libraries?

Michael Wood esiotrot at gmail.com
Fri Sep 3 16:54:54 MDT 2010


On 3 September 2010 11:31, Lukasz Zalewski <lukas at dcs.qmul.ac.uk> wrote:
> On 09/03/2010 10:22 AM, Michael Wood wrote:
>>
>> On 3 September 2010 11:14, Lukasz Zalewski<lukas at dcs.qmul.ac.uk>  wrote:
>>>
>>> Hi all,
>>> when i run bin/net
>>> i get the following error:
>>> Traceback (most recent call last):
>>>  File
>>> "/usr/local/samba/lib/python2.4/site-packages/samba/netcmd/__init__.py",
>>> line 167, in ?
>>>    from samba.netcmd.join import cmd_join
>>>  File
>>> "/usr/local/samba/lib/python2.4/site-packages/samba/netcmd/join.py",
>>> line 26, in ?
>>>    from samba.join import join_rodc
>>>  File "/usr/local/samba/lib/python2.4/site-packages/samba/join.py", line
>>> 33,
>>> in ?
>>>    from samba.drs_utils import drs_Replicate
>>>  File "/usr/local/samba/lib/python2.4/site-packages/samba/drs_utils.py",
>>> line 26
>>>    class drs_Replicate():
>>>
>>> Am i missing some python libraries?
>>
>> I believe Python 2.4 doesn't like:
>>
>> class blah():
>>
>> and prefers:
>>
>> class blah:
>
> Thx Michael,
> That did the trick :)
> Is this something that should be patched?

Yes, I think so.  There have already been other patches to support Python 2.4.

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba-technical mailing list