Whenever I try to pass an argument to Kupfer I am getting an error (debug run) that says that "TypeError: glib.spawn_async: second argument must be a sequence of strings". I have no idea why that is the case. I am just trying to pass some arguments using the text mode to a bash script ("command $*") or any other executable but this error making it impossible to use Kupfer for such purposes :(
This app is not maintained much. My Python knowledge of unicode and similar issues is very limited. I would like to either fix this issue or if this is not a bug find the right way to use that feature.
How can I address this issue in the code? I want to patch it so I can us it.
github page https://github.com/engla/kupfer
error messgae http://pastebin.com/rUJDnetL
Traceback (most recent call last):
File "/usr/share/kupfer/kupfer/ui/browser.py", line 1615, in _activate
self.data_controller.activate(ui_ctx=self._make_gui_ctx())
File "/usr/share/kupfer/kupfer/core/data.py", line 800, in activate
res, ret = ctx.run(leaf, action, sobject, ui_ctx=ui_ctx)
File "/usr/share/kupfer/kupfer/core/commandexec.py", line 303, in run
ret = activate_action(execution_token, obj, action, iobj)
File "/usr/share/kupfer/kupfer/core/commandexec.py", line 80, in activate_action
return _activate_action_single(obj, action, iobj, kwargs)
File "/usr/share/kupfer/kupfer/core/commandexec.py", line 86, in _activate_action_single
ret = action.activate(obj, iobj, **kwargs)
File "/usr/share/kupfer/kupfer/plugin/commands.py", line 131, in activate
utils.AsyncCommand(argv, finish_callback, None, stdin=leaf.object)
File "/usr/share/kupfer/kupfer/utils.py", line 126, in __init__
standard_error=True, flags=flags, envp=env)
TypeError: glib.spawn_async: second argument must be a sequence of strings