Displaying 17 results from an estimated 17 matches for "get_object".
2014 Feb 12
61
P2V: Headless support
This introduces support to run P2V without X server. Runtime parameters
are specified via kernel command line making it hopefully suitable for
automated migration with a little help of PXE boot.
Patchset is not squashed and represents dev. history.
2013 Jul 10
2
Potential memory leak when assigning MSetItem values
...the call to run_query 10 times, the memory usage
> doesn't keep growing, so it looks to me like the heap of the process
> has just grown, and doesn't get returned to the OS again.
>
> Certainly the number of objects Python knows about is constant (add a
> call to print len(gc.get_objects()) after gc.collect() to see that).
>
> I was using Python 2.6.6 and Xapian trunk, as I have those to hand.
> This could be version dependent of course - can you try repeating
> run_query() to see if the process size keeps growing for you?
>
> Cheers,
> Olly
>
2011 May 18
1
How to make array of regression objects
Dear all,
I have made couple logistic regressions, what making a distribution of some
event.
Currently, i store it like this:
o1 <- lrm(...)
o2 <- lrm(...)
o3 <- lrm(...)
...
Then, i have made a function to peak required regression object from this
variables by it number:
get_object <- function(obj_name, nModel) {
eval (parse(text=paste("o <- ", obj_name, nModel, sep="")))
o
}
Is there a better way to do it? I have try to store it in the matrix using
data.frame(), but object become destroyed after that and predict() function
do not recognize...
2013 Jul 03
2
Potential memory leak when assigning MSetItem values
I've traced a memory leak to a statement which assigns the values from an
MSetItem to a dictionary which is then appended to a list in python. We're
running python 2.7.3, xapian-core 1.2.15 and xapian-bindings 1.2.15. I've
provided an example which reproduces the behavior below. The example prints
the PID and has a few statements waiting for input to make observing the
behavior easier.
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
...tftpboot")
+ else:
+ print "Aborting"
+ sys.exit(1)
+
+if options.disk is None:
+ print "Below are the detected disks, if the iscsi disk is not shown, please ensure you are logged into the correct target\n"
+ bus = dbus.SystemBus ()
+ hal_obj = bus.get_object ('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager')
+ hal = dbus.Interface (hal_obj, 'org.freedesktop.Hal.Manager')
+ udis = hal.FindDeviceByCapability ('storage')
+ dev_dict = {}
+ dev_count = 1
+ for udi in udis:
+ dev_obj = bus.get_object...
2007 Jan 01
1
DBus setting options broken
...tion->value.list.type but that
change alone doesn't seem to fix it. I've spent about an hour trying
to track this one down and am completely lost, hopefully someone else
can figure it out.
Here is the code I'm using to set a list option:
import dbus
bus = dbus.SessionBus()
obj = bus.get_object('org.freedesktop.compiz',
'/org/freedesktop/compiz/core/allscreens/active_plugins')
iface = dbus.Interface(obj, 'org.freedesktop.compiz')
value = iface.get()
value.remove('place')
iface.set(value)
--
Travis Watkins
http://www.realistanew.com
2020 Aug 14
0
Wine release 5.15
...ase parent IAMMediaStream refcount in IDirectDrawMediaStream::CreateSample().
configure: Add an option to disable QuickTime support.
wbemprox: Accept 0 and WBEM_FLAG_ALWAYS | WBEM_MASK_CONDITION_ORIGIN as flags in IWbemClassObject::GetNames().
wbemprox: Set obj to NULL on error in get_object().
wbemprox: Don't crash in IWbemClassObject::Put() when called with empty class object.
Hans Leidekker (1):
ws2_32: Avoid a crash in WS_getaddrinfo when the specified service doesn't exist.
Huw D. M. Davies (7):
maintainers: Add combase to the OLE RPC section.
ole...
2009 Oct 14
4
Refactor ovirt-node-image code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora.
Removed ks files, now in ovirt-node-recipe, which is subpackage of ovirt-node.
Removed tools, these are now in ovirt-node-recipe which is subpackage of
ovirt-node.
2010 Dec 24
0
Wine release 1.3.10
...Make win9x unsupported.
shdocvw: Share get_LocationURL implementation between WebBrowser and InternetExplorer objects.
shdocvw: Moved getting dochost pointer to separated function.
shdocvw: Added support for QueryService(IID_IWebBrowserApp).
mshtml: Added IHTMLObjectElement::get_object implementation.
mshtml: Added support for forwarding object element's DOM calls to ActiveX control.
mshtml: Improved QueryService debug traces.
mshtml: Improved IOmNavigator::javaEnabled stub.
mshtml: Added IHTMLScriptElement::get_scr implementation.
mshtml: Added...
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com,
including fixes to the BuildRequires and Requires in the spec file.
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate,
so I'm looking for feedback so we can push this and start using it.
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some
logging facilities that need to be fleshed out more.
2009 Sep 16
1
Final push candidate for nodeadmin tool...
This patch is ready for pushing upstream.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora.
Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe.
Removes old sub packages form ovirt-node, stateless, logos, selinux.
Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221
Added License file.
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...result[str(info.GetProperty("block.device"))] = info.GetProperty("volume.label")
return result
+
+ def list_network_devices(self):
+ result = []
+ for udi in self.__conn.FindDeviceByCapability("net"):
+ device = self.__bus.get_object("org.freedesktop.Hal", udi)
+ info = dbus.Interface(device, "org.freedesktop.Hal.Device")
+ result.append(info.GetProperty("net.interface"))
+ return result
diff --git a/nodeadmin/libvirtworker.py b/nodeadmin/libvirtworker.py
index adaea16....
2009 Jul 31
2
RFC: This patch is not being submitted for ACK...
...just looking for some feedback on the direction I'm going.
The code won't get all the way to the define stage since I'm in
the middle of retrofitting it to use virtinst instead of a home
spun node definition.