Skip to content

Familty 'sans' not included in postscript() device #6

@IanSudbery

Description

@IanSudbery

I got a new error I've not seen before in my report. It's from a rather complicated user renderer, actaully something I was working on as a possible tracker plugin. The tracker creates plots using the Gviz genomic visualisaiton library in R. The error is:


CGATReportError

        stage: collection
        exception: rpy2.rinterface.RRuntimeError
        message: Error in grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, :

family ‘sans’ not included in postscript() device

        traceback:

            File “/ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/CGATReport-0.2-py2.7.egg/CGATReport/report_directive.py”, line 358, in run

                ‘notebook_url’: linked_notebookname}))
            File “/ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/CGATReport-0.2-py2.7.egg/CGATReportPlugins/RPlotPlugin/__init__.py”, line 114, in collect

                onefile=True)
            File “/ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/rpy2/robjects/functions.py”, line 166, in __call__

                return super(SignatureTranslatedFunction, self).__call__(*args, **kwargs)
            File “/ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/rpy2/robjects/functions.py”, line 99, in __call__

                res = super(Function, self).__call__(*new_args, **new_kwargs)

I assume that this happens when CGATReprort is trying to save the user generated plot as an eps file, and it contains a font that isn't availible.

You can see this for yourself by running the CircularCandidates tracker in the CircularCandidates module in project 28 (for e.g. /ifs/projects/proj028/project_pipeline_full2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions