[LV2] Ardour doesn't find lv2
rosea.grammostola at gmail.com
Wed Dec 12 01:29:39 PST 2012
On 12/12/2012 02:27 AM, David Robillard wrote:
> On Wed, 2012-12-12 at 01:11 +0100, rosea.grammostola wrote:
>> On 12/12/2012 12:00 AM, David Robillard wrote:
>>> On Tue, 2012-12-11 at 23:41 +0100, rosea.grammostola wrote:
>>>> Anyway, if I do
>>>> echo $LV2_PATH
>>>> I get an empty line
>>> There is a big difference between an environment variable being set to
>>> the empty string, and the environment variable not being set at all.
>>> Both will print nothing for this command. As I mentioned earlier,
>>> 'export' will print all set environment variables.
>>> Perhaps yours has been set to the empty string? This will result in
>>> zero plugins. You can use 'unset LV2_PATH' to unset it.
>>>> If I do
>>>> lv2ls works (but only in the terminal in which I set the path)
>>>> lv2ls contains some weird files
>>> All valid URIs, this looks fine.
>> This also?
>> ~$ lv2ls
> Yes. There is no rule that URIs have to be HTTP URIs or anything like
> that. Any valid URI will do, though I certainly don't think using URNs
> for plugins is a very good idea, it's not invalid.
> The first is an Ingen patch. As it happens, an Ingen patch saved
> anywhere is inherently an LV2 plugin. If you save to ~/.lv2 it will
> show up automatically in hosts. Not a long-term stable or portable URI,
> but it is convenient sometimes.
>> declare -x LV2_PATH=""
> That's your problem. An empty path contains no plugins.
> Please let me know how it got this way when you figure it out. I could
> make lilv interpret the empty string as unset, though this would make it
> impossible to completely disable the path, which might not be good. I
> don't know any precedent here, but I'm hesitant to remove power to work
> around what seems like an rather uncommon PEBKAC.
If I do
Then everything works normal for *that terminal/xterm*
If I do export in an other terminal I get still
declare -x LV2_PATH=""
More information about the Devel