Hi Cris,

I needed itstool to build seahorse, but it doesn't seem to want to
work with python3:

Traceback (most recent call last):
  File "/usr/bin/itstool", line 1516, in <module>
    doc.apply_its_rules(not(opts.nobuiltins), params=params)
  File "/usr/bin/itstool", line 724, in apply_its_rules
    self.apply_its_file(os.path.join(itsdir, dfile), params=params)
  File "/usr/bin/itstool", line 773, in apply_its_file
    if not nss.has_key(nsdef.name):
AttributeError: 'dict' object has no attribute 'has_key'
Makefile:566: recipe for target 'de/de.stamp' failed
make[2]: *** [de/de.stamp] Error 1
make[2]: *** Waiting for unfinished jobs....

On 2 October 2014 08:01, Crispin Boylan <[email protected]> wrote:
>
> hi rob
>
> i've added the python2 bindings in python2-libxml now.
>
> would still be interested to find out whats up with itstool on py3 though.
>
> cheers
> cris.
>
>
>
> On 02/10/14 06:35, Crispin Boylan wrote:
>>
>> On 02/10/14 04:51, Robert Xu wrote:
>>>
>>> Hi all,
>>>
>>> Does anyone have any objections to me dropping libxml2 python3
>>> bindings for now and moving back to python2? I don't see a way to
>>> build both of them, and unfortunately itstool isn't working with
>>> python3, and it depends on libxml's python2 bindings.
>>>
>>> I'll change it around late afternoon tomorrow (EDT), barring any
>>> objections.
>>>
>> hmm it seems like it should work - what's the problem you're facing?
>>
>> cheers
>> cris.
>>
>> _______________________________________________
>> OM-Cooker mailing list
>> [email protected]
>> http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org
>>
>
> _______________________________________________
> OM-Cooker mailing list
> [email protected]
> http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org



-- 
cheers, Robert :: github.com/robxu9
_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to