* [Qemu-devel] Help with qapi.py problem
@ 2016-03-30 15:10 Programmingkid
2016-03-30 15:51 ` Eric Blake
0 siblings, 1 reply; 3+ messages in thread
From: Programmingkid @ 2016-03-30 15:10 UTC (permalink / raw)
To: qemu-devel qemu-devel
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:
>>> import sys
>>> print (sys.version)
2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Help with qapi.py problem
2016-03-30 15:10 [Qemu-devel] Help with qapi.py problem Programmingkid
@ 2016-03-30 15:51 ` Eric Blake
2016-03-30 16:12 ` Programmingkid
0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2016-03-30 15:51 UTC (permalink / raw)
To: Programmingkid, qemu-devel qemu-devel
[-- Attachment #1: Type: text/plain, Size: 577 bytes --]
On 03/30/2016 09:10 AM, Programmingkid wrote:
> 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'
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Help with qapi.py problem
2016-03-30 15:51 ` Eric Blake
@ 2016-03-30 16:12 ` Programmingkid
0 siblings, 0 replies; 3+ messages in thread
From: Programmingkid @ 2016-03-30 16:12 UTC (permalink / raw)
To: Eric Blake; +Cc: qemu-devel qemu-devel
On Mar 30, 2016, at 11:51 AM, Eric Blake wrote:
> On 03/30/2016 09:10 AM, Programmingkid wrote:
>> 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'
>
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-30 16:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-30 15:10 [Qemu-devel] Help with qapi.py problem Programmingkid
2016-03-30 15:51 ` Eric Blake
2016-03-30 16:12 ` Programmingkid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).