Displaying 9 results from an estimated 9 matches for "__new__".
2015 Jan 08
3
Customising a CentOS 6.6 installation disk
...uot;/usr/lib/anaconda/network.py", line 326, in update
devhash = isys.getDeviceProperties(dev=none)
File "/usr/lib/anaconda/isys.py", line 375, in getDeviceProperties
bus = dbus.SystemBus()
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in
__new__
private=private()
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in
__new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus...
2016 Feb 24
0
(no subject)
...e "/usr/share/system-config-firewall/fw_tui.py", line 34, in <module>
import fw_nm
File "/usr/share/system-config-firewall/fw_nm.py", line 30, in <module>
bus = dbus.SystemBus()
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in __new__
private=private)
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(addres...
2015 Jan 08
0
Customising a CentOS 6.6 installation disk
.../network.py", line 326, in update
> devhash = isys.getDeviceProperties(dev=none)
> File "/usr/lib/anaconda/isys.py", line 375, in getDeviceProperties
> bus = dbus.SystemBus()
> File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in
> __new__
> private=private()
> File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in
> __new__
> bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
> File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in
> __new__...
2015 Jan 08
1
Customising a CentOS 6.6 installation disk
...rk.py", line 326, in update
>> devhash = isys.getDeviceProperties(dev=none)
>> File "/usr/lib/anaconda/isys.py", line 375, in getDeviceProperties
>> bus = dbus.SystemBus()
>> File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in __new__
>> private=private()
>> File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__
>> bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
>> File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__...
2006 Sep 13
1
[Fwd: Re: [Swig-user] wrapping enums for python]
...SS_MIN = 0,
> SS_MAX = 100
> };
>
>
> I get:
>
> print swigtest.SS_MAX
> 100
>
> and I would like to get:
>
> print swigtest.SS_MAX
> SS_MAX
>
> So the idea was to use something like:
>
> %pythoncode %{
>
> class Enum(int):
> def __new__(cls, arg, desc ):
> self = int.__new__(cls, arg)
> self.desc = desc
> return self
> def __repr__( self ):
> return self.desc
>
> %}
>
> and then somehow in the .py file
>
> SS_MIN = Enum(_swigtest.SS_MIN, "SS_MIN")
>...
2010 Feb 26
1
Re: Error: Device 0 (vif) could not be connected.Hotplugscripts not working
.../sys/bus/scsi/devices/target0:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/scsi_level: No such file or directory
/usr/lib64/python2.6/site-packages/xen/xend/XendAPI.py:544:
DeprecationWarning: object.__new__() takes no parameters return
object.__new__(cls, *args, **kwds)
/var/log/xen/xend.log has this
[2010-02-26 09:24:44 2337] DEBUG (XendDomainInfo:1709)
XendDomainInfo.handleShutdownWatch
[2010-02-26 09:24:44 2337] DEBUG (DevController:139) Waiting for devices
vif.
[2010-02-26 09:24:44 2337] DEBUG (...
2008 Aug 16
1
python how do i stem words in python?
...mmer.__str__
stemmer.__doc__ stemmer.__swig_destroy__
stemmer.__getattribute__ stemmer.__weakref__
stemmer.__hash__ stemmer.get_available_languages
stemmer.__init__ stemmer.get_description
stemmer.__module__ stemmer.this
stemmer.__new__ stemmer.thisown
stemmer.__reduce__
2010 Jun 21
6
Xen 4.0.1 rc3 pre install problem
Guys,
I''ve successfully ran dom0/domU (both Debian) in my local laptop using 2.6.32.15 dom0 with xen-4.0.1-rc3-pre. Great. Now I want to install it into couple of test-machines without compiling from source. So I did following..
a. make dist-xen
b. make dist-tools PYTHON_PREFIX_ARG="--install-layout=deb"
c. make dist-stubdom
This
2009 Jul 22
109
Unable to Configure Xen Dom 0 in Jeremy''s PVOPS Kernel
Hi All,
I followed the instructions here at
http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/
However, when I do a "make menuconfig", I cannot see any XEN related
configuration options. What am I missing?
Thank you.
Mr. Teo En Ming Dip(Mechatronics Engineering) BEng(Hons)(Mechanical
Engineering)