Based on the error and looking at the source, you should just need to fix
the line in /usr/lib/python3.4/site-packages/krop/krop.py:

    parser = ArgumentParser(description=__doc__, version=__version__,

with

    parser = ArgumentParser(description=__doc__,

ArgumentParser does not accept a version keyword
It doesn't in 2.7 either, but it may handle it in in a way that wouldn't
cause an errror.

On Sun, Apr 24, 2016 at 12:38 PM, Raphael Groner <raph...@fedoraproject.org>
wrote:

> Hi,
>
> I need some help to fix a bug ¹ with python3 and site-packages.
>
> > cd /usr/lib/python3.4/site-packages/krop/
>
> > python2 -c 'import krop ; krop.main()'
> → dialog
>
> > python3 -c 'import krop ; krop.main()'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python3.4/site-packages/krop/krop.py", line 25, in main
>     formatter_class=RawTextHelpFormatter)
> TypeError: __init__() got an unexpected keyword argument 'version'
>
> Besides that error, the start script in %{_bindir}/krop is b0rken and
> should just work for users clicking on the desktop icon.
>
> ¹ https://bugzilla.redhat.com/show_bug.cgi?id=1321376
> _______________________________________________
> python-devel mailing list
> python-devel@lists.fedoraproject.org
>
> http://lists.fedoraproject.org/admin/lists/python-devel@lists.fedoraproject.org
>
_______________________________________________
python-devel mailing list
python-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/python-devel@lists.fedoraproject.org

Reply via email to