Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IanSudbery opened this issue Sep 24, 2014 · 0 comments
Open

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

IanSudbery opened this issue Sep 24, 2014 · 0 comments

Comments

@IanSudbery
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant