search for: isinst

Displaying 20 results from an estimated 36 matches for "isinst".

Did you mean: ioinst
2019 Nov 14
2
samba-tool ldapcmp without --filter errors out.
...cmd/ldapcmp.py", line 781, in diff ??? if object1 == object2: ? File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 549, in __eq__ ??? return self.cmp_attrs(other) ? File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 590, in cmp_attrs ??? if isinstance(self.attributes[x], list) and isinstance(other.attributes[x], list): ? samba-tool ldapcmp --filter="cn,CN" ldap://dc1.fqdn ?ldap://dc2.fqdn ? * Comparing [DOMAIN] context... ? * Objects to be compared: 845 ? * Result for [DOMAIN]: SUCCESS ? * Comparing [CONFIGURATION] context... ? *...
2018 Mar 12
1
[PATCH RHEL 7] RHEL 7: -o rhv-upload: Use Python 2 instead of Python
For interest only, here is the patch required to make -o rhv-upload work with Python 2 (for RHEL 7). I don't think we want this upstream. A couple of remarks: * It's supposed to be possible to add ‘coding: utf-8’ to the top of .py files to make Python 2 accept that the file is UTF-8 (otherwise it gives an error on loading). However I added this and it didn't appear to make any
2012 Apr 04
10
[PATCH 0 of 2] libxl: add libxl_domain_config_init
The following series implements libxl_domain_config_init as per the libxl API requirement that each type has an init function. The first function does this in an open coded manner and is proposed for Xen 4.2. The second function is RFC only since it moves the definition of this type into the IDL and makes the required infrastructure updates to enable this. I think this is more 4.3 material at
2017 Jun 21
2
question about llvmlite
​Hi all, I am using llvmlite for pyvex and I want the output of my code (which is written based on llvmlite) to be like pyvex. In pyvex, (https://github.com/angr/pyvex). Considering pyvex, I tried to implement the following statements in pyvex to llvmlite: for stmt in irsb.statements: if isinstance(stmt, pyvex.IRStmt.Store): print "ST%s(%s) = %s" % (self.endness[-2:].lower(), self.addr, self.data) (which gets the data in a register and store it in another register) I translate it in llvmlite as follows: from ctypes import CFUNCTYPE, c_intimport archinfoimport llvmlite.ir a...
2016 Feb 12
2
[PATCH] python: tests: use more targeted assert*() functions/checks
- use assertIsInstance, assertNotEqual, and assertIsNotNone as more specific checks (will produce better logging) - use assertRaises when expecting exceptions being thrown - when testing internal_test_rhashtable, instead of checking type and elements of the return values just check the return value as a whole (...
2010 Aug 27
3
[PATCH 0 of 3] libxl: cleanups for type destructor generation
Following series cleans up a few niggles in the libxl destructor autogeneration. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2019 Jul 25
2
Possible problems with AD Schema in Samba 4
...cmd/ldapcmp.py", line 781, in diff if object1 == object2: File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 549, in __eq__ return self.cmp_attrs(other) File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 590, in cmp_attrs if isinstance(self.attributes[x], list) and isinstance(other.attributes[x], list): ######################################## The Schema version of my Windows 2008 Server is 44 and I am using Samba 4.10.6-Debian: ldbsearch -H /var/lib/samba/private/sam.ldb -b 'cn=Schema,cn=Configuration,dc=empresa,dc=c...
2020 Jun 30
0
Trouble to keep replication in sync - W2008R2
...cmp.py", line 781, in diff ??? if object1 == object2: ? File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 549, in __eq__ ??? return self.cmp_attrs(other) ? File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 590, in cmp_attrs ??? if isinstance(self.attributes[x], list) and isinstance(other.attributes[x], list): root at araucaria:~# Any ideas? Thanks in advance. -- *Marcio Merlone*
2012 Nov 20
0
[PATCH 04 of 15] libxl: ocaml: fix code intended to output comments before definitions
...Nov 20 17:22:21 2012 +0000 @@ -79,12 +79,14 @@ def gen_ocaml_ml(ty, interface, indent=" s = ("""(* %s interface *)\n""" % ty.typename) else: s = ("""(* %s implementation *)\n""" % ty.typename) + if isinstance(ty, idl.Enumeration): - s = "type %s = \n" % ty.rawname + s += "type %s = \n" % ty.rawname for v in ty.values: s += "\t | %s\n" % v.rawname elif isinstance(ty, idl.Aggregate): - s = "" + s += "&q...
2019 Jul 20
2
ARI libraries?
In article <301a2e78-d490-3805-e30f-41b668aac5c1 at sysnux.pf>, Jean-Denis Girard <jd.girard at sysnux.pf> wrote: > > Hi Tony, > > Le 20/07/2019 à 06:29, Tony Mountifield a écrit : > > Are there any other languages/libraries I should be considering? > > Same here, after years of AGI / AMI, I recently made my first project > using ARI on Asterisk-16. I love
2006 Mar 28
7
[PATCH] XML-RPC: Cope with large integers on x86-64 systems
Attached patch fixes a problem in marshaling large integers. It seems to only occur on systems with very large memory. However, on those systems, it''s a show-stopper. I see this as a temporary solution until we can sanitize the XML-RPC functions and get rid of all the S-Expression stuff. I''ll run xm-test tomorrow against it. Right now I''ve only done basic
2019 Jul 26
0
Possible problems with AD Schema in Samba 4
...diff > if object1 == object2: > File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 549, > in __eq__ > return self.cmp_attrs(other) > File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 590, > in cmp_attrs > if isinstance(self.attributes[x], list) and > isinstance(other.attributes[x], list): > > > ######################################## > > The Schema version of my Windows 2008 Server is 44 and I am using Samba > 4.10.6-Debian: > > ldbsearch -H /var/lib/samba/private/sam.ldb -b > &...
2019 Jun 25
2
One DC cannot authenticate off of another DC
..., in diff? > ? ? if object1 == object2:? > ? File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 549, in __eq__? > ? ? return self.cmp_attrs(other)? > ? File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 590, in cmp_attrs? > ? ? if isinstance(self.attributes[x], list) and isinstance(other.attributes[x], list):? (And all of that SERVERREFERENCEBL stuff is probably unrelated. It's just very irritating, as it seems to be an attribute created during a DC promotion/domain join, but not during subsequent replications, and the ldapcm...
2019 Jun 26
0
One DC cannot authenticate off of another DC
...> > ? File > "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", > line 549, in __eq__? > > ? ? return self.cmp_attrs(other)? > > ? File > "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", > line 590, in cmp_attrs? > > ? ? if isinstance(self.attributes[x], list) and > isinstance(other.attributes[x], list):? > > > (And all of that SERVERREFERENCEBL stuff is probably > unrelated. It's just very irritating, as it seems to be an > attribute created during a DC promotion/domain join, but not > during...
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings to libxl, to make them useful for clients such as xapi/xenopsd (from XCP). There are a number of bugfixes to the existing bindings as well. I have an experimental version of xenopsd that successfully uses the new bindings. An earlier version of the first half of the series was submitted to the last by Ian Campbell on
2020 Feb 25
0
Replication failing with Win 2012 R2 (maybe)
...cmd/ldapcmp.py", line 781, in diff if object1 == object2: File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 549, in __eq__ return self.cmp_attrs(other) File "/usr/lib/python3/dist-packages/samba/netcmd/ldapcmp.py", line 590, in cmp_attrs if isinstance(self.attributes[x], list) and isinstance(other.attributes[x], list): Command: (on cdcx15) sudo samba-tool drs replicate vdcw00 cdcx15 DC=MY,DC=ORGNAME,DC=TLD --sync-all --full-sync -d9 Error: drsuapi_DsReplicaSync: struct drsuapi_DsReplicaSync out: struct drsuapi_DsReplicaSync...
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
Hello, Third version of the NUMA placement series Xen 4.2. All the comments received during v2''s review have been addressed (more details in single changelogs). The most notable changes are the following: - the libxl_cpumap --> libxl_bitmap renaming has been rebased on top of the recent patches that allows us to allocate bitmaps of different sizes; - the heuristics for deciding
2016 Mar 24
2
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
...gt;>> n_runs = 1 >>>>>>> runtimes = [] >>>>>>> + metrics = {} >>>>>>> for n in range(n_runs): >>>>>>> res = runScript(context, runscript) >>>>>>> if isinstance(res, lit.Test.Result): >>>>>>> @@ -94,6 +97,15 @@ class TestSuiteTest(FileBasedTest): >>>>>>> output += "\n" + err >>>>>>> return lit.Test.Result(Test.FAIL, output) >>>>>>> &...
2014 Jun 02
2
list all emails from command line?
This is not strictly Dovecot question, but a more general IMAP one. I'm running a Dovecot server and have a user who is claiming that some email sent to him, say, on 30 May, showed up in his mailbox on 02 Jun. I've checked Postfix logs, and the message was correctly received on 30 May and passed to Dovecot. A similar issue happens every few days. This leaves me with two possibilities:
2016 Mar 24
0
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
...uns = 1 >>>>>>>> runtimes = [] >>>>>>>> + metrics = {} >>>>>>>> for n in range(n_runs): >>>>>>>> res = runScript(context, runscript) >>>>>>>> if isinstance(res, lit.Test.Result): >>>>>>>> @@ -94,6 +97,15 @@ class TestSuiteTest(FileBasedTest): >>>>>>>> output += "\n" + err >>>>>>>> return lit.Test.Result(Test.FAIL, output) >>>>&gt...