[Rivet] Rivet issue: YODA not seeing latex?

Andy Buckley andy.buckley at cern.ch
Wed Jul 9 17:23:32 BST 2014


On 09/07/14 16:04, Cameron Embree wrote:
> Hello Andy,

Hi Cameron -- please make sure to reply-all to keep the whole Rivet
developer list involved.

> The change you suggested worked for finding my latex, thank you!

Good!

> I now, however, get an error:
> 
>     Error: [Errno 13] Permission denied
> 
> after each attempt to plot something. Do you think this is coming from my
> Python? I ensured that each file to be plotted had rwx privileges for all 
> user groups, but this did not seem to help.

Very hard to tell from that amount of information: can you send a more
complete log message? For example, make sure that the patched make-plots
file is executable, that you are writing to a directory that you have
write-permissions on, etc.

Cheers,
Andy



> On Jul 8, 2014, at 8:39 PM, Andy Buckley <andy.buckley at cern.ch
> <mailto:andy.buckley at cern.ch>> wrote:
> 
>> On 25/06/14 13:25, Cameron Embree wrote:
>>> Hello,
>>>
>>> I am trying to perform a ‘rivet-mkhtml’ on a YODA file and I get the
>>> following error:
>>>
>>> ERROR: required program ‘latex’ could not be found. Exiting…
>>>
>>> However, latex is in my $PATH under ‘/usr/bin’ and is found when I
>>> perform a ‘which latex’, providing the following:
>>>
>>> /user/bin/latex
>>>
>>> I am running on a computer at CERN running SLC6 and am not sure if
>>> there is an explicit way to point Rivet/YODA at my latex (perhaps
>>> during the YODA installation process?). Should I perhaps install some
>>> local version of latex instead of the one built into SLC6?
>>
>> Hi Cameron,
>>
>> Sorry for the delayed response. That is strange -- the script should be
>> finding your LaTeX installation.
>>
>> I wonder if this is actually related to another bug report that we had
>> in the last week, about make-plots (the script in Rivet that actually
>> does the plotting) using constructs that require Python 2.7. If your
>> environment is using an earlier Python, e.g. 2.6, then maybe try
>> applying this small patch to bin/make-plots:
>>
>> https://rivet.hepforge.org/hg/rivet/rev/a8c29394d2ba
>>
>> Let us know how that goes, and we'll try to get it solved.
>>
>> Cheers,
>> Andy
>>
>> -- 
>> Dr Andy Buckley, Royal Society University Research Fellow
>> Particle Physics Expt Group, University of Glasgow / PH Dept, CERN
> 


-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN


More information about the Rivet mailing list