<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 25 March 2009), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="MS Exchange Server version 08.03.0279.000">
<title>Re: [Nexus] problems with current stable of nxbrowse and nxdir</title>
</head>
<body>
Hi<br>
<br>
Shouldn't we tag the repo as well so we know when kits are produced?<br>
<br>
Cheers<br>
Stu<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
<b>From: </b>Tobias.Richter@diamond.ac.uk [<a href="mailto:Tobias.Richter@diamond.ac.uk">Tobias.Richter@diamond.ac.uk</a>]<br>
<b>Sent: </b>Sunday, September 15, 2013 12:01 PM Eastern Standard Time<br>
<b>To: </b>nexus@nexusformat.org<br>
<b>Subject: </b>Re: [Nexus] problems with current stable of nxbrowse and nxdir<br>
<br>
<!-- Converted from text/plain format -->
<p><font size="2">Thanks Freddie!<br>
I noticed the commits when preparing updated Debian packages yesterday.<br>
So packages with the fixes will be out soon.<br>
<br>
Cheers,<br>
<br>
Tobias<br>
<br>
________________________________________<br>
From: nexus-bounces@nexusformat.org [nexus-bounces@nexusformat.org] on behalf of freddie.akeroyd@stfc.ac.uk [freddie.akeroyd@stfc.ac.uk]<br>
Sent: 14 September 2013 22:17<br>
To: nexus@nexusformat.org<br>
Subject: Re: [Nexus] problems with current stable of nxbrowse and nxdir<br>
<br>
Hi Tobias,<br>
<br>
I had a look at the files you sent me and the problem is indeed to do with attributes, but not with them being arrays - the NXgetnextattr() / NXgetattrinfo() functions did not agree on the attribute count of externally linked datasets. Some NeXus utilities (such as NXbrowse) repeatedly call NXgetnextattr() until it returns "no more attributes", these were working OK with external links; however utilities that call NXgetattrinfo() and then loop over NXgetnextattr() for the expected count (e.g. NXdir, NXtraverse) were rightly treating "no more attributes" as an error.<br>
<br>
Another issue came to light when I loaded Eugen's example file into a few other NeXus utilities - one of the groups in the file (NexusConfigurationLogs) had no NeXus class attribute, and this caused problems similar to the attributes one above with calls to NXgetgroupinfo() / NXgetnextentry()<br>
<br>
I've now fixed both these issues on trunk <a href="http://trac.nexusformat.org/code/changeset/1914">http://trac.nexusformat.org/code/changeset/1914</a> and merged the changes back into the 4.3 branch - an updated source download is available at <a href="http://download.nexusformat.org/kits/snapshots.shtml">http://download.nexusformat.org/kits/snapshots.shtml</a><br>
<br>
Regards,<br>
<br>
Freddie<br>
<br>
> -----Original Message-----<br>
> From: nexus-bounces@nexusformat.org [<a href="mailto:nexus-">mailto:nexus-</a><br>
> bounces@nexusformat.org] On Behalf Of Tobias.Richter@diamond.ac.uk<br>
> Sent: 10 September 2013 10:04<br>
> To: nexus@nexusformat.org<br>
> Subject: Re: [Nexus] problems with current stable of nxbrowse and nxdir<br>
><br>
> I can confirm that we have failure on (some of) our files.<br>
> My suspicion was that we have arrays as attributes, which for these utilities<br>
> is unexpected.<br>
> As I seem to be one of the last few to use command line tools on data files<br>
> here, there wasn't enough push from clients to get this fixed.<br>
><br>
> Regards,<br>
><br>
> Tobias<br>
><br>
> ________________________________________<br>
> From: nexus-bounces@nexusformat.org [nexus-<br>
> bounces@nexusformat.org] on behalf of Wintersberger, Eugen<br>
> [eugen.wintersberger@desy.de]<br>
> Sent: 10 September 2013 09:54<br>
> To: nexus@nexusformat.org<br>
> Subject: [Nexus] problems with current stable of nxbrowse and nxdir<br>
><br>
> Hi folks<br>
> I got some reports that nxbrowse and nxdir do not work with the Nexus<br>
> files we produce here at DESY. I can confirm this on my Debian system<br>
> where libnexus0 is installed in version 4.2.1.<br>
><br>
> I suspect that this still has a problem that we are using variable<br>
> length strings and thus cannot read attribute data correctly. I have<br>
> attached a file for testing. By the way can someone may have a look at<br>
> the file if we got it at least a bit right ;)<br>
><br>
> @Benjamin - this file does not collect non-standard fields into<br>
> NXcollection as we discussed in Warwick. However, our new setups do. I<br>
> am still working on the draft for a kind of 'best-practice' paper and I<br>
> hope I can submit it to this mailing list this week.<br>
><br>
> regards<br>
> Eugen<br>
><br>
><br>
> --<br>
> This e-mail and any attachments may contain confidential, copyright and or<br>
> privileged material, and are for the use of the intended addressee only. If<br>
> you are not the intended addressee or an authorised recipient of the<br>
> addressee please notify us of receipt by returning the e-mail and do not<br>
> use, copy, retain, distribute or disclose the information in or attached to the<br>
> e-mail.<br>
> Any opinions expressed within this e-mail are those of the individual and<br>
> not necessarily of Diamond Light Source Ltd.<br>
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any<br>
> attachments are free from viruses and we cannot accept liability for any<br>
> damage which you may sustain as a result of software viruses which may be<br>
> transmitted in or with the message.<br>
> Diamond Light Source Limited (company no. 4375679). Registered in England<br>
> and Wales with its registered office at Diamond House, Harwell Science and<br>
> Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> NeXus mailing list<br>
> NeXus@nexusformat.org<br>
> <a href="http://lists.nexusformat.org/mailman/listinfo/nexus">http://lists.nexusformat.org/mailman/listinfo/nexus</a><br>
--<br>
Scanned by iCritical.<br>
<br>
_______________________________________________<br>
NeXus mailing list<br>
NeXus@nexusformat.org<br>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus">http://lists.nexusformat.org/mailman/listinfo/nexus</a><br>
<br>
--<br>
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.<br>
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<br>
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.<br>
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<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
NeXus mailing list<br>
NeXus@nexusformat.org<br>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus">http://lists.nexusformat.org/mailman/listinfo/nexus</a><br></font></p>
</body>
</html>