[LON-CAPA-admin] Printing with <m> tag

H. K. Ng ng at martech.fsu.edu
Mon Oct 18 15:32:54 EDT 2004


Hi Guy,

> > On one of my servers the simple problem below does not want to print. When
> > I click on the PRT button, it gives
>
>Only one server eh?

On the fsuk12 domain library server - the problem (actually a number of 
similar problems) has not been published. The same problem on the fsu 
library prints fine.


>Any thing you know to be different about this server?
>
>Deve versus production, RH7.3 versus Fedora?

Both are production running 1.2.1... both servers are running RH 7.3. I 
checked the python modules. The one that does print has the following

python2-2.2.2-11.7.3
python-xmlrpc-1.5.1-7.x.3
python-devel-1.5.2-43.73
python-1.5.2-43.73
python-popt-0.8.8-7.x.2
python-clap-1.0.0-3
rpm-python-4.0.4-7x.18

and doesn't

python-1.5.2-43.73
python-xmlrpc-1.5.1-7.x.3
libxslt-python-1.0.15-1
python-popt-0.8.8-7.x.2
python2-2.2.2-11.7.3
postgresql-python-7.2.4-5.73
python-clap-1.0.0-3
python-devel-1.5.2-43.73
rpm-python-4.0.4-7x.18

I tried to get rid of the difference but it complains of dependencies.
-hk


> > HTTP/1.1 500 Internal Server Error Date: Mon, 18 Oct 2004 18:47:47 GMT
> > Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
> > DAV/1.0.3 mod_perl/1.26 Connection: close Transfer-Encoding: chunked
> > Content-Type: text/html
> >
> > The httpd error_log says
> >
> > [Mon Oct 18 14:47:47 2004] [error] maketext doesn't know how to
> > say:!_radical_equations_100.problem (what you just saw on the screen)!as
> > needed at /home/httpd/lib/perl/Apache/lonlocal.pm line 186!
> >
> > Is this server missing some modules or have a conflicting module? I check
> > mod_ssl and mod_perl - they are the same versions on both lib servers.
> > Thanks, -hk
> >
> > <problem>
> > <script type="loncapa/perl">
> > $a=&random(1,25,1);
> > $b=&random(1,15,1);
> > $c=($a-$b)**2;
> > </script>
> > <startouttext />Solve for x.<br />
> > <m eval="on"> \[ \sqrt{x } + $b = $a \] </m>
> > <endouttext />
> > <numericalresponse answer="$c">
> >      <textline />
> > </numericalresponse>
> > </problem>
> >
> > _______________________________________________
> > LON-CAPA-admin mailing list
> > LON-CAPA-admin at mail.lon-capa.org
> > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> >
>
>--
>guy at albertelli.com  LON-CAPA Developer  0-7-3-2-
>_______________________________________________
>LON-CAPA-admin mailing list
>LON-CAPA-admin at mail.lon-capa.org
>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin




More information about the LON-CAPA-admin mailing list