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 Tomy Rolo

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.

comment:2 Changed 14 years ago by Matthias Vogelgesang

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthias Vogelgesang.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.