Ahh, yes, this is due to the RESTies not wanting to see keys with whitespaces, so Jim and me changed it. Sorry for not communicating it!
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Dec 21, 2010 at 1:20 PM, Javier de la Rosa <[email protected]> wrote: > On Tue, Dec 21, 2010 at 02:31, Chris Diehl <[email protected]> wrote: >> For those of you using the Python REST client ( >> https://github.com/versae/neo4j-rest-client) with neo4j 1.2.M05, are you >> able to successfully access the relationships associated with a given node? >> When I tried this today with my data, I saw the following. >> >> Any thoughts as to what might be going on? > > I think is due to the change in the new server versions of the keys > "outgoing_relationships", "ingoing_relationships" and > "all_relationships" instead of "outgoing relationships", "ingoing > relationships" and "all relationships". > I will take a look. > > Thanks for report the bug. > >> >> Thanks, >> Chris >> >>>>> n = gdb.node[252] >>>>> n.properties >> {'fullyObserved': False, 'type': 'Email Address', 'address': >> '[email protected]'} >>>>> n.relationships.all() >> Traceback (most recent call last): >> File "", line 1, in >> File "neo4j_rest_client.py", line 430, in get_relationships >> url = self._node._dic[key] >> KeyError: 'all relationships' >>>>> n.relationships.incoming() >> Traceback (most recent call last): >> File "", line 1, in >> File "neo4j_rest_client.py", line 430, in get_relationships >> url = self._node._dic[key] >> KeyError: 'incoming relationships' >>>>> n.relationships.outgoing() >> Traceback (most recent call last): >> File "", line 1, in >> File "neo4j_rest_client.py", line 430, in get_relationships >> url = self._node._dic[key] >> KeyError: 'outgoing relationships' >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > > > > -- > Javier de la Rosa > http://versae.es > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

