On 02/10/14 16:38, Bernhard Rosenkraenzer wrote:
On 2014-10-02 16:07, Robert Xu wrote:
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'

2to3 -w /usr/bin/itstool

might well fix that...

ttyl
bero
_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

at the moment I just rebuilt itstool with py2 bindings as I think I ran into something else afterwards.

gnome-doc-utils the same!

both i think are more or less obsolete for new stuff anyway so probably not worth spending too much time on.

cheers
cris.

_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to