Release - Janitor

  Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fengen Offline
Junior Member
Posts: 1
Joined: Apr 2017
Reputation: 0
Post: #301
What can be the cause of this;
15:07:03.728 T:6720 NOTICE: service.libraryautoupdate-1.0.0 : Creating timer for Music Library
15:07:03.728 T:6720 NOTICE: service.libraryautoupdate-1.0.0 : Creating timer for Custom Path 1
15:07:03.769 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\The OA\\The OA - 1x06 - Garden of Forking Paths.mkv'.
15:07:03.769 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\The OA\\The OA - 1x07 - Empire of Light.mkv'.
15:07:03.769 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\The OA\\The OA - 1x08 - Invisible Self.mkv'.
15:07:03.770 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\Fluffy Breaks Even\\Fluffy Breaks Even - 2x05 - San Antonio.mkv'.
15:07:03.770 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\Fluffy Breaks Even\\Fluffy Breaks Even - 2x06 - Miami.mkv'.
15:07:03.770 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x06 - No Right Way.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x07 - What Dad Would Want.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x08 - The First Thanksgiving.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x09 - The Story Of Anne Frank And Skeevy.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x10 - YMCA.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x11 - Get Real.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x12 - Consequences.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x13 - Opposites Attract (1).avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x14 - Opposites Attract (2).avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x15 - Opposites Attract Night Of The Locust (3).avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x16 - Daddy's Girl.avi".
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x17 - Mall In The Family.avi'.
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x18 - Let's Keep Going (1).avi".
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x19 - Let's Keep Going (2).avi".
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x20 - C.J.'s Party.avi".
15:07:03.771 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x21 - Mother's Day.avi".
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x22 - The Principal.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x23 - Finale Part Un (1).avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 2x24 - Finale Part Deux (2).avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x01 - First Day Of School.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x02 - Changes.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x03 - School Nurse.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x04 - Out Of The Box.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x05 - Car Trouble.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x06 - Halloween.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x07 - Coach (a.k.a. Tennis Coach).avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x08 - Secrets.avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x09 - Thanksgiving Guest (a.k.a. Thanksgiving).avi'.
15:07:03.772 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x10 - Vanity Unfair.avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x11 - Princetown Girl.avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x12 - A Very C.J. Christmas (a.k.a. A Very Cool Christmas).avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x13 - The Sub.avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x14 - C.J.'s Temptation.avi".
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x15 - Old Flame.avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x16 - Closure.avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x17 - Volleybrawl.avi'.
15:07:03.773 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x18 - Freaky Friday.avi'.
15:07:03.773 T:9996 NOTICE: [plugin.video.youtube] Startup: detected Krypton (Kodi-17.1), setting DASH_SUPPORT_BUILTIN = False, DASH_SUPPORT_ADDON = True
15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x19 - Torn Between Two Lovers.avi'.
15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u"E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x20 - C.J.'s Real Dad.avi".
15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x21 - The After Party.avi'.
15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x22 - The Teachers Lounge.avi'.
15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x23 - The Sleepover.avi'.
15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x24 - Ditch Day.avi'.
15:07:03.814 T:2112 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u0101' in position 60: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py", line 45, in <module>
autostart()
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py", line 31, in autostart
results, _ = cleaner.clean_all()
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\default.py", line 228, in clean_all
cleaned_files, count, status = self.clean(video_type)
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\default.py", line 148, in clean
unstacked_path = self.unstack(filename)
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\default.py", line 385, in unstack
path = path.encode()
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0101' in position 60: ordinal not in range(128)
-->End of Python script error report<--
15:07:03.828 T:2112 WARNING: CPythonInvoker(2, C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py): the python script "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmc::Monitor,class XBMCAddon::xbmcgui::DialogProgress
find quote
85ab50d4 Offline
Junior Member
Posts: 1
Joined: Apr 2017
Reputation: 0
Post: #302
Hi, thanks for maintaining/developing janitor.

i have an issue with janitor.

For some reason the add-on does not clean my movies. It is enabled under settings and i have verified that there are at least 5 movies that are marked watched. It seems it can not find them.

I have also enabled that at least 14 days be passed before moving. There should be at least 1 movie that I saw 14 days ago. I suspect there should me more but i am not aware of an option to verify that. I know that there must be at least one because tv series are moved by janitor. Even episodes I saw later than the movies.


https://pastebin.com/L9ZeFjSg

Do you have a suggestion
find quote
Blackkatt Offline
Senior Member
Posts: 223
Joined: Dec 2008
Reputation: 0
Location: Sweden
Post: #303
(2017-04-25 15:21)fengen Wrote:  What can be the cause of this;

15:07:03.793 T:2112 NOTICE: Janitor: Not cleaning u'E:\\Serier\\8 Simple Rules\\8 Simple Rules - 3x24 - Ditch Day.avi'.
15:07:03.814 T:2112 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u0101' in position 60: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py", line 45, in <module>
autostart()
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py", line 31, in autostart
results, _ = cleaner.clean_all()
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\default.py", line 228, in clean_all
cleaned_files, count, status = self.clean(video_type)
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\default.py", line 148, in clean
unstacked_path = self.unstack(filename)
File "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\default.py", line 385, in unstack
path = path.encode()
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0101' in position 60: ordinal not in range(128)
-->End of Python script error report<--
15:07:03.828 T:2112 WARNING: CPythonInvoker(2, C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py): the python script "C:\Users\Media\AppData\Roaming\Kodi\addons\script.service.janitor\service.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmc::Monitor,class XBMCAddon::xbmcgui::DialogProgress

I have the same issue

The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
(This post was last modified: 2017-04-28 18:08 by Blackkatt.)
find quote
scott0_1 Offline
Junior Member
Posts: 37
Joined: Jun 2009
Reputation: 0
Post: #304
I think there's another missing "utf-8" in version 4.3.1.

Check the default.py and make sure all instances of path.encode("utf-8") have the "utf-8" in the brackets. Fixed me right up.
find quote
neunmalelf Offline
Junior Member
Posts: 1
Joined: May 2017
Reputation: 0
Information  Janitor 4.3.9 (NOT OFFICIAL Interims Version)
Post: #305
Version 4.3.9
DOWNLOAD from HERE

!!! It's only tested on KODI 17.1.0.0 on Windows 10 - USE AT YOUR OWN RISK!!!
Please keep in mind that this addon can delete your whole media library if used wrong!

I highly recommend to uninstall any older version (note your settings before you do so) before you install this version.

This is an interims solution.

FIXED - utf-8 problems should be fixed
FIXED - previous version used the field RATINGS which contains the rating from the online source.
The user changable rating from the INFO dialog was ignored.
This version use the field USERRATING from the info dialog.

I changed the icon a bit to remind us that this is an interims solutions.

When im back i will contact Anthirian and check ihow we can get all the fixes original-source trunck and therefore back to the standard repository.

rgds
neunmalelf
(This post was last modified: 2017-05-18 17:11 by neunmalelf.)
find quote
micksel Offline
Junior Member
Posts: 9
Joined: May 2015
Reputation: 0
Post: #306
This new version solved my encoding error but it seem that something isn't ok,
Says 159 episodes expired, Then no cleaning done and the same over and over again. everytime I run it.
(This post was last modified: Yesterday 13:33 by micksel.)
find quote
Post Reply