Skip Menu |

This queue is for tickets about the Statistics-R CPAN distribution.

Report information
The Basics
Id: 72901
Status: resolved
Priority: 0/
Queue: Statistics-R

People
Owner: Nobody in particular
Requestors: murim.choi [...] yale.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Permission denied at Statistics/R.pm line 303
Hello, This may not a bug, but I think I need help running the module on a linux system. I am not an administrator but I installed the module and prerequisite ones as well as R under my own directories. I am running a perl script with this module in it, and get 'exec failed: Permission denied at .../lib/Statistics/R.pm line 303.' FYI, I have been running this script without any problem from my Mac. Please let me know how I can resolve the issue. Thanks, Murim
Hi, Could you please indicate: 1/ what operating system you are running 2/ if you are running the latest version of Statistics::R, i.e. version 0.24 3/ what version of the following modules you have: IPC::Run, Regexp::Common and Text::Balanced 4/ the full error message Thanks, Florent On Fri Dec 02 16:42:10 2011, murim76 wrote: Show quoted text
> Hello, > > This may not a bug, but I think I need help running the module on a > linux system. > > I am not an administrator but I installed the module and prerequisite > ones as well as R under > my own directories. > > I am running a perl script with this module in it, and get 'exec > failed: Permission denied at > .../lib/Statistics/R.pm line 303.' > > FYI, I have been running this script without any problem from my Mac. > > Please let me know how I can resolve the issue. > > Thanks, > Murim
Subject: Re: [rt.cpan.org #72901] Permission denied at Statistics/R.pm line 303
Date: Sat, 3 Dec 2011 04:11:58 -0500
To: bug-Statistics-R [...] rt.cpan.org
From: Murim Choi <murim.choi [...] yale.edu>
1. linux 2. yes, the latest 3. IPC::Run - 0.90 Regexp::Common - 2011041701 Text::Balanced - 2.02 4. exec failed: Permission denied at /.../programs/Statistics-R-0.24/lib/Statistics/R.pm line 303 at /.../programs/Statistics-R-0.24/lib/Statistics/R.pm line 303 Thanks! Murim On Dec 2, 2011, at 7:41 PM, Florent Angly via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72901 > > > Hi, > > Could you please indicate: > 1/ what operating system you are running > 2/ if you are running the latest version of Statistics::R, i.e. version 0.24 > 3/ what version of the following modules you have: IPC::Run, > Regexp::Common and Text::Balanced > 4/ the full error message > > Thanks, > > Florent > > > > On Fri Dec 02 16:42:10 2011, murim76 wrote:
>> Hello, >> >> This may not a bug, but I think I need help running the module on a >> linux system. >> >> I am not an administrator but I installed the module and prerequisite >> ones as well as R under >> my own directories. >> >> I am running a perl script with this module in it, and get 'exec >> failed: Permission denied at >> .../lib/Statistics/R.pm line 303.' >> >> FYI, I have been running this script without any problem from my Mac. >> >> Please let me know how I can resolve the issue. >> >> Thanks, >> Murim
> > >
Subject: Re: [rt.cpan.org #72901] Permission denied at Statistics/R.pm line 303
Date: Sun, 04 Dec 2011 10:21:11 +1000
To: bug-Statistics-R [...] rt.cpan.org
From: Florent Angly <florent.angly [...] gmail.com>
Murim, Thanks for the information but when does this error message happen? What happens when you go through the module installation procedure and run the test suite: perl Makefile.PL && make test Florent Murim Choi via RT <bug-Statistics-R@rt.cpan.org> wrote: Queue: Statistics-R Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72901 > 1. linux 2. yes, the latest 3. IPC::Run - 0.90 Regexp::Common - 2011041701 Text::Balanced - 2.02 4. exec failed: Permission denied at /.../programs/Statistics-R-0.24/lib/Statistics/R.pm line 303 at /.../programs/Statistics-R-0.24/lib/Statistics/R.pm line 303 Thanks! Murim On Dec 2, 2011, at 7:41 PM, Florent Angly via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72901 > > > Hi, > > Could you please indicate: > 1/ what operating system you are running > 2/ if you are running the latest version of Statistics::R, i.e. version 0.24 > 3/ what version of the following modules you have: IPC::Run, > Regexp::Common and Text::Balanced > 4/ the full error message > > Thanks, > > Florent > > > > On Fri Dec 02 16:42:10 2011, murim76 wrote:
>> Hello, >> >> This may not a bug, but I think I need help running the module on a >> linux system. >> >> I am not an administrator but I installed the module and prerequisite >> ones as well as R under >> my own directories. >> >> I am running a perl script with this module in it, and get 'exec >> failed: Permission denied at >> .../lib/Statistics/R.pm line 303.' >> >> FYI, I have been running this script without any problem from my Mac. >> >> Please let me know how I can resolve the issue. >> >> Thanks, >> Murim
> > >
Also... maybe R is not properly installed or something. Can you open a terminal and run these commands? 1/ which `R` 2/ R Thanks, Florent
Subject: Re: [rt.cpan.org #72901] Permission denied at Statistics/R.pm line 303
Date: Sun, 4 Dec 2011 06:15:38 -0500
To: bug-Statistics-R [...] rt.cpan.org
From: Murim Choi <murim.choi [...] yale.edu>
- It happens in the middle of the script, when it try to execute the part where it calls for the module. - R is installed correctly and Makefile.PL seems to find it all right. - Since this is linux and I am not administrator, I did perl 'Makefile.PL', 'make' but did not do 'make install'. And added 'use lib ../where/perl/module/is/' (this worked fine for most of perl modules so far). Do you think I should do complete installation? Thanks, Murim On Dec 3, 2011, at 7:21 PM, Florent Angly via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72901 > > > Murim, > Thanks for the information but when does this error message happen? > What happens when you go through the module installation procedure and run the test suite: perl Makefile.PL && make test > Florent > > Murim Choi via RT <bug-Statistics-R@rt.cpan.org> wrote: > > Queue: Statistics-R > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72901 > > > > 1. linux > 2. yes, the latest > 3. IPC::Run - 0.90 > Regexp::Common - 2011041701 > Text::Balanced - 2.02 > 4. > exec failed: Permission denied at /.../programs/Statistics-R-0.24/lib/Statistics/R.pm line 303 > at /.../programs/Statistics-R-0.24/lib/Statistics/R.pm line 303 > > Thanks! > Murim > > > > On Dec 2, 2011, at 7:41 PM, Florent Angly via RT wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=72901 > >> >> Hi, >> >> Could you please indicate: >> 1/ what operating system you are running >> 2/ if you are running the latest version of Statistics::R, i.e. version 0.24 >> 3/ what version of the following modules you have: IPC::Run, >> Regexp::Common and Text::Balanced >> 4/ the full error message >> >> Thanks, >> >> Florent >> >> >> >> On Fri Dec 02 16:42:10 2011, murim76 wrote:
>>> Hello, >>> >>> This may not a bug, but I think I need help running the module on a >>> linux system. >>> >>> I am not an administrator but I installed the module and prerequisite >>> ones as well as R under >>> my own directories. >>> >>> I am running a perl script with this module in it, and get 'exec >>> failed: Permission denied at >>> .../lib/Statistics/R.pm line 303.' >>> >>> FYI, I have been running this script without any problem from my Mac. >>> >>> Please let me know how I can resolve the issue. >>> >>> Thanks, >>> Murim
>> >> >>
> > >
I am not quite sure what is going on... It seems like the communication bridge between Perl and R (using IPC::Run) cannot be established. R cannot be executed maybe. Are the permissions of the R binary so that it is executable? To further investigate what is going on, could you please go in the folder where you uncompressed the Statistics-R tarball and run these commands? export IPCRUNDEBUG=basic perl Makefile.PL make test 1> log.txt 2>&1 bad_log.txt This will run the Statistics::R test suite with IPC::Run in debugging mode and save the results in the file called bad_log.txt. Please attach the file.
Subject: good_log.txt

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #72901] Permission denied at Statistics/R.pm line 303
Date: Mon, 5 Dec 2011 09:07:32 -0500
To: Florent Angly via RT <bug-Statistics-R [...] rt.cpan.org>
From: Murim Choi <murim.choi [...] yale.edu>

Message body is not shown because it is too large.

If the perl Makefile.PL step complains, then there is no need to go further and you need to sort this out first. It seems like you did not have the prerequisite modules for Statistics::R. More specifically, Text::Balanced 1.97 or above is required but version 1.95 was found (and you mentionned that you had version 2.02 before). Florent
I believe that the issue is resolved. Hence, I am closing this bug report. Florent