2014-02-06, 11:50
thanks for the quick reply Anthirian, i wish i had time to get back into coding and dive into the code myself.
keep up the great work!
keep up the great work!
(2013-10-26, 00:25)Anthirian Wrote: [ -> ]Thanks for the update, I forgot to tell you I'm looking into this. It appears to have to do with the mounting of the drive as I expected. Apparently asking for the disk space on smb://BT/D/ is not valid. It needs to be checked on the mount point, but since XBMC uses an internal mounting system it might be a bit harder than I thought.
22:00:34 T:2751808592 NOTICE: XBMC File Cleaner: The path now is smb:/BT/D
22:00:34 T:2751808592 ERROR: XBMC File Cleaner: Could not check disk space. Access denied.
(2014-04-22, 15:16)Anthirian Wrote: [ -> ]Unfortunately I haven't found a fix-all solution yet for your problem. In the meantime a lot of new features were added in the master branch, including better logging for various parts. Could you try cloning from github and posting a fresh debug log of your problem? Please post the entire log to www.xbmclogs.com if possible.
12:49:21 T:7796 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 691, in <module>
run = Cleaner()
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 90, in __init__
self.cleanup()
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 142, in cleanup
self.clean_related_files(abs_path)
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 615, in clean_related_files
if extra_file.startswith(name):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
-->End of Python script error report<--
12:49:21 T:7796 INFO: Python script stopped
(2014-04-27, 12:15)snupple Wrote: [ -> ]That's strange. I am running Gotham beta 4 and I can import xbmc.gui just fine. Are you running an older beta than I am? Or maybe you are running two separate XBMC versions that interfere with eachother?(2014-04-22, 15:16)Anthirian Wrote: [ -> ]Unfortunately I haven't found a fix-all solution yet for your problem. In the meantime a lot of new features were added in the master branch, including better logging for various parts. Could you try cloning from github and posting a fresh debug log of your problem? Please post the entire log to www.xbmclogs.com if possible.
I'm running Gotham 13:
and get this error:
18:08:33 T:3058221056 DEBUG: Addon script.filecleaner requires xbmc.gui version 4.0.0 which is not available
(2014-04-27, 12:19)zorvalth Wrote: [ -> ]Hi, I got an idea for a feature. Something like delete tv show when they are watched and older than X episodes behind. For example i want to keep only the last 2 episodes. I tried to put 15 days but sometimes tv shows got pauses for a month or two. Sorry for my english I hope you got what i mean...I think I do understand. It should not be too hard to implement since I can just ask XBMC for the current episode number. It will probably not be ready for the Gotham update yet though, but sometime later.
(2014-04-27, 13:00)laric Wrote: [ -> ]installed the master version and get the following error on the lastest nightly win32.Thanks for the bug report. It appears I forgot to add unicode support for finding related files. The fix might be easy enough. Could you add the following code at the start of the for loop where the error happens?
Code:12:49:21 T:7796 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 691, in <module>
run = Cleaner()
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 90, in __init__
self.cleanup()
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 142, in cleanup
self.clean_related_files(abs_path)
File "C:\Users\Michael\AppData\Roaming\XBMC\addons\script.filecleaner\default.py", line 615, in clean_related_files
if extra_file.startswith(name):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
-->End of Python script error report<--
12:49:21 T:7796 INFO: Python script stopped
if isinstance(extra_file, unicode):
extra_file = extra_file.encode("utf-8")
...
for extra_file in xbmcvfs.listdir(path)[1]:
if isinstance(extra_file, unicode):
extra_file = extra_file.encode("utf-8")
if extra_file.startswith(name):
...