Support and General Use > Plugins/Viewers

Disktidy: "Plugin returned an error"

(1/2) > >>

mlind:
Disktidy doesn't finish it's work, but stops with an error when it gets to a certain point in the file structure.

I THINK it is when it reaches a folder where I have some Mac OS X apps placed for portable use.
Could there be an issue with how many levels of nested folders are possible?

perfectdrug:
i experienced the same and i also think it is because it's too deep in the filestructure
when i delete the folder with the subfolders disctidy finish as normal

mlind:
Yes!

I moved the folder (containing the apps) up two levels to the root, and it worked!
Moved it back down one level and it still worked.
Moved it back down yet another - to it's original position - an got an error.

Seems you cannot have more than 7 levels of sub-folders.
(5 of my 8 were inside the app structure)

Thanks Perfectdrug for helping me in the right direction.
/M

mlind:
Can someone confirm that

--- Code: ---#define MAX_OPEN_DIRS 8
--- End code ---
(found in "dir.c")
means that the afforementioned problem is not with the plugin (Disctidy) but a system limit?
- which means we can't do anything about it...

And why 8? Any specific reason?

mlind:
OK. IRC seems to be the place to get answers...
From IRC 10th of december:
http://www.rockbox.org/irc/rockbox-20061210.txt


--- Quote ---20.32.53 #       * Bger just spotted that disktidy can't enter more then 7 (or 8) levels in the dir tree
20.33.39 #       Bger> (because it doesn't close the dir handle and #define MAX_OPEN_DIRS 8 )
...
20.39.56 #       amiconn> But you cannot close the parent handles, otherwise recursion won't work

--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version