Help with qapi.py problem
I just git pull'ed today and now have this problem:
.../scripts/qapi.py", line 1726, in maybe_open
return open(name, opt)
IOError: [Errno 1] Operation not permitted: './qapi-types.h'
This is the version of python I am using:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
import sys
print (sys.version)
2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)]
Quoted 5 lines · Programmingkid
I just git pull'ed today and now have this problem:
.../scripts/qapi.py", line 1726, inmaybe_open
returnopen(name, opt)
IOError: [Errno 1] Operation not permitted: './qapi-types.h'
What are the file permissions on ./qapi-types.h? That's a generated file, but if you did something to mess with its permissions so that cannot be reopened for overwriting, that would explain the error message.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 10 lines · Eric Blake
Quoted 5 lines · Programmingkid
I just git pull'ed today and now have this problem:
.../scripts/qapi.py", line 1726, inmaybe_open
returnopen(name, opt)
IOError: [Errno 1] Operation not permitted: './qapi-types.h'What are the file permissions on ./qapi-types.h? That's a generated file, but if you did something to mess with its permissions so that cannot be reopened for overwriting, that would explain the error message.
It looks like I locked the file and forgot about it.
Thank you for your help.