[Rivet] problems with rivet 2.6.0

Andy Buckley andy.buckley at cern.ch
Wed Jul 11 09:42:18 BST 2018


No idea where the strange timestamp came from, but good that the file is there!

Andy
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Experiment Group, University of Glasgow

On Jul 11 2018, at 6:02 am, Hannes Jung <hannes.jung at desy.de> wrote:
>
> Hi Andy
>
> thanks a lot, this seem to work.
> Only the yoda file has a funny time-stamp:
>
> ~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832
> Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2
> Getting Inspire/SPIRES biblio data for 'CMS_2014_I1410832'
> Getting data file from HepData at http://www.hepdata.net/record/ins1410832?format=yoda
> Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so CMS_2014_I1410832.cc (http://cms_2014_i1410832.cc)' to compile the plugin
> ~/jung/cvs/myrivet2> ls -rtl CMS_2014_I1410832*
> -rw------- 1 jung 49 3004 Sep 10 2017 CMS_2014_I1410832.yoda
> -rw-r--r-- 1 jung 49 1319 Jul 11 07:00 CMS_2014_I1410832.cc (http://cms_2014_i1410832.cc)
> -rw-r--r-- 1 jung 49 398 Jul 11 07:00 CMS_2014_I1410832.plot
> -rw-r--r-- 1 jung 49 1701 Jul 11 07:00 CMS_2014_I1410832.info (http://cms_2014_i1410832.info)
>
> but at least this works
>
> Thanks a lot
>
> Cheers
> Hannes
>
>
> > On 10. Jul 2018, at 17:04, Andy Buckley <andy.buckley at cern.ch (mailto:andy.buckley at cern.ch)> wrote:
> > Hmm, worked for me. Reading around a little, that may be a problem with os.rename if the tempfile directory is on a separate filesystem... maybe Macs do that. I've attached a cleverer iteration which should fix it. Thanks for the live testing; this stuff is very hard to catch in pre-release validation ;-)
> > Andy
> > Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
> > Particle Physics Experiment Group, University of Glasgow
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Jul 10 2018, at 3:21 pm, Hannes Jung <hannes.jung at desy.de (mailto:hannes.jung at desy.de)> wrote:
> > >
> > > Hi Andy
> > >
> > > thanks a lot for your quick response.
> > > I tried it and get:
> > > ~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832
> > > Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2
> > > Getting Inspire/SPIRES biblio data for 'CMS_2014_I1410832'
> > > Getting data file from HepData at http://www.hepdata.net/record/ins1410832?format=yoda
> > > /var/folders/v7/9tk93_ps6_n_8vyltpm64r7h0002xh/T/tmpwmCe_e
> > > Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so CMS_2014_I1410832.cc (http://cms_2014_i1410832.cc/)' to compile the plugin
> > >
> > > but the yoda file is not there
> > >
> > > -rw-r--r-- 1 jung 49 1319 Jul 10 16:19 CMS_2014_I1410832.cc (http://cms_2014_i1410832.cc/)
> > > -rw-r--r-- 1 jung 49 398 Jul 10 16:19 CMS_2014_I1410832.plot
> > > -rw-r--r-- 1 jung 49 1701 Jul 10 16:19 CMS_2014_I1410832.info (http://cms_2014_i1410832.info/)
> > >
> > > Anything else I have to do ?
> > >
> > > Thanks a lot
> > > Cheers
> > > Hannes
> > >
> > > > On 10. Jul 2018, at 15:57, Andy Buckley <andy.buckley at cern.ch (mailto:andy.buckley at cern.ch)> wrote:
> > > > Hi Hannes,
> > > > Thanks, I can reproduce this. Looks like it was always a dodgy bit of code that treated the downloaded HepData tarball as a string... but I'm not sure why it has only now started to fall over. I've just fixed it for version 2.6.1, but here's a replacement version of the rivet-mkanalysis script that should solve the problem.
> > > > Andy
> > > > Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
> > > > Particle Physics Experiment Group, University of Glasgow
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 10 2018, at 1:10 pm, Hannes Jung <hannes.jung at desy.de (mailto:hannes.jung at desy.de)> wrote:
> > > > >
> > > > > Dear Rivet developers
> > > > >
> > > > > I want to create an analysis, and see a problem with hepdata and rivet 2.6.
> > > > > (in version 2.5.2 it seems to work):
> > > > >
> > > > > ~/jung/cvs/myrivet2> source /Users/jung/jung/cvs/rivet-2.5.2/local/rivetenv.sh
> > > > > ~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832
> > > > > Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2
> > > > > Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so CMS_2014_I1410832.cc (http://cms_2014_i1410832.cc/)' to compile the plugin
> > > > >
> > > > > ~/jung/cvs/myrivet2> source /Users/jung/jung/cvs/rivet-2.6.0/rivetenv.sh
> > > > > ~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832
> > > > > Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2
> > > > > HepData oops: initial_value must be unicode or None, not str
> > > > > Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so CMS_2014_I1410832.cc (http://cms_2014_i1410832.cc/)' to compile the plugin
> > > > >
> > > > >
> > > > > Is there anything special to be done to use version 2.6.X and hepdata ?
> > > > >
> > > > > Thanks a lot
> > > > > Best
> > > > > Hannes
> > > > >
> > > > >
> > > > >
> > > > > ***********************************************************************
> > > > > Hannes Jung
> > > > > Email: Hannes.Jung at desy.de (mailto:Hannes.Jung at desy.de)
> > > > > mobile :+49 40 8998 93741
> > > > > http://www.desy.de/~jung
> > > > > Tel: +49 (0) 40 8998 3741
> > > > > Fax: +49 (0) 40 8994 3741
> > > > >
> > > > >
> > > > > DESY, CMS 01B/02.213
> > > > > Notkestr.85, 22603 Hamburg, FRG
> > > > > ***********************************************************************
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Rivet mailing list
> > > > > Rivet at projects.hepforge.org (mailto:Rivet at projects.hepforge.org)
> > > > > https://www.hepforge.org/lists/listinfo/rivet
> > > > >
> > > >
> > > > <rivet-mkanalysis>
> > > >
> > >
> > >
> > >
> > > ***********************************************************************
> > > Hannes Jung
> > > Email: Hannes.Jung at desy.de (mailto:Hannes.Jung at desy.de)
> > > mobile :+49 40 8998 93741
> > > http://www.desy.de/~jung
> > > Tel: +49 (0) 40 8998 3741
> > > Fax: +49 (0) 40 8994 3741
> > >
> > >
> > > DESY, CMS 01B/02.213
> > > Notkestr.85, 22603 Hamburg, FRG
> > > ***********************************************************************
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > <rivet-mkanalysis>
> >
>
>
>
> ***********************************************************************
> Hannes Jung
> Email: Hannes.Jung at desy.de (mailto:Hannes.Jung at desy.de)
> mobile :+49 40 8998 93741
> http://www.desy.de/~jung
> Tel: +49 (0) 40 8998 3741
> Fax: +49 (0) 40 8994 3741
>
>
> DESY, CMS 01B/02.213
> Notkestr.85, 22603 Hamburg, FRG
> ***********************************************************************
>
>
>
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180711/1a062e00/attachment.html>


More information about the Rivet mailing list