similar to: Python Bindings for Python 2.7

Displaying 20 results from an estimated 10000 matches similar to: "Python Bindings for Python 2.7"

2011 Dec 05
5
Ubuntu 11.04 shutdown Problem
I am using old Xen Rpms which comes with RHEL 5.5 . xen-3.0.3-105.el5. I am running Ubuntu 11.04 Full Virt on this. But after a gap of 2 or 3 days this VM gets shutdown automatically. I have checked the logs there is nothing suspicious.. What can be reason for it..?? Any one has faced same problem?? -- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of
2011 Oct 25
4
Ubuntu 11.04 DomU not showing external block Device
Hello, I just installed Xen 4.0.1 on Ubuntu 10.04 dom0. After this i had Ubuntu 11.04 as Para domU. I tried to attach file based disk to the this domU. My command is: # xm block-attach Ubuntu-11 file:/root/ubunut-natty/Extra /dev/xvdb w there is no error on this. But inside the DomU i cannot see any disk xvdb. xend.log shows : [2011-10-25 16:27:32 14794] DEBUG
2011 Oct 10
1
Child process died
Hello, I have installed libguestfs on RHEL 5.5 64 bit. 3 packages i have installed. libguestfs-tools-c-1.9.10-1.1 libguestfs-tools-1.9.10-1.1 libguestfs-1.9.10-1.1 When i am trying to run virt-resize it gives me error: virt-resize -expand /dev/sda1 vm01.scilab vm01.scilab-15GB -d libguestfs: trace: add_drive_opts "vm01.scilab" "readonly:true" libguestfs: trace:
2012 Jan 29
1
libvir: error : cannot getpwuid_r(107): Success
I am on RHEL 6.1 running KVM. I am getting following error when i start a Ubuntu 11.10 Guest I am attaching my xml file . # virsh -c qemu:///system create Ubuntu-110.10.xml error: Failed to create domain from Ubuntu-110.10.xml error: internal error Process exited while reading console log output: 16:19:53.991: 2418: info : libvirt version: 0.8.7, package: 18.el6 (Red Hat, Inc.
2011 Oct 31
2
Python API for Resizing the disk
Is there Python Binding for Resizing the Image just like "virt-resize" does? -- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty." -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Feb 02
2
KVM Image not working after expansion
Hello, I expanded a KVM image of 4gb to 10 gb .... My Host machine is RHEL 6.1 and Guest is RHEL 5.5 Command i used is: virt-resize --expand /dev/sda1 RHEL5.5-64bit.img RHEL5.5-10gb Commands successfully gets executed... Old disk works fine i mean it boots properly but the new disk stucks at GRUB... Has any one seen this behavior... What should i do to debug this problem.. --
2012 Apr 24
1
Non-Root not able to use openReadOnly()
Hi, I have a code : import libvirt con = libvirt.openReadOnly(None) print con.listDomainsID() When i run the above code using root i get the proper output... but when i use non-root user it givers be a empty list [ ] If i change the 2nd line to con = libvirt.open(qemu:///system) It works. I am using RHEL 6.1 with default kvm and libvirt. unix_sock_group = "virt" in
2011 Jan 31
1
Image Not Expanding
Hello, I am running xen with libvirt. I have an image(Fedora12) with xen para virt and run with the help of libvirt. So i wanted to increase the size of this image from 1GB to 2 GB. I am using virt-resize command for this. When i do : virt-list-partitions it displays 2 partitions 1] /dev/sda1 and 2] /dev/sda2 I want to resize this to 2 gb So i do like this: virt-resize
2013 Nov 01
5
xend with XenAPI in stackless python-2.7
Hi, I am using XEN-4.1.2 and linux-2.6.32 as dom0. After I upgraded stackless python from 2.5 to 2.7 (and rebuilt xen). XenAPI became unusable, I spent some time to investigate XenAPI,py, it looks fine. So, I guess xend has problem with python 2.7, because it always returned method unknown. Do I have to tweak xend to let it support python 2.7? Thanks, Eric /root # python Python 2.7.5 Stackless
2001 Oct 16
1
(no subject)
There's nothing in rsync to do that. How about making the files and directories all belong to another user, set the sticky bit and write for your rsync user on the directories, unset write for the files, and rsync that way, then chown afterwards? the updates to existing files will fail, leaving you only with new. Tim Conway tim.conway@philips.com 303.682.4917 Philips Semiconductor -
2001 Oct 13
1
transferring files that don't exist on remote system.
Hi, Is there a way to transfer only those files that don't exist on the remote system? That is, I don't want to update common files even when the local system has new versions of common files. best, vipul. -- Vipul Ved Prakash | "I almost died, but I made it, so I'm not so Software Design Artist | serious about formal-wear anymore." http://vipul.net/
2012 Aug 03
1
How to connect to local hpyervisor by libvirt?
Hi libvirt team, I suffered some troubles. Could you please give me some advices? Our team plan to control more then 100 android emulators, however, we failed to connect to the local android emulators by libvirt. Now we have tested 2 ways. 1. Converting from QEMU args to domain XML. It's a right way to control the local QEMU built manually. But the android emulator based on QEMU
2014 Apr 27
2
Getting yum to install to python 2.7 dir
I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it works and is my default python. But yum does not work with that, so I changed the shebang line for yum to /usr/bin/python2.6 and then yum works again. But when I install a python package with yum it get installed to /usr/lib64/python2.6/site-packages/. How can I get yum to install to
1999 Nov 09
3
Question on function "glm.fit"
I have a code that contains function "glm.fit" and it works in S-PLUS. But this same code (with some minor changes) does not work in R. I am supplying the part of the code. Can somebody help with this problem? The code *************************************************** x1 <- seq(from=-1,to=2, length=20) x2 <- (rep(1:5,4))/4 x <- cbind(1,x1,x2) y <-
2018 Jan 31
2
Migrate utils/ Python 2 scripts to Python 3
> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Thanks for the information. Then how about standalone scripts (many > one-file) like utils/update_check_tests.py that are unrelated to lit > or other important infrastructure? Can they be changed from > `#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang? > No. Every
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
Thanks for the information. Then how about standalone scripts (many one-file) like utils/update_check_tests.py that are unrelated to lit or other important infrastructure? Can they be changed from `#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang? On Tue, Jan 30, 2018 at 11:20 AM, Chris Matthews <chris.matthews at apple.com> wrote: > Personally, every machine I work with only has
2018 Feb 01
1
Migrate utils/ Python 2 scripts to Python 3
Nope. Regarding "python" potentially pointing to python3: Arch Linux has done that for years. That unilateral decision on their part was widely-decried as a mistake at the time, and spawned the python doc you reference saying that shouldn't be done. However, Fedora is now making noises about doing the same, in a few years, after driving a change in the upstream recommendation.
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
The suggested way to do this on OSX is using env: #!/usr/bin/env python3 > On Jan 31, 2018, at 10:48 AM, Adrian Prantl <aprantl at apple.com> wrote: > > > >> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Thanks for the information. Then how about standalone scripts (many >> one-file) like
2018 Feb 01
5
Migrate utils/ Python 2 scripts to Python 3
Sadly, neither the latest version of RedHat (released in 2014), nor the latest version of macOS (released in 2017) have any version of python3 available with the default system. On the other hand, TTBOMK, every system that does have python3 available also makes python2.7 also easily available. LLVM is not a primarily python project, so keeping up with the latest features of the language, and
2018 Jan 30
4
Migrate utils/ Python 2 scripts to Python 3
Personally, every machine I work with only has Python 2.7. Justin is correct that there is a non-trivial amount of effort to convert the bots. Python 3 is wonderful. But, a Python 3 dependency seems like one burden that could be avoided. We have already made that trade-off in the past, for example by only using standard python packages, so there is less/nothing to pip install when getting