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

Reply
 
Thread Tools Display Modes
Old 10-05-2018, 02:12 AM   #1
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 5,265
Default Per-project JSFX does not support projects opened with a relative path (FIXED)

Code:
$ pwd
/home/cfillion

$ strace reaper test.RPP 2>&1 | grep Test
stat("/Effects/Test", 0x7fffb62e5750)   = -1 ENOENT (No such file or directory)
stat("/home/cfillion/.config/REAPER/Effects/<Project>/Test", 0x7fffb62e1030) = -1 ENOENT (No such file or directory)

$ strace reaper /home/cfillion/test.RPP 2>&1 | grep Test
stat("/home/cfillion/Effects/Test", {st_mode=S_IFREG|0644, st_size=292, ...}) = 0
stat("/home/cfillion/Effects/<Project>/Test", 0x7ffd961273b0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/cfillion/Effects/Test", O_RDONLY) = 26
stat("/home/cfillion/.config/REAPER/presets-js-_Project__Test.ini", 0x7ffd9612d510) = -1 ENOENT (No such file or directory)
stat("/home/cfillion/Effects/Test.rpl", 0x7ffd9612d6e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/cfillion/.config/REAPER/presets/js-_Project__Test.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
Also, because the relative path is added as-is to the recent project list, the project cannot be opened if REAPER is started with a different working directory later.

Last edited by cfillion; 10-05-2018 at 02:51 AM.
cfillion is offline   Reply With Quote
Old 10-05-2018, 04:48 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,117
Default

Hmm yeah I suppose relative paths passed to the command line need to get converted to absolute paths. For now you can use ./reaper `pwd`/test.RPP or whatnot
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 11:15 AM.


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