You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2020. It is now read-only.
Hello,
I am trying to use pychef on redhat 6.4. I have Python 3.4.5.
The first line I have it chef.autoconfigure("/etc/chef/client.rb") and it errors with this
Traceback (most recent call last):
File "restore_metadata.py", line 7, in
chef.autoconfigure("/etc/chef/client.rb")
File "/usr/lib/python3.4/site-packages/chef/api.py", line 253, in autoconfigure
api = ChefAPI.from_config_file(config_path)
File "/usr/lib/python3.4/site-packages/chef/api.py", line 139, in from_config_file
out, err = proc.communicate(script)
File "/usr/lib64/python3.4/subprocess.py", line 959, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib64/python3.4/subprocess.py", line 1605, in _communicate
input_view = memoryview(self._input)
TypeError: memoryview: str object does not have the buffer interface
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am trying to use pychef on redhat 6.4. I have Python 3.4.5.
The first line I have it chef.autoconfigure("/etc/chef/client.rb") and it errors with this
Traceback (most recent call last):
File "restore_metadata.py", line 7, in
chef.autoconfigure("/etc/chef/client.rb")
File "/usr/lib/python3.4/site-packages/chef/api.py", line 253, in autoconfigure
api = ChefAPI.from_config_file(config_path)
File "/usr/lib/python3.4/site-packages/chef/api.py", line 139, in from_config_file
out, err = proc.communicate(script)
File "/usr/lib64/python3.4/subprocess.py", line 959, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib64/python3.4/subprocess.py", line 1605, in _communicate
input_view = memoryview(self._input)
TypeError: memoryview: str object does not have the buffer interface
The text was updated successfully, but these errors were encountered: