Skip to content

Instantly share code, notes, and snippets.

@ox
Created January 14, 2019 06:34
Show Gist options
  • Save ox/a6831592bdb9157bd8a1dbc8db2e1b89 to your computer and use it in GitHub Desktop.
Save ox/a6831592bdb9157bd8a1dbc8db2e1b89 to your computer and use it in GitHub Desktop.
in ~/code/sr.ht/meta.sr.ht on master
$ python ./run.py | tee -a /tmp/run-log
Traceback (most recent call last):
File "./run.py", line 3, in <module>
from metasrht.app import app
File "/Users/artem/code/sr.ht/meta.sr.ht/metasrht/app.py", line 55, in <module>
app = MetaApp()
File "/Users/artem/code/sr.ht/meta.sr.ht/metasrht/app.py", line 22, in __init__
from metasrht.blueprints.billing import billing
File "/Users/artem/code/sr.ht/meta.sr.ht/metasrht/blueprints/billing.py", line 14, in <module>
from weasyprint import HTML, CSS
File "/Users/artem/.virtualenvs/srht/lib/python3.7/site-packages/WeasyPrint-44-py3.7.egg/weasyprint/__init__.py", line 394, in <module>
from .css import preprocess_stylesheet # noqa
File "/Users/artem/.virtualenvs/srht/lib/python3.7/site-packages/WeasyPrint-44-py3.7.egg/weasyprint/css/__init__.py", line 25, in <module>
from . import computed_values
File "/Users/artem/.virtualenvs/srht/lib/python3.7/site-packages/WeasyPrint-44-py3.7.egg/weasyprint/css/computed_values.py", line 17, in <module>
from .. import text
File "/Users/artem/.virtualenvs/srht/lib/python3.7/site-packages/WeasyPrint-44-py3.7.egg/weasyprint/text.py", line 14, in <module>
import cairocffi as cairo
File "/Users/artem/.virtualenvs/srht/lib/python3.7/site-packages/cairocffi-0.9.0-py3.7.egg/cairocffi/__init__.py", line 41, in <module>
cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2')
File "/Users/artem/.virtualenvs/srht/lib/python3.7/site-packages/cairocffi-0.9.0-py3.7.egg/cairocffi/__init__.py", line 38, in dlopen
raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment