Kodi Community Forum
KCleaner (Clean up temporary files & other stuff) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: KCleaner (Clean up temporary files & other stuff) (/showthread.php?tid=307919)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


RE: KCleaner (Clean up temporary files & other stuff) - msnow - 2017-04-25

(2017-04-25, 14:33)DaLanik Wrote:
(2017-04-25, 14:25)msnow Wrote:
(2017-04-25, 13:55)DaLanik Wrote: v2.4
- Option to clean Database Pre-Wash Scrub addon

It's listed under "Ignore Addons". Is this a third party addon? What exactly is it?

(2017-04-21, 20:18)Morphy99 Wrote: I can give you some addons which I think would be handy to clean as well:

script.database.cleaner
special://userdata/Database/backups

Thanks.


RE: KCleaner (Clean up temporary files & other stuff) - snyft - 2017-04-26

If i add a addon to the ignore list and then run a thumb clean it will then show a warning about cleaning the addons that i choose Kcleaner to ignore with no option to ignore them.
There is just the option to accept that they will be cleaned if i want to clean or not clean at all.
Maybe it's written wrong or I don't understand the reason for ignoring addons?


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-04-26

It displays all things that the option cleans. If it is in the ignore list - it will not be cleaned, nor will it be displayed in totals (Mb) to be cleaned. You're right, this can be confusing, I'll see what I can do.


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-05-05

v2.5
- Added custom paths to be cleaned
- Excluded ignored options from being displayed in confirmation dialog
- Excluded ignored options from being calculated in totals

Finally got the time to work on this. So this should cover all "outstanding" issues - custom paths cleaning and a small "bug" that it displayed ignored addons in cleaning stats.

D.


RE: KCleaner (Clean up temporary files & other stuff) - msnow - 2017-05-05

(2017-05-05, 11:42)DaLanik Wrote: v2.5
- Added custom paths to be cleaned
- Excluded ignored options from being displayed in confirmation dialog
- Excluded ignored options from being calculated in totals

Finally got the time to work on this. So this should cover all "outstanding" issues - custom paths cleaning and a small "bug" that it displayed ignored addons in cleaning stats.

D.

It's confusing now because I don't have any ignored addons or custom paths (everything is default) but when I finish "cleaning and compacting all" it's still showing the same out that needs to be cleaned as when I started. Bug? My expectation is it should be "0".


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-05-05

(2017-05-05, 15:32)msnow Wrote:
(2017-05-05, 11:42)DaLanik Wrote: v2.5
- Added custom paths to be cleaned
- Excluded ignored options from being displayed in confirmation dialog
- Excluded ignored options from being calculated in totals

Finally got the time to work on this. So this should cover all "outstanding" issues - custom paths cleaning and a small "bug" that it displayed ignored addons in cleaning stats.

D.

It's confusing now because I don't have any ignored addons or custom paths (everything is default) but when I finish "cleaning and compacting all" it's still showing the same out that needs to be cleaned as when I started. Bug? My expectation is it should be "0".
Ahahaha youre ofcourse right. I forgot to enable actual deleting which I disable for testing purposes Smile Smile will fix when i get home

Sent from my N7100


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-05-06

v2.6
- Bug fix

It should be fixed now. Sorry for silly bug Smile


RE: KCleaner (Clean up temporary files & other stuff) - JohnyBee - 2017-05-07

Good job Smile
Edit:
I'm still testing Wink


RE: KCleaner (Clean up temporary files & other stuff) - redkoatz - 2017-05-27

The app seems to be broken for me. Uninstalling and reinstalling doesn't work.
I have an error pop up when I try to run this now, and something is added to,the log.


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-05-27

What version of Kodi? Can you post the message and the log?


RE: KCleaner (Clean up temporary files & other stuff) - Txxb161 - 2017-05-28

Like the idea of an all-in-one cleaner, but am receiving the following about halfway through an attempt to run "Check for unused repositories" on my Windows 10, KODI 17.3 machine:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1814, in <module>
intCancel = ProcessRepos(0)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1073, in ProcessRepos
AddonsInRepo = GetAddonsInRepo(repoxml, r)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1114, in GetAddonsInRepo
repopath = getRepoPath(netxml)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1148, in getRepoPath
XmlInfo.append(r.childNodes[0].nodeValue.strip())
IndexError: list index out of range
-->End of Python script error report<--


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-05-28

Can you turn on Debug Log in Kcleaner settings and post all the results that are have KCLEANER line in log?


RE: KCleaner (Clean up temporary files & other stuff) - Txxb161 - 2017-05-28

Pretty much the same results with debug log enabled:


10:08:34.021 T:10668 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1814, in <module>
intCancel = ProcessRepos(0)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1073, in ProcessRepos
AddonsInRepo = GetAddonsInRepo(repoxml, r)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1114, in GetAddonsInRepo
repopath = getRepoPath(netxml)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1148, in getRepoPath
XmlInfo.append(r.childNodes[0].nodeValue.strip())
IndexError: list index out of range
-->End of Python script error report<--

Running "Check for addons without repo" results in a similar error:

10:17:16.827 T:15536 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1823, in <module>
intCancel = ProcessAddons(0)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 983, in ProcessAddons
AddonsInRepo += GetAddonsInRepo(repoxml, r)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1114, in GetAddonsInRepo
repopath = getRepoPath(netxml)
File "C:\Users\Name Redacted\AppData\Roaming\Kodi\addons\script.kcleaner\default.py", line 1148, in getRepoPath
XmlInfo.append(r.childNodes[0].nodeValue.strip())
IndexError: list index out of range
-->End of Python script error report<--

Also, I just ran the app on my Fire TV 1 (android) and am receiving the same error, so I suspect it's hanging on a particular repo. I will investigate further.


RE: KCleaner (Clean up temporary files & other stuff) - User 325245 - 2017-05-28

I'd need the whole log so I can track which repo it is scanning, there is probably something non-standard with this repo...


RE: KCleaner (Clean up temporary files & other stuff) - Txxb161 - 2017-05-28

I just found it. What I did was rerun the scan on the Fire TV box, which, as it turns out, runs slowly enough that I am able to observe approximately where it was hanging. I then checked the repos in that approximate range, deleted any that didn't connect, and reran the scans, which now run on both boxes without issue. Thanks.