WeBWorK Main Forum

Problem to test TikZImages

Problem to test TikZImages

by Andy Kim -
Number of replies: 3

I am trying to test TikZImages (https://webwork.maa.org/wiki/TikZImages)

I got this error. Could you hlep me to fix it, please?

his set is visible to students.
Warning -- There may be something wrong with this question. Please inform your instructor including the warning messages below.

Viewing temporary file: tmpEdit/setHW1/blankProblem.pg.test1.tmp

path = /opt/webwork/webwork2/htdocs/tmp/test1/images/3d54bfbd-124c-3d74-809a-b78bc411c5fb___2e365634-9b00-36f7-bf8c-f5f848a1de75.svg
alias = /webwork2_files/tmp/test1//images/3d54bfbd-124c-3d74-809a-b78bc411c5fb___2e365634-9b00-36f7-bf8c-f5f848a1de75.svg
image = 3d54bfbd-124c-3d74-809a-b78bc411c5fb___2e365634-9b00-36f7-bf8c-f5f848a1de75.svg
svg = 3d54bfbd-124c-3d74-809a-b78bc411c5fb___2e365634-9b00-36f7-bf8c-f5f848a1de75.svg

WeBWorK Warnings

WeBWorK has encountered warnings while processing your request. If this occured when viewing a problem, it was likely caused by an error or ambiguity in that problem. Otherwise, it may indicate a problem with the WeBWorK system itself. If you are a student, report these warnings to your professor to have them corrected. If you are a professor, please consult the warning output below for more information.

Warning messages

  • The pdf file was not created. at [PG]/lib/TikZImage.pm line 223
  • This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
  • entering extended mode
  • (./image.tex
  • LaTeX2e <2017-04-15>
  • Babel <3.17> and hyphenation patterns for 3 language(s) loaded
  • ! LaTeX Error: File `standalone.cls' not found
  • Type X to quit or to proceed,
  • or enter new name. (Default extension: cls)
  • Enter file name:
  • ! Emergency stop
  • l.2 \usepackage
  • [svgnames]{xcolor}^^M
  • ! ==> Fatal error occurred, no output PDF file produced!
  • Transcript written on image.log
  • Image file production failed. at [PG]/lib/TikZImage.pm line 248
  • /usr/sbin/httpdCan't print graph to [WW]/htdocs/tmp/test1/images/3d54bfbd-124c-3d74-809a-b78bc411c5fb___2e365634-9b00-36f7-bf8c-f5f848a1de75.svg
    at [PG]/lib/PGcore.pm line 718

Request information

TimeThu Jul 07 11:01:38 2022
MethodGET
URI/webwork2/test1/HW1/4/

In reply to Andy Kim

Re: Problem to test TikZImages

by Andras Balogh -
The error message "! LaTeX Error: File `standalone.cls' not found" indicates that the LaTeX package "standalone" is missing.
Should be a part of the texlive-latex-extra package, so maybe that whole thing is missing?
In reply to Andras Balogh

Re: Problem to test TikZImages

by Andy Kim -
Hello,
I setup webwork from https://webwork.maa.org/wiki/Installation_Manual_for_2.16_on_RHEL8.
In "RHEL Software Packages" in the installation document, it said "# yum -y install dvipng gd-devel texlive-latex httpd-devel mysql-server mysql-devel netpbm-progs ImageMagick dvisvgm nodejs"
so I installed that.


Now, I am trying to install standalone in rhel 8. However, In rhel 8, there is no list for texlive-latex-extra. Could you help me find alternative for texlive-latex-extra?
In reply to Andy Kim

Re: Problem to test TikZImages

by Andras Balogh -

Hopefully someone using redhat can help you. I could not even install webwork under redhat, currently using ubuntu.

There is also an option to use texlive's package manager "tlmgr" to install LaTeX packages.