Displaying 4 results from an estimated 4 matches for "_communicate".
Did you mean:
communicate
2019 Oct 04
2
samba-tool user syncpasswords crashes with python3
...1, in run_sync_command
> > reply = bytes(sync_command_p.communicate(input)[0], encoding =
> > 'utf-8')
> It seems to working up to here
> > File "/usr/lib/python3.6/subprocess.py", line 863, in
> > communicate
> > stdout, stderr = self._communicate(input, endtime, timeout)
> > File "/usr/lib/python3.6/subprocess.py", line 1519, in
> > _communicate
> > input_view = memoryview(self._input)
>
> Then it stops working, probably because your python script isn't
> python3
> compatible.
>
>...
2019 Oct 04
2
samba-tool user syncpasswords crashes with python3
..."/usr/local/samba/lib/python3.6/site-
packages/samba/netcmd/user.py", line 2001, in run_sync_command
reply = bytes(sync_command_p.communicate(input)[0], encoding =
'utf-8')
File "/usr/lib/python3.6/subprocess.py", line 863, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.6/subprocess.py", line 1519, in _communicate
input_view = memoryview(self._input)
~
my setup:
samba-tool user syncpasswords --cache-ldb-initialize --
attributes=virtualClearTextUTF8,objectGUI...
2019 Oct 07
1
samba-tool user syncpasswords crashes with python3
...of 'subprocess', it only does this:
> from
> subprocess import Popen, PIPE, STDOUT, check_call, CalledProcessError
>
> The error output goes on to do this:
>
> File "/usr/lib/python3.6/subprocess.py", line 863, in communicate
> stdout, stderr = self._communicate(input, endtime, timeout)
> File "/usr/lib/python3.6/subprocess.py", line 1519, in
> _communicate
> input_view = memoryview(self._input)
>
> And it is 'memoryview' that throws the error and it looks like it is
> something in subprocess.py that is wrong,...
2019 Oct 04
0
samba-tool user syncpasswords crashes with python3
...amba/netcmd/user.py", line 2001, in run_sync_command
> reply = bytes(sync_command_p.communicate(input)[0], encoding =
> 'utf-8')
It seems to working up to here
> File "/usr/lib/python3.6/subprocess.py", line 863, in communicate
> stdout, stderr = self._communicate(input, endtime, timeout)
> File "/usr/lib/python3.6/subprocess.py", line 1519, in _communicate
> input_view = memoryview(self._input)
Then it stops working, probably because your python script isn't python3
compatible.
Rowland