[NeXus-code-tickets] [NeXusCode] #182: opengroup() fails with wrong exception

NeXus Data Format Library and Applications noreply at nexusformat.org
Wed Jun 3 09:26:23 BST 2009


#182: opengroup() fails with wrong exception
-----------------------------+----------------------------------------------
 Reporter:  Cpascual         |       Owner:  Unassigned
     Type:  defect           |      Status:  new       
 Priority:  major            |   Milestone:            
Component:  python bindings  |     Version:  4.2.0     
 Keywords:                   |  
-----------------------------+----------------------------------------------
 The documentation says that opengroup() should raise ValueError if it
 fails to open the group.
 Instead it fails with:

 {{{
 <type 'exceptions.TypeError'>: not all arguments converted during string
 formatting
 }}}

 in __getnxclass()


 I think this is a bug in {{{__getnxclass()}}} and it affects other API
 functions as well (e.g. openpath)

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/182>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list