Bug -  TypeError: utime() arg 2 must be a tuple (atime, mtime) on Xbox One
#1
There appears to be a problem with Python shutil.move() on Xbox One.
Code:
Traceback (most recent call last):
File "U:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\plugin.video.btsportvideo\addon.py", line 144, in <module>
plugin.run()
File "U:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\script.module.kodiswift\lib\kodiswift\plugin.py", line 314, in run
storage.close()
File "U:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\script.module.kodiswift\lib\kodiswift\storage.py", line 106, in close
self.sync()
File "U:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\script.module.kodiswift\lib\kodiswift\storage.py", line 163, in sync
super(TimedStorage, self).sync()
File "U:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\script.module.kodiswift\lib\kodiswift\storage.py", line 123, in sync
shutil.move(temp_file, self.file_path)
File "S:\Program Files\WindowsApps\XBMCFoundation.Kodi_17.9.114.70_x64__4n2hpmxwrvr6p\system\python\Lib\shutil.py", line 302, in move
copy2(src, real_dst)
File "S:\Program Files\WindowsApps\XBMCFoundation.Kodi_17.9.114.70_x64__4n2hpmxwrvr6p\system\python\Lib\shutil.py", line 131, in copy2
copystat(src, dst)
File "S:\Program Files\WindowsApps\XBMCFoundation.Kodi_17.9.114.70_x64__4n2hpmxwrvr6p\system\python\Lib\shutil.py", line 98, in copystat
os.utime(dst, (st.st_atime, st.st_mtime))
TypeError: utime() arg 2 must be a tuple (atime, mtime)
Leopold's Repository: Home of LibreELEC Dev Updater ...
Reply
#2
Bug report submitted https://trac.kodi.tv/ticket/17889
Leopold's Repository: Home of LibreELEC Dev Updater ...
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
TypeError: utime() arg 2 must be a tuple (atime, mtime) on Xbox One00