Hi Nigel, I'm back with more incorrect character escaping problems :-D.
It looks like when you query an index with get_indexed_node() with the (key, value) pair below, it gets a ClientError exception. Key: "global" Value: "bacula-dir|/usr/sbin|servidor|bacula:bacula|['/usr/sbin/bacula-dir', '-c', '/etc/bacula/bacula-dir.conf', '-u', 'bacula', '-g', 'bacula']" It seems to be perfectly happy to put this key/value pair in the index, just not so happy to find it later.... If I change the value part to just "bacula-dir_servidor" for the key, it works just fine... COMMITTING THIS THING: { db: Resource(u'http://localhost:7474/db/data/'), classes: {<class 'hbring.HbRing'>: True, <class 'droneinfo.Drone'>: True, <class 'graphnodes.NICNode'>: True, <class 'graphnodes.IPaddrNode'>: True, <class 'graphnodes.ProcessNode'>: True}, uniqueindexmap: {'IPtcpportNode': True, 'Switch': True, 'Drone': True, 'IPaddrNode': True, 'NICNode': True, 'HbRing': True, 'CMAclass': True, 'ProcessNode': True}, classkeymap: {'IPtcpportNode': {'index': 'IPtcpportNode', 'vattr': 'ipport', 'kattr': 'domain'}, 'Switch': {'index': 'Switch', 'vattr': 'name', 'kattr': 'domain'}, 'Drone': {'index': 'Drone', 'vattr': 'designation', 'kattr': 'domain'}, 'IPaddrNode': {'index': 'IPaddrNode', 'vattr': 'ipaddr', 'kattr': 'domain'}, 'NICNode': {'index': 'NICNode', 'vattr': 'macaddr', 'kattr': 'domain'}, 'HbRing': {'index': 'HbRing', 'vattr': 'name', 'key': 'global'}, 'CMAclass': {'index': 'CMAclass', 'vattr': 'name', 'key': 'global'}, 'ProcessNode': {'index': 'ProcessNode', 'vattr': 'processname', 'kattr': 'domain'}} batchindex: 0 clients: [<droneinfo.Drone object at 0x1322d10>, <graphnodes.ProcessNode object at 0x1324f10>] newrels: [{'to': <cmadb.CMAclass object at 0x130edd0>, 'props': None, 'from': <graphnodes.ProcessNode object at 0x1324f10>, 'type': 'IS_A'}] deletions: [] weaknoderefs: {15072: <weakref at 0x12fcf18; to 'HbRing' at 0x130e410>, 15073: <weakref at 0x12fcd08; to 'Drone' at 0x1322d10>} batch: <py2neo.neo4j.WriteBatch object at 0x13081d0> } Traceback (most recent call last): File "cma/cma.py", line 292, in <module> sys.exit(main()) File "cma/cma.py", line 288, in main listener.listen() File "/home/alanr/monitor/src/cma/packetlistener.py", line 72, in listen self.dispatcher.dispatch(fromaddr, frameset) File "/home/alanr/monitor/src/cma/messagedispatcher.py", line 90, in dispatch CMAdb.store.commit() File "/home/alanr/monitor/src/cma/store.py", line 706, in commit submit_results = self.batch.submit() File "/usr/local/lib/python2.7/dist-packages/py2neo-1.6.0-py2.7.egg/py2neo/neo4j.py", line 2529, in submit responses = self._execute() File "/usr/local/lib/python2.7/dist-packages/py2neo-1.6.0-py2.7.egg/py2neo/neo4j.py", line 2500, in _execute raise CustomBatchError(e) py2neo.neo4j.BatchOperationFailedException: { "extensions" : { }, "paged_traverse" : "http://localhost:7474/db/data/node/15078/paged/traverse/{returnType}{?pageSize,leaseTime}", "outgoing_relationships" : "http://localhost:7474/db/data/node/15078/relationships/out", "traverse" : "http://localhost:7474/db/data/node/15078/traverse/{returnType}", "all_typed_relationships" : "http://localhost:7474/db/data/node/15078/relationships/all/{-list|&|types}", "all_relationships" : "http://localhost:7474/db/data/node/15078/relationships/all", "property" : "http://localhost:7474/db/data/node/15078/properties/{key}", "self" : "http://localhost:7474/db/data/node/15078", "properties" : "http://localhost:7474/db/data/node/15078/properties", "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/15078/relationships/out/{-list|&|types}", "incoming_relationships" : "http://localhost:7474/db/data/node/15078/relationships/in", "incoming_typed_relationships" : "http://localhost:7474/db/data/node/15078/relationships/in/{-list|&|types}", "create_relationship" : "http://localhost:7474/db/data/node/15078/relationships", "data" : { "uid" : "bacula", "arglist" : [ "/usr/sbin/bacula-dir", "-c", "/etc/bacula/bacula-dir.conf", "-u", "bacula", "-g", "bacula" ], "processname" : "bacula-dir|/usr/sbin|servidor|bacula:bacula|['/usr/sbin/bacula-dir', '-c', '/etc/bacula/bacula-dir.conf', '-u', 'bacula', '-g', 'bacula']", "host" : "servidor", "nodetype" : "ProcessNode", "domain" : "global", "gid" : "bacula", "pathname" : "/usr/sbin/bacula-dir", "cwd" : "/" }, "indexed" : "http://localhost:7474/db/data/index/node/ProcessNode/global/bacula-dir%7C%2Fusr%2Fsbin%7Cservidor%7Cbacula%3Abacula%7C%5B%27%2Fusr%2Fsbin%2Fbacula-dir%27%2C%20%27-c%27%2C%20%27%2Fetc%2Fbacula%2Fbacula-dir.conf%27%2C%20%27-u%27%2C%20%27bacula%27%2C%20%27-g%27%2C%20%27bacula%27%5D/15078" } -- Alan Robertson <al...@unix.sh> - @OSSAlanR "Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce _______________________________________________ Assimilation mailing list - Discovery-Driven Monitoring Assimilation@lists.community.tummy.com http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation http://assimmon.org/