- edited description
ValueError: need more than 2 values to unpack
Issue #18
duplicate
$ pip install sarge
Downloading/unpacking sarge
Running setup.py (path:c:\users\admini~1\appdata\local\temp\pip_build_Administrator\sarge\setup.py) egg_info for package sarge
Installing collected packages: sarge
Running setup.py install for sarge
Successfully installed sarge
Cleaning up...
$ python
Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sarge
>>> sarge.get_both('python')
No handlers could be found for logger "sarge"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\python27\lib\site-packages\sarge\__init__.py", line 1392, in get_both
p = capture_both(cmd, **kwargs)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 1365, in capture_both
return run(cmd, **kwargs)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 1336, in run
p.run(input=input, async=async)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 967, in run
self.run_node(self.tree, input=input, async=async)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 1055, in run_node
result = getattr(self, method)(node, input, async)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 1201, in run_command_node
node.cmd.run(input=input, async=async)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 593, in run
self.process = p = Popen(self.args, **self.kwargs)
File "c:\python27\lib\subprocess.py", line 701, in __init__
errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
File "c:\python27\lib\site-packages\sarge\__init__.py", line 481, in _get_handles
stderr)
ValueError: need more than 2 values to unpack
Comments (3)
-
reporter -
repo owner - changed status to duplicate
Duplicate of
#15. -
repo owner Thanks for reporting this - it has been fixed in the repo, in changeset 5a4c641 or later, but no release has been made since that fix was committed.
- Log in to comment