Hi Jan,

I just updated Mercurial with the fix to this problem.  However, it's
messy to make it work with both 1.6.0 and 1.6.1 -- so I opted to make it
work with 1.6.1.

It seems that in one API, py2neo 1.6.0 returned a namedtuple, but now it
returns something with completely different behavior - which Nigel calls
a Record.  Seems like a fairly major change to make in a documented API
for a transition of .1 in the last digit of the version number...

Sigh...

In any case, it now seems to work with 1.6.1.  But now it *REQUIRES*
1.6.1 (or newer?).


On 11/21/2013 07:39 AM, Geldermann, Jan -bhn wrote:
>
> Ah good to know!
>
>  
>
> Thanks for this information!
>
>  
>
> *Von:*Alan Robertson [mailto:[email protected]]
> *Gesendet:* Donnerstag, 21. November 2013 15:38
> *An:* [email protected]; Nigel Small; Geldermann,
> Jan -bhn
> *Betreff:* Re: [Assimilation] Python AttributeError while doing tests
> with testify
>
>  
>
> I forgot to say that 1.6.0 doesn't have this problem.
>
> On 11/21/2013 07:24 AM, Alan Robertson wrote:
>
>     Hi,
>
>     This appears to be some sort of incompatibility between Py2Neo
>     1.6.1 and the Assimilation code.  From what I can tell, 1.6.1
>     shouldn't be any kind of big change in py2neo - but still it broke
>     our code.  Sigh... I'll look into this tomorrow and see what I can
>     learn.  I've CCed Nigel Small about this - to see if he has any
>     suggestions.
>
>     I'm committed to a conference show floor appearance this morning
>     and a presentation this evening - or I'd have already looked at it
>     ;-).
>
>     FYI: This issue came up on the -devel list - where I also
>     more-or-less ignored it there too ;-).
>
>     And another FYI:  It's better to subscribe to the list - sometimes
>     I forget to CC the person sending the email.
>
>     But I will look at it.
>
>
>     On 11/21/2013 06:03 AM, Geldermann, Jan -bhn wrote:
>
>         Hey,
>
>          
>
>         I am running Python 2.7 with all the packages you listed on your 
> website on a CentOs 6.  When I try to run "testify tests" I get the following 
> errors in the attached logfile. Also when I try to run the cma and a 
> nanoprobe connects to the cma I get the following message:
>
>          
>
>         CRITICAL: MessageDispatcher <type 'exceptions.AttributeError'> 
> exception ['tuple' object has no attribute 'get_properties'] occurred while 
> handling [JSDISCOVERY] FrameSetFrameset from [::xxxxxxxxx]:40991
>
>         ======== Begin JSDISCOVERY Message 'tuple' object has no attribute 
> 'get_properties' Exception Traceback ========
>
>         messagedispatcher.py.57:dispatch: 
> self.dispatchtable[fstype].dispatch(origaddr, frameset)
>
>         dispatchtarget.py.168:dispatch: drone.logjson(json)
>
>         droneinfo.py.126:logjson: Drone._JSONprocessors[dtype](self, jsonobj)
>
>         droneinfo.py.251:_add_tcplisteners: allourips = self.get_owned_ips()
>
>         droneinfo.py.100:get_owned_ips: ,       params=params)]
>
>         store.py.418:load_cypher_nodes: yield self.constructobj(cls, node)
>
>         store.py.497:constructobj: kwargs = node.get_properties()
>
>          
>
>         Don't have any idea why it's crashing. Tried to set the debug level 
> high for more details but no success.
>
>          
>
>         Thanks for helping me out!
>
>          
>
>         Jan Geldermann
>
>          
>
>
>
>
>         _______________________________________________
>
>         Assimilation mailing list - Discovery-Driven Monitoring
>
>         [email protected] 
> <mailto:[email protected]>
>
>         http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
>
>         http://assimmon.org/
>
>
>
>
>     -- 
>
>         Alan Robertson <[email protected]> <mailto:[email protected]> - @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
>
>     [email protected] 
> <mailto:[email protected]>
>
>     http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
>
>     http://assimmon.org/
>
>
>
>
> -- 
>     Alan Robertson <[email protected]> <mailto:[email protected]> - @OSSAlanR
>  
> "Openness is the foundation and preservative of friendship...  Let me claim 
> from you at all times your undisguised opinions." - William Wilberforce


-- 
    Alan Robertson <[email protected]> - @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
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to