ome / docker-example-omero

OMERO Docker compose example
BSD 2-Clause "Simplified" License
24 stars 26 forks source link

OMERO.figure image export options #11

Closed imilne closed 2 years ago

imilne commented 2 years ago

Hi,

A user pointed out that the export options are disabled. I then stumbled upon https://github.com/ome/docker-example-omero/issues/6 but following the instructions there isn't working for me:

Dockerfile:

FROM openmicroscopy/omero-server:5

USER root
RUN wget https://raw.githubusercontent.com/ome/omero-figure/master/omero_figure/scripts/omero/figure_scripts/F
igure_To_Pdf.py -O /opt/omero/server/OMERO.server/lib/scripts/omero/figure_scripts/Figure_To_Pdf.py
RUN /opt/omero/server/venv3/bin/pip install reportlab markdown

USER omero-server

Then building via: docker build -t local/omero-server:5 .

Sending build context to Docker daemon  6.144kB
Step 1/5 : FROM openmicroscopy/omero-server:5
 ---> e4c5633c6b61
Step 2/5 : USER root
 ---> Using cache
 ---> 5b7b9b9f76b2
Step 3/5 : RUN wget https://raw.githubusercontent.com/ome/omero-figure/master/omero_figure/scripts/omero/figure_scripts/Figure_To_Pdf.py -O /opt/omero/server/OMERO.server/lib/scripts/omero/figure_scripts/Figure_To_Pdf.py
 ---> Using cache
 ---> 93b1d44b4fff
Step 4/5 : RUN /opt/omero/server/venv3/bin/pip install reportlab markdown
 ---> Running in ab68b49f8f84
Collecting reportlab
  Downloading reportlab-3.6.8.tar.gz (4.5 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting markdown
  Downloading Markdown-3.3.7-py3-none-any.whl (97 kB)
Requirement already satisfied: pillow>=4.0.0 in /opt/omero/server/venv3/lib/python3.6/site-packages (from reportlab) (8.4.0)
Collecting importlib-metadata>=4.4
  Downloading importlib_metadata-4.8.3-py3-none-any.whl (17 kB)
Collecting zipp>=0.5
  Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting typing-extensions>=3.6.4
  Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Using legacy 'setup.py install' for reportlab, since package 'wheel' is not installed.
Installing collected packages: zipp, typing-extensions, importlib-metadata, reportlab, markdown
    Running setup.py install for reportlab: started
    Running setup.py install for reportlab: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /opt/omero/server/venv3/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2dvy4iwb/reportlab_64c92fbac7eb4e69b7d4527d09fbfedd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2dvy4iwb/reportlab_64c92fbac7eb4e69b7d4527d09fbfedd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vzvu9yws/install-record.txt --single-version-externally-managed --compile --install-headers /opt/omero/server/venv3/include/site/python3.6/reportlab
         cwd: /tmp/pip-install-2dvy4iwb/reportlab_64c92fbac7eb4e69b7d4527d09fbfedd/
    Complete output (232 lines):
    ##### setup-python-3.6.8-linux-x86_64: ================================================
    ##### setup-python-3.6.8-linux-x86_64: Attempting build of _rl_accel
    ##### setup-python-3.6.8-linux-x86_64: extensions from 'src/rl_addons/rl_accel'
    ##### setup-python-3.6.8-linux-x86_64: ================================================
    ##### setup-python-3.6.8-linux-x86_64: ===================================================
    ##### setup-python-3.6.8-linux-x86_64: Attempting build of _renderPM
    ##### setup-python-3.6.8-linux-x86_64: extensions from 'src/rl_addons/renderPM'
    ##### setup-python-3.6.8-linux-x86_64: ===================================================
    ##### setup-python-3.6.8-linux-x86_64: will use package libart 2.3.21
    ##### setup-python-3.6.8-linux-x86_64: # installing without freetype no ttf, sorry!
    ##### setup-python-3.6.8-linux-x86_64: # You need to install a static library version of the freetype2 software
    ##### setup-python-3.6.8-linux-x86_64: # If you need truetype support in renderPM
    ##### setup-python-3.6.8-linux-x86_64: # You may need to edit setup.cfg (win32)
    ##### setup-python-3.6.8-linux-x86_64: # or edit this file to access the library if it is installed
    ##### setup-python-3.6.8-linux-x86_64: ################################################
    ##### setup-python-3.6.8-linux-x86_64: Downloading standard T1 font curves
    ##### setup-python-3.6.8-linux-x86_64: Finished download of standard T1 font curves
    ##### setup-python-3.6.8-linux-x86_64: The _glyphlist module already exists
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/reportlab
    copying src/reportlab/__init__.py -> build/lib.linux-x86_64-3.6/reportlab
    copying src/reportlab/rl_config.py -> build/lib.linux-x86_64-3.6/reportlab
    copying src/reportlab/rl_settings.py -> build/lib.linux-x86_64-3.6/reportlab
    creating build/lib.linux-x86_64-3.6/reportlab/graphics
    creating build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/areas.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/axes.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/barcharts.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/dotbox.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/doughnut.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/legends.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/linecharts.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/lineplots.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/markers.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/piecharts.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/slidebox.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/spider.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/textlabels.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/utils.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    copying src/reportlab/graphics/charts/utils3d.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/charts
    creating build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/bubble.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/clustered_bar.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/clustered_column.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/excelcolors.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/exploded_pie.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/filled_radar.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/line_chart.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/linechart_with_markers.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/radar.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/runall.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/scatter.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/scatter_lines.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/scatter_lines_markers.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/simple_pie.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/stacked_bar.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    copying src/reportlab/graphics/samples/stacked_column.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/samples
    creating build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/adjustableArrow.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/eventcal.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/flags.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/grids.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/markers.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/signsandsymbols.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    copying src/reportlab/graphics/widgets/table.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/widgets
    creating build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/code128.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/code39.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/code93.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/common.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/dmtx.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/eanbc.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/ecc200datamatrix.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/fourstate.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/lto.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/qr.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/qrencoder.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/test.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/usps.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/usps4s.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/barcode/widgets.py -> build/lib.linux-x86_64-3.6/reportlab/graphics/barcode
    copying src/reportlab/graphics/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/renderPDF.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/renderPM.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/renderPS.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/renderSVG.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/renderbase.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/shapes.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/testdrawings.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/testshapes.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/transform.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/utils.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    copying src/reportlab/graphics/widgetbase.py -> build/lib.linux-x86_64-3.6/reportlab/graphics
    creating build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/PyFontify.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/abag.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/arciv.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/attrmap.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/boxstuff.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/codecharts.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/colors.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/corp.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/enums.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/extformat.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/fontfinder.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/fonts.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/formatters.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/geomutils.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/logger.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/normalDate.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/pagesizes.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/pdfencrypt.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/pygments2xpre.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/randomtext.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/rl_accel.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/rl_safe_eval.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/rltempfile.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/rparsexml.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/sequencer.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/styles.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/testutils.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/textsplit.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/units.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/utils.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/validators.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    copying src/reportlab/lib/yaml.py -> build/lib.linux-x86_64-3.6/reportlab/lib
    creating build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_can_cmap_data.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_cidfontdata.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_macexpert.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_macroman.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_pdfdoc.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_standard.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_symbol.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_winansi.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_enc_zapfdingbats.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_courier.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_courierbold.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_courierboldoblique.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_courieroblique.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_helvetica.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_helveticabold.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_helveticaboldoblique.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_helveticaoblique.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_symbol.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_timesbold.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_timesbolditalic.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_timesitalic.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_timesroman.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_fontdata_widths_zapfdingbats.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/_glyphlist.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/acroform.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/cidfonts.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/pdfdoc.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/pdfform.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/pdfmetrics.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/pdfpattern.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/pdfutils.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/rl_codecs.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    copying src/reportlab/pdfbase/ttfonts.py -> build/lib.linux-x86_64-3.6/reportlab/pdfbase
    creating build/lib.linux-x86_64-3.6/reportlab/pdfgen
    copying src/reportlab/pdfgen/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/pdfgen
    copying src/reportlab/pdfgen/canvas.py -> build/lib.linux-x86_64-3.6/reportlab/pdfgen
    copying src/reportlab/pdfgen/pathobject.py -> build/lib.linux-x86_64-3.6/reportlab/pdfgen
    copying src/reportlab/pdfgen/pdfgeom.py -> build/lib.linux-x86_64-3.6/reportlab/pdfgen
    copying src/reportlab/pdfgen/pdfimages.py -> build/lib.linux-x86_64-3.6/reportlab/pdfgen
    copying src/reportlab/pdfgen/textobject.py -> build/lib.linux-x86_64-3.6/reportlab/pdfgen
    creating build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/__init__.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/doctemplate.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/figures.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/flowables.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/frames.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/multicol.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/para.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/paragraph.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/paraparser.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/tableofcontents.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/tables.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    copying src/reportlab/platypus/xpreformatted.py -> build/lib.linux-x86_64-3.6/reportlab/platypus
    creating build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/00readme.txt -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/bitstream-vera-license.txt -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGarden-changelog.txt -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGarden-copying-gpl.txt -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGarden-copying.txt -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGarden-readme.txt -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGarden.sfd -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGardenMK.afm -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/DarkGardenMK.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/Vera.ttf -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/VeraBd.ttf -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/VeraBI.ttf -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/VeraIt.ttf -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_abi____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_ab_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_ai_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_a______.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/cobo____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/cob_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/com_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/coo_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_ebi____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_eb_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_ei_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/_er_____.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/sy______.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/zd______.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/zx______.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/zy______.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/callig15.pfb -> build/lib.linux-x86_64-3.6/reportlab/fonts
    copying src/reportlab/fonts/callig15.afm -> build/lib.linux-x86_64-3.6/reportlab/fonts
    running build_ext
    building 'reportlab.lib._rl_accel' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/src
    creating build/temp.linux-x86_64-3.6/src/rl_addons
    creating build/temp.linux-x86_64-3.6/src/rl_addons/rl_accel
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/opt/omero/server/venv3/include -I/usr/include/python3.6m -c src/rl_addons/rl_accel/_rl_accel.c -o build/temp.linux-x86_64-3.6/src/rl_addons/rl_accel/_rl_accel.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /opt/omero/server/venv3/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2dvy4iwb/reportlab_64c92fbac7eb4e69b7d4527d09fbfedd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2dvy4iwb/reportlab_64c92fbac7eb4e69b7d4527d09fbfedd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vzvu9yws/install-record.txt --single-version-externally-managed --compile --install-headers /opt/omero/server/venv3/include/site/python3.6/reportlab Check the logs for full command output.
The command '/bin/sh -c /opt/omero/server/venv3/bin/pip install reportlab markdown' returned a non-zero code: 1

I'm not a python dev so I can't suss out what it's not happy about?

jburel commented 2 years ago

@imilne Thanks for your comment you will need to cap reportlab to version < 3.6. i.e. pip install "reportlab<3.6"

imilne commented 2 years ago

Hi @jburel

Excellent, thanks - that seems to have done the trick!

(perhaps don't close an issue until people have had the chance to report back though)