<div>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 ;-)</div><br><div>Andy</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px;"><div><strong>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div><div>Particle Physics Experiment Group, University of Glasgow</div></div></td></tr><tr><td style="vertical-align:top;"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;"><div><div></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On Jul 10 2018, at 3:21 pm, Hannes Jung <hannes.jung@desy.de> wrote:</div><blockquote><br><div><div>Hi Andy</div><div><br></div><div>thanks a lot for your quick response.</div><div>I tried it and get:</div><div><div>~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832</div><div>Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2</div><div>Getting Inspire/SPIRES biblio data for 'CMS_2014_I1410832'</div><div>Getting data file from HepData at <a href="http://www.hepdata.net/record/ins1410832?format=yoda" title="http://www.hepdata.net/record/ins1410832?format=yoda">http://www.hepdata.net/record/ins1410832?format=yoda</a></div><div>/var/folders/v7/9tk93_ps6_n_8vyltpm64r7h0002xh/T/tmpwmCe_e</div><div>Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so <a href="http://cms_2014_i1410832.cc" title="http://cms_2014_i1410832.cc">CMS_2014_I1410832.cc</a>' to compile the plugin</div><div><br></div><div>but the yoda file is not there</div><div><br></div><div><div>-rw-r--r-- 1 jung 49 1319 Jul 10 16:19 <a href="http://cms_2014_i1410832.cc" title="http://cms_2014_i1410832.cc">CMS_2014_I1410832.cc</a></div><div>-rw-r--r-- 1 jung 49 398 Jul 10 16:19 CMS_2014_I1410832.plot</div><div>-rw-r--r-- 1 jung 49 1701 Jul 10 16:19 <a href="http://cms_2014_i1410832.info" title="http://cms_2014_i1410832.info">CMS_2014_I1410832.info</a></div><div><br></div><div>Anything else I have to do ?</div><div><br></div><div>Thanks a lot</div><div>Cheers</div><div>Hannes</div><div><br></div><blockquote><div>On 10. Jul 2018, at 15:57, Andy Buckley <<a href="mailto:andy.buckley@cern.ch" title="mailto:andy.buckley@cern.ch">andy.buckley@cern.ch</a>> wrote:</div><br><div><div>Hi Hannes,</div><br><div>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.</div><br><div>Andy</div><br><div><div><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px;"><div><strong>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div><div>Particle Physics Experiment Group, University of Glasgow</div></div></td></tr><tr><td style="vertical-align:top;"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;"><div><div></div><div></div></div></div></td></tr></tbody></table></div></div></div><div>On Jul 10 2018, at 1:10 pm, Hannes Jung <<a href="mailto:hannes.jung@desy.de" title="mailto:hannes.jung@desy.de">hannes.jung@desy.de</a>> wrote:</div><blockquote><br><div><div>Dear Rivet developers</div><div><br></div><div>I want to create an analysis, and see a problem with hepdata and rivet 2.6.</div><div>(in version 2.5.2 it seems to work):</div><div><br></div><div><div>~/jung/cvs/myrivet2> source /Users/jung/jung/cvs/rivet-2.5.2/local/rivetenv.sh</div><div>~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832</div><div>Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2</div><div>Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so <a href="http://cms_2014_i1410832.cc/" title="http://cms_2014_i1410832.cc/">CMS_2014_I1410832.cc</a>' to compile the plugin</div><div><br></div><div>~/jung/cvs/myrivet2> source /Users/jung/jung/cvs/rivet-2.6.0/rivetenv.sh</div><div>~/jung/cvs/myrivet2> rivet-mkanalysis CMS_2014_I1410832</div><div>Writing templates for CMS_2014_I1410832 to /Users/jung/jung/cvs/myrivet2</div><div>HepData oops: initial_value must be unicode or None, not str</div><div>Use e.g. 'rivet-buildplugin RivetCMS_2014_I1410832.so <a href="http://cms_2014_i1410832.cc/" title="http://cms_2014_i1410832.cc/">CMS_2014_I1410832.cc</a>' to compile the plugin</div></div><div><br></div><div>Is there anything special to be done to use version 2.6.X and hepdata ?</div><div><br></div><div>Thanks a lot</div><div>Best</div><div>Hannes</div><div><br></div><div><br></div><br><div><div><div><div><div><div><font style="font-family:Helvetica"><font style="font-size:12px">***********************************************************************</font></font></div></div></div><div><div><div><div><font style="font-family:Helvetica"><font style="font-size:12px">Hannes Jung </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px"><a href="mailto:Hannes.Jung@desy.de" title="mailto:Hannes.Jung@desy.de">Email: Hannes.Jung@desy.de</a></font></font><font style="font-family:Helvetica"><font style="font-size:12px"> </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">mobile :+49 40 8998 93741</font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px"><a href="http://www.desy.de/~jung" title="http://www.desy.de/~jung">http://www.desy.de/~jung</a></font></font><font style="font-family:Helvetica"><font style="font-size:12px"> </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">Tel: +49 (0) 40 8998 3741 </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">Fax: +49 (0) 40 8994 3741</font></font></div></div></div><div><div><div><font style="font-family:Helvetica"><font style="font-size:12px">DESY, CMS 01B/02.213</font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">Notkestr.85, 22603 Hamburg, FRG </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">***********************************************************************</font></font></div><br></div></div><br></div><br></div></div><br></div><br><div>_______________________________________________</div><div>Rivet mailing list</div><div><a href="mailto:Rivet@projects.hepforge.org" title="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a></div><div><a href="https://www.hepforge.org/lists/listinfo/rivet" title="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></div></div></blockquote><div><rivet-mkanalysis></div></div></blockquote></div><br><div><div><div><div><div><div><font style="font-family:Helvetica"><font style="font-size:12px">***********************************************************************</font></font></div></div></div><div><div><div><div><font style="font-family:Helvetica"><font style="font-size:12px">Hannes Jung </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px"><a href="mailto:Hannes.Jung@desy.de" title="mailto:Hannes.Jung@desy.de">Email: Hannes.Jung@desy.de</a></font></font><font style="font-family:Helvetica"><font style="font-size:12px"> </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">mobile :+49 40 8998 93741</font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px"><a href="http://www.desy.de/~jung" title="http://www.desy.de/~jung">http://www.desy.de/~jung</a></font></font><font style="font-family:Helvetica"><font style="font-size:12px"> </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">Tel: +49 (0) 40 8998 3741 </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">Fax: +49 (0) 40 8994 3741</font></font></div></div></div><div><div><div><font style="font-family:Helvetica"><font style="font-size:12px">DESY, CMS 01B/02.213</font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">Notkestr.85, 22603 Hamburg, FRG </font></font></div><div><font style="font-family:Helvetica"><font style="font-size:12px">***********************************************************************</font></font></div></div></div></div></div></div></div></div></div></blockquote>