Modify ↓
Opened 14 years ago
Closed 14 years ago
#45 closed defect (fixed)
plugin loading in framework broken
| Reported by: | Tomy Rolo | Owned by: | Matthias Vogelgesang |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | ufo-core | Version: | 0.1.0 |
| Keywords: | Cc: |
Description
This code
import numpy as np
from gi.repository import Ufo
if name == 'main':
g = Ufo.Graph()
ff_reader = g.get_filter('reader')
dies with the following error message:
Traceback (most recent call last):
File "ufotest.py", line 6, in <module>
ff_reader = g.get_filter('reader')
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gi/types.py", line 40, in function
return info.invoke(*args)
RuntimeError?: Filter 'libfilterreader.so' not found
Attachments (0)
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/ufo/chrome/site/your_project_logo.png)
There are two reasons for this:
1) the plugin manager searches for libfilterreader.so, however, the file which is installed is called reader.so
2) on my system, the plugins are installed into /usr/local/lib64, while ufo-core is installed into /usr/local/lib
At least on my system, I can fix the error by creating a symlink with the expected libfilterreader.so filename, and by symlinking the /usr/local/lib64/ufo/ directory into /usr/local/lib/ufo.
This means that the installation routine is currently broken, not the plugin manager.