resources browser not honoring soft links

View: New views
6 Messages — Rating Filter:   Alert me  

resources browser not honoring soft links

by Andy Kelley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I swapped out my ~/lmms/samples/ with a softlink to another folder with the same name. In lmms I am not able to browse samples with the resource browser. Is there a quick fix for this, Tobias?

--
Andy Kelley
http://superjoesoftware.com/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

lmms-samples-ln.png (306K) Download Attachment

Re: resources browser not honoring soft links

by Nikos Chantziaras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/03/2009 07:27 PM, Andrew R Kelley wrote:
> I swapped out my ~/lmms/samples/ with a softlink to another folder with
> the same name. In lmms I am not able to browse samples with the resource
> browser. Is there a quick fix for this, Tobias?

I was hit by this too.  It seems LMMS does not invalidate the resource
cache correctly.  To fix it:

   rm -f ~/lmms/.resources/

and it will rebuild the cache when you start it again (it might take a
long time though if you have many samples.)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Re: resources browser not honoring soft links

by Andy Kelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

read dir: /home/andy/lmms
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/andy/lmms/lmms/
read dir: /home/andy/lmms/presets
read dir: /home/andy/lmms/projects
read dir:
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/andy/lmms/Samples/
read dir: /home/andy/lmms/soundfont
read dir: /usr/local/share/lmms
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /usr/local/share/lmms/lmms/


On Wed, Nov 4, 2009 at 9:34 AM, Nikos Chantziaras <realnc@...> wrote:
On 11/03/2009 07:27 PM, Andrew R Kelley wrote:
> I swapped out my ~/lmms/samples/ with a softlink to another folder with
> the same name. In lmms I am not able to browse samples with the resource
> browser. Is there a quick fix for this, Tobias?

I was hit by this too.  It seems LMMS does not invalidate the resource
cache correctly.  To fix it:

  rm -f ~/lmms/.resources/

and it will rebuild the cache when you start it again (it might take a
long time though if you have many samples.)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel



--
Andy Kelley
http://superjoesoftware.com/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Re: resources browser not honoring soft links

by Torsten Duwe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 05 November 2009, Andy Kelley wrote:
> read dir: /home/andy/lmms
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No
> such file or directory

What does "gzip -dc /proc/config.gz | grep NOTIFY" yield?

        Torsten


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Re: resources browser not honoring soft links

by Tobias Doerffel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Am Donnerstag, 5. November 2009 01:06:06 schrieb Andy Kelley:
> read dir: /home/andy/lmms
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No
>  such file or directory
> QFileSystemWatcher: failed to add paths: /home/andy/lmms/lmms/
I had such issues with symlinks too. However after upgrading to Qt 4.6 beta1 a
few days ago I can't reproduce these problems anymore. If possible, could you
please confirm that it works with Qt 4.6 for you too (simply install Ubuntu
Lucid in a VM, Qt 4.6 Beta is already in there). If so, I would not care about
it. Qt 4.6 will be default when LMMS 0.5 with Resource support arrives.. Of
course everybody is free in submitting an according patch :D

Besides that there's still an issue with updating/re-reading direct child-
items of LMMS working directory while LMMS is running. Touching a file
~/lmms/foo will not update the DB at the moment. I hope to fix this issue
soon.

Toby


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

signature.asc (204 bytes) Download Attachment

Re: resources browser not honoring soft links

by Tobias Doerffel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Am Mittwoch, 11. November 2009 12:51:37 schrieb Tobias Doerffel:
> Besides that there's still an issue with updating/re-reading direct child-
> items of LMMS working directory while LMMS is running. Touching a file
> ~/lmms/foo will not update the DB at the moment. I hope to fix this issue
> soon.
Fixed as of 0679c83c331da822670f61ec9730c264552d77aa.

Toby


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

signature.asc (204 bytes) Download Attachment