Hi Torsten,
Thanks for the deep dive into the issue.
I believe one solution would be to make a flag like the current `oldie`
but for equals signs in single letter flags.
Could you report this issue with your details to
https://gitlab.com/inkscape/extensions/ for me?
Thanks a lot!
Best Regards, Martin Owens
On Wed, 2021-06-02 at 15:31 +0200, fi(a)igh.de wrote:
Dear Maintainers,
after pulling revision 5448704355e03a97d2838e1ba30272db335f0dbb
I have built inkscape according to
https://inkscape.org/develop/getting-started/
Trying to manage extensions (Extensions -> Manage Extensions) I
receive the following error message:
There has been a problem creating the python environment:
Return Code: 3: b''
b'The path =python3 (from --python==python3) does not exist\n'
args: ['/usr/bin/virtualenv', '-p=python3',
'/home/xx/.config/inkscape/extensions']
Indeed the call is syntactically wrong. Instead of
'-p=python3'
the option
'-p python3' ### without equal sign
should be used.
As far as I understand, the problem seems to exist in
inkscape/share/extensions/extension-manager-bootstrap.py:69
call('virtualenv', TARGET_DIR, p='python3')
which then in inkex/command.py:to_args() is evaluated to the wrong
sytnax. According to the (very good) comments in to_args()
:Keyword Arguments:
* *name* (``str``) --
Becomes ``--name="val"``
...
* *n* (``str``) --
Becomes ``-n=val``
...
it should become ``-n val``.
I do not know whether a change would result in problems using other
programs that want -n=val. Which should that be?
Best regards
Torsten