[ww-bugs] Bug 3414: New: Can't find CAPA macros via Contrib link:

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Sat Sep 5 11:04:14 EDT 2015


http://bugs.webwork.maa.org/show_bug.cgi?id=3414

           Summary: Can't find CAPA macros via Contrib link:
           Product: PG
           Version: develop
          Platform: PC
        OS/Version: Mac OS
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: modules
        AssignedTo: gage at math.rochester.edu
        ReportedBy: gage at math.rochester.edu
        Web browser ---
           version:


ERRORS from evaluating PG file: 
 Error detected while loading [PG]/macros/PG_CAPAmacros.pl:
PG_macro_file_eval detected error at line 123 of file [PG]/lib/PGloadfiles.pm 
/usr/local/sbin/httpd: read_whole_file subroutine: 
Can't read file |Contrib/CAPA/macros/CAPA_Tools/StdMacros.pg| at
[PG]/lib/WeBWorK/PG/IO.pm line 139,  chunk 1.
The calling package is PGloadfiles
   Died within PGloadfiles::compile_file called at line 169 of
[PG]/lib/PGloadfiles.pm
   from within PGloadfiles::loadMacros called at line 457 of [PG]/macros/PG.pl
   from within main::loadMacros called at line 6 of (eval 1546)

The link Contrib in the templates directory is pointing to the right place.

Less will read the file, even after switching  su wwhttpd so as to have the
permissions of the webserver.

Probably related to the security measures we've added but I don't see how at
the moment

-- 
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the webwork-bugs mailing list