Displaying 20 results from an estimated 38 matches for "__call__".
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
...ci.log :
Error - <type 'exceptions.AttributeError'>: 'Vm' object has no attribute
'delIndependentSubtree'
URL: https://192.168.0.88:4443/cluster/machines/services_cmd?command=Edit
File '/usr/lib/python2.6/site-packages/weberror/errormiddleware.py', line
162 in __call__
app_iter = self.application(environ, sr_checker)
File '/usr/lib/python2.6/site-packages/tg/configuration.py', line 655 in
wrapper
return app(environ, start_response)
File '/usr/lib/python2.6/site-packages/tg/configuration.py', line 555 in
remover
return app(environ, start_resp...
2009 Nov 11
1
fisher.test negative value error
...= robjects.r['fisher.test'](m)
return s
*
Here the value of a=0,b=1,c=0 and d=1. so the matrix m should be like this
[,1] [,2]
[1,] 0 0
[2,] 1 1
But I am getting an error like this
*File "/usr/lib64/python2.6/site-packages/rpy2/robjects/__init__.py", line
422, in __call__
res = super(RFunction, self).__call__(*new_args, **new_kwargs)
rinterface.RRuntimeError: Error in function (x, y = NULL, workspace = 2e+05,
hybrid = FALSE, control = list(), :
all entries of 'x' must be nonnegative and finite*
clearly every element of matrix m is +ve but I don't...
2018 Jan 22
1
geo-replication initial setup with existing data
2008 Aug 16
1
python how do i stem words in python?
...with it in python.
there is no stemmer.stem_word method in the latest python library. how
do i stem words before doing doc.add_posting?
is there any sample hello world code in python that i can use?
thanks a lot!
>>> stemmer = xapian.Stem('english')
>>> stemmer.
stemmer.__call__ stemmer.__reduce_ex__
stemmer.__class__ stemmer.__repr__
stemmer.__delattr__ stemmer.__setattr__
stemmer.__dict__ stemmer.__str__
stemmer.__doc__ stemmer.__swig_destroy__
stemmer.__getattribute__ stemmer.__weakref_...
2017 Aug 17
0
Extended attributes not supported by the backend storage
..._xattr_cbk] 0-glusterfs-fuse: extended attribute not supported by the backend storage
Then it starts syncing the data but it stops at the exact same point every time I try. In the master, I'm getting the following error messages:
[2017-08-16 12:57:45.205311] E [repce(/mnt/storage/lapbacks):207:__call__] RepceClient: call 17769:140586894673664:1502888257.97 (entry_ops) failed on peer with OSError
[2017-08-16 12:57:45.205593] E [syncdutils(/mnt/storage/lapbacks):312:log_raise_exception] <top>: FAIL:
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syn...
2017 Aug 16
0
Geo replication faulty-extended attribute not supported by the backend storage
...attr_cbk] 0-glusterfs-fuse: extended attribute not supported by the backend storage
Then it starts syncing the data but it stops at the exact same point every time I try. In the master, I'm getting the following error messages:
[2017-08-16 12:57:45.205311] E [repce(/mnt/storage/lapbacks):207:__call__] RepceClient: call 17769:140586894673664:1502888257.97 (entry_ops) failed on peer with OSError
[2017-08-16 12:57:45.205593] E [syncdutils(/mnt/storage/lapbacks):312:log_raise_exception] <top>: FAIL:
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syn...
2004 Aug 06
3
BUG: page-aligned data in libshout
...elf.shout.host = stream.host
self.shout.port = stream.port
self.shout.user = stream.user
self.shout.password = stream.password
self.shout.mount = stream.mount
self.shout.format = 'vorbis'
self.shout.protocol = 'http'
self.shout.open()
def __call__(self, data) :
self.ogg.bytesin(data)
while 1:
newpage = self.ogg.pageseek()
if newpage == None :
break
if self.page == 0 :
self.page = newpage
continue
if self.page.serialno != newpage.serialno : self.page.eos = 1...
2004 Aug 06
3
BUG: page-aligned data in libshout
...elf.shout.host = stream.host
self.shout.port = stream.port
self.shout.user = stream.user
self.shout.password = stream.password
self.shout.mount = stream.mount
self.shout.format = 'vorbis'
self.shout.protocol = 'http'
self.shout.open()
def __call__(self, data) :
self.ogg.bytesin(data)
while 1:
newpage = self.ogg.pageseek()
if newpage == None :
break
if self.page == 0 :
self.page = newpage
continue
if self.page.serialno != newpage.serialno : self.page.eos = 1...
2013 Nov 01
5
xend with XenAPI in stackless python-2.7
...ges/XenAPI.py", line 171, in
_login
self.API_version =
self._get_api_version()
File "/usr/lib/python2.7/site-packages/XenAPI.py", line 186, in
_get_api_version
pool =
self.xenapi.pool.get_all()[0]
File "/usr/lib/python2.7/site-packages/XenAPI.py", line 245, in
__call__
return self.__send(self.__name,
args)
File "/usr/lib/python2.7/site-packages/XenAPI.py", line 149, in
xenapi_request
result = _parse_result(getattr(self,
methodname)(*full_params))
File "/usr/lib/python2.7/site-packages/XenAPI.py", line 219, in
_parse_result
rai...
2008 Apr 30
1
Python bindings smoketest error
...smoketest. I'm using latest Swig and Python
bindings from SVN-HEAD:
File "smoketest.py", line 23, in <module>
import xapian
File
"C:\work\xapian\xapian-SVN\xapian-core\win32\Release\Python\xapian.py",
line 2099, in <module>
ValueRangeProcessor.__call__ = ValueRangeProcessor.__call
AttributeError: type object 'ValueRangeProcessor' has no attribute '__call'
This is the very last line in xapian.py, if that's relevant!
Cheers
Charlie
2010 Dec 01
2
Using a subclass of MatchSpy in Python bindings
...ve Enquire use it. However, when I try to do so, I get a
TypeError raised. The following example illustrates this:
>>> import xapian
>>> database = xapian.Database(dbpath)
>>> class MyMatchSpy(xapian.MatchSpy):
... def __init__(self):
... pass
... def __call__(self, *args, **kw):
... print "called with", args, kw
...
>>> ms = MyMatchSpy()
>>> enquire = xapian.Enquire(database)
>>> enquire.add_matchspy(ms)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File...
2013 Mar 20
2
Geo-replication broken in 3.4 alpha2?
...a while and after that it switched to "N/A". I set log-level to DEBUG and saw lines like these appearing every 10 seconds:
[2013-03-20 18:48:19.417107] D [repce:175:push] RepceClient: call 27756:140178941277952:1363798099.42 keep_alive(None,) ...
[2013-03-20 18:48:19.418431] D [repce:190:__call__] RepceClient: call 27756:140178941277952:1363798099.42 keep_alive -> 34
[2013-03-20 18:48:29.427959] D [repce:175:push] RepceClient: call 27756:140178941277952:1363798109.43 keep_alive(None,) ...
[2013-03-20 18:48:29.429172] D [repce:190:__call__] RepceClient: call 27756:140178941277952:13637981...
2011 Jun 28
2
Issue with Gluster Quota
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110628/64de4f5c/attachment.html>
2012 May 06
1
Bug#671750: Configuration of domain save/restore broken
.../bin/../lib/python/xen/xm/main.py", line 4007, in _run_cmd
return True, cmd(args)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/main.py", line 923, in xm_restore
server.xend.domain.restore(savefile, paused)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/xmlrpcclient.py", line 124, in __request
response = xmlrpclib.ServerProxy.__request(self, methodname, params)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
v...
2008 May 02
6
Python script to collect domU stats
I''ve attached a python script that collects stats from DomUs (HVM and
PVM). I hope this would be useful for somebody else.
See comments for more info.
regards,
Diego
--
--------------
Diego Woitasen
XTECH
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2016 Feb 15
3
Issues in Example code
Hi
My name is Shiv and I am student at IIIT-D ( http://www.iiitd.edu.in/ )
pursuing my undergrad education in Computer Science. I am currently in my
final year.
I am following the Xapian Gsoc guide (
https://trac.xapian.org/wiki/GSoC%20Guide#Mentoring). I have successfully
checked out and built the code. I am trying out the python codes given at (
2022 Nov 04
3
[libnbd PATCH v2 0/3] Improve nbdsh -u handling
v1 was here:
https://listman.redhat.com/archives/libguestfs/2022-October/030216.html
Since then, I've incorporated changes based on Rich's feedback:
swap order of patches 2 and 3
less change in patch 1 (including no unsafe eval(%s) for --uri)
in patch 2, include -c in list of snippets to store, and use dict of
lambdas to map back to the desired action
Eric Blake (3):
nbdsh:
2013 May 24
3
[BUG, PATCH] xen-4.1-3 xend/XendDomainInfo.py#device_configure() TypeError
.../xen/xend/server/SrvDomain.py", line 216, in op_device_configure
req)
File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvDomain.py", line 186, in call
return FormFn(fn, args)(req.args)
File "/usr/lib/python2.6/dist-packages/xen/xend/Args.py", line 166, in __call__
return self.call_with_form_args(self.fn, fargs, xargs=xargs)
File "/usr/lib/python2.6/dist-packages/xen/xend/Args.py", line 138, in call_with_form_args
return fn(*params, **keys)
File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 1214, in device...
2015 Nov 02
0
Errors with virt-manager
...virt-manager/virtManager/connect.py", line 143, in show
self.start_browse()
File "/usr/share/virt-manager/virtManager/connect.py", line 273, in
start_browse
service, domain, flags)
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line
171, in __call__
None)
GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.Avahi was not provided by any .service files
Searching about this error, I have found this patch:
https://www.redhat.com/archives/virt-tools-list/2014-December/msg00165.html
But applying this...
2004 Aug 06
0
OOPS! (was BUG: page-aligned data in libshout)
...in my proof:
On Sat, May 17, 2003 at 02:07:36AM -0400, Arc wrote:
>
> The last test, and the way the code currently stands, proves that the
> bug is in sending libshout page-aligned data:
>
> [...]
> self.shout.open()
> self.shout.send('OggS')
> def __call__(self, data) :
> [...]
> out=self.page.header[3:]+self.page.body+'OggS'
> print 'Sending Page %d' % self.page.pageno
> self.shout.sync()
> self.shout.send(data)
> self.page=newpage
> return
I was still sending i...