-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in nexusSrc (or NDFileNexus in ADCore) #9
Comments
I think this may be a problem with disabling error reporting. napi.c contains the following:
So it looks like it tries to turn off error messages before it calls NXgetattr. So perhaps this is just not working. |
It appears that NXMDisableErrorReporting() only disables error messages from the Nexus code, not from the underlying HDF5 library. The messages above are from the HDF5 library. It is possible they are happening because I am building a Debug release of HDF, rather than a Production release, but I don't think so. Has anyone seen these errors before, or have any idea how to suppress them. It looks to me like the Nexus library is trying to see if an attribute called "napimount" is present, but it does that in a way that if it is not present we get errors from the HDF5 library. |
Some more information:
I can get the error to go away on Linux by doing the following:
|
I haven't really used the NeXus library and this doesn't ring any bells... @PeterC-DLS - do you understand why the NeXus library may be trying to look for the "napimount" attribute in such a brutal manner? |
Hi Ulrik,
I’m not sure what the context of this is (I’m not on this repo). However, my knowledge is that NeXus had their own standard for referring to external datasets by having a (empty) placeholder dataset with an attribute named “napimount”. The content of this attribute conforms to a URI scheme called “nxfile” and this references a file path and target within that file in a similar manner to external links in HDF5.
Regards,
Peter
From: Ulrik Kofoed Pedersen [mailto:notifications@github.com]
Sent: 16 May 2017 09:35
To: areaDetector/ADSupport <ADSupport@noreply.github.com>
Cc: Chang, Peter (DLSLtd,RAL,LSCI) <Peter.Chang@Diamond.ac.uk>; Mention <mention@noreply.github.com>
Subject: Re: [areaDetector/ADSupport] Bug in nexusSrc (or NDFileNexus in ADCore) (#9)
I haven't really used the NeXus library and this doesn't ring any bells... @PeterC-DLS<https://github.com/peterc-dls> - do you understand why the NeXus library may be trying to look for the "napimount" attribute in such a brutal manner?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#9 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABUVVx62FPl3gV6t65HBS8J-8WLVkjnbks5r6V-cgaJpZM4M8EdB>.
…--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
|
When saving files in Stream mode with NDFileNexus we now get these errors from the HDF5 library:
This needs to be tracked down and fixed.
The text was updated successfully, but these errors were encountered: