Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 04-26-2022, 10:29 AM   #1
reuk
Human being with feelings
 
Join Date: Jan 2021
Posts: 10
Default [6.56] LV2 plugin fails to load if .dll name contains a space

I'm seeing this issue on macOS 12.3.1. I haven't checked other platforms.

To reproduce:
- Take a working LV2 plugin.
- Edit the plugin's manifest.ttl so that the lv2:Plugin's lv2:binary field contains a space. e.g. if you have a copy of the x42-eq plugin, change <fil4.dylib> to <fil%204.dylib> (I think the object is an IRI, so it needs to be percent-encoded).
- Change the name of the dylib on disk so that it contains a space, i.e. change "fil4.dylib" to "fil 4.dylb".
- Open REAPER and try to create an instance of the plugin.

Expected result:
- The plugin opens successfully.

Actual result:
- The plugin is added to the channel strip, but its name is rendered in red, and the UI cannot be opened.

There are no parse errors when I check in Options -> Preferences -> Plug-ins -> LV2, so the manifest is being parsed without errors. If I edit the manifest so that the filename contains a non-percent-encoded space, then I *do* see a parse error reported.

I suspect that the problem is just that the escaped characters aren't being converted back to non-escaped characters before attempting to open the LV2's dylib.
reuk is offline   Reply With Quote
Old 04-26-2022, 11:39 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,213
Default

Ah, thanks, fixing. In the mean time you could use \u0020 rather than %20, which works (and works elsewhere)
Justin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.