robweber / xbmcbackup

Backup Addon for Kodi
MIT License
112 stars 48 forks source link

backup stucks if librespot addon is installed #118

Open bylderup opened 6 years ago

bylderup commented 6 years ago

I´m using the librespot addon on my Mecool M8s pro device. Libreelec Version is 8.19 8.2 / Kodi 17.5-RC1 booting from sd Card XBMC Backup stucks at addons/service.librespot/lib Any hints to solve the problem ?

robweber commented 6 years ago

Can you provide a debug log? That would let me know if it's during file discovery or during file copy.

bylderup commented 6 years ago

its during file copy. job simply stops and is still showing info window not moving forward anymore debug log is more than 10 MB, but here is the important text (I guess):

18:36:24.728 T:3347051424 DEBUG: script.xbmcbackup-1.0.9: Writing file: /storage/.kodi/addons/service.librespot/bin/librespot 18:36:24.732 T:3347051424 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://NAS/backup/M8spro/201711111833/addons/service.librespot/bin/librespot 18:36:26.402 T:3347051424 DEBUG: CSMBFile::Close closing fd 10000 18:36:26.415 T:3347051424 DEBUG: script.xbmcbackup-1.0.9: Writing file: -/storage/.kodi/addons/service.librespot/lib 18:36:26.447 T:3347051424 DEBUG: script.xbmcbackup-1.0.9: Writing file: /storage/.kodi/addons/service.librespot/lib/libdns_sd.so.1 18:36:26.451 T:3347051424 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://NAS/backup/M8spro/201711111833/addons/service.librespot/lib/libdns_sd.so.1 18:36:26.471 T:3347051424 DEBUG: CSMBFile::Close closing fd 10000 18:36:26.473 T:3347051424 DEBUG: script.xbmcbackup-1.0.9: Writing file: /storage/.kodi/addons/service.librespot/alsaaudio.so 18:36:26.477 T:3347051424 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://NAS/backup/M8spro/201711111833/addons/service.librespot/alsaaudio.so 18:36:26.498 T:3347051424 DEBUG: CSMBFile::Close closing fd 10000 18:36:26.501 T:3347051424 DEBUG: script.xbmcbackup-1.0.9: Writing file: /storage/.kodi/addons/service.librespot/addon.py 18:36:26.505 T:3347051424 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://NAS/backup/M8spro/201711111833/addons/service.librespot/addon.py 18:36:26.519 T:3347051424 DEBUG: CSMBFile::Close closing fd 10000 18:36:26.523 T:3347051424 DEBUG: script.xbmcbackup-1.0.9: Writing file: /storage/.kodi/addons/service.librespot/rc 18:36:27.810 T:4099915888 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0 18:36:27.810 T:4099915888 DEBUG: OnKey: down (0xf081) pressed, action is Down 18:36:28.011 T:4099915888 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0 18:36:28.207 T:4099915888 DEBUG: Previous line repeats 1 times. 18:36:28.207 T:4099915888 DEBUG: OnKey: down (0xf081) pressed, action is Down 18:36:28.224 T:4011844512 DEBUG: ffmpeg[EF1FE3A0]: [swscaler] No accelerated colorspace conversion found from yuv420p to bgra. 18:36:28.430 T:4099915888 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0 18:36:28.649 T:4099915888 DEBUG: Previous line repeats 1 times. 18:36:28.649 T:4099915888 DEBUG: OnKey: down (0xf081) pressed, action is Down 18:36:28.847 T:4099915888 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0 18:36:30.333 T:4099915888 DEBUG: Keyboard: scancode: 0x9e, sym: 0x0008, unicode: 0x0000, modifier: 0x0 18:36:30.333 T:4099915888 DEBUG: OnKey: backspace (0xf008) pressed, action is Back 18:36:30.335 T:4099915888 DEBUG: CGUIMediaWindow::GetDirectory (addons:// repository.libreelec.tv/) 18:36:30.335 T:4099915888 DEBUG: ParentPath = [addons://repos/] 18:36:30.354 T:3775374240 DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 6 ms 18:36:30.368 T:3775374240 DEBUG: CAddonDatabase: query SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (32) ORDER BY addons.addonID returned 92 rows in 13 ms 18:36:30.446 T:3775374240 DEBUG: CAddonDatabase::GetAddons took 97 ms 18:36:30.458 T:3061838752 DEBUG: Thread BackgroundLoader start, auto delete: false 18:36:30.459 T:4099915888 DEBUG: Keyboard: scancode: 0x9e, sym: 0x0008, unicode: 0x0000, modifier: 0x0 18:36:30.460 T:3061838752 DEBUG: Thread BackgroundLoader 3061838752 terminating

2017-11-11 15:45 GMT+01:00 Rob notifications@github.com:

Can you provide a debug log? That would let me know if it's during file discovery or during file copy.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/robweber/xbmcbackup/issues/118#issuecomment-343669994, or mute the thread https://github.com/notifications/unsubscribe-auth/AIVoaCtuwcXHB2ybJ9338g0B4LdwG6Bgks5s1bLygaJpZM4QaazC .

robweber commented 6 years ago

Go you do the whole thing to something like pastebin.com? I see a bunch of files completing, and the one that seems to stall out is on the line:

DEBUG: script.xbmcbackup-1.0.9: Writing file:
/storage/.kodi/addons/service.librespot/rc

I'm wondering what type of file that is, and how it fits into the directory tree. I tried looking through the addon files but couldn't find it on github. My gut feeling is that we're stalling out on some kind of binary file that is in use and can't get access to it but I'd like to confirm.

bylderup commented 6 years ago

That file is already deleted.

But here is another example : https://paste.ubuntu.com/25945461/

2017-11-14 16:24 GMT+01:00 Rob notifications@github.com:

Go you do the whole thing to something like pastebin.com? I see a bunch of files completing, and the one that seems to stall out is on the line:

DEBUG: script.xbmcbackup-1.0.9: Writing file: /storage/.kodi/addons/service.librespot/rc

I'm wondering what type of file that is, and how it fits into the directory tree. I tried looking through the addon files but couldn't find it on github. My gut feeling is that we're stalling out on some kind of binary file that is in use and can't get access to it but I'd like to confirm.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/robweber/xbmcbackup/issues/118#issuecomment-344293251, or mute the thread https://github.com/notifications/unsubscribe-auth/AIVoaGR1z6BKAjTKqPAyAh8UHh30KxB-ks5s2bChgaJpZM4QaazC .

robweber commented 6 years ago

Still thinking about this one. I see this line in the debug log you posted right after some file writes:

10:44:13.442 T:2529162144   ERROR: GetDirectory - Error getting None
10:44:15.412 T:2520773536   ERROR: Previous line repeats 1 times.

Wonder if this is what is hosing things up? Seems like it's trying to get a directory, but failing. At some point I'll just have to install this app myself and play with it I think. It's available through the Librelec repo right?

bylderup commented 6 years ago

Yes its from the libreelec repo.

2017-12-04 16:05 GMT+01:00 Rob notifications@github.com:

Still thinking about this one. I see this line in the debug log you posted right after some file writes:

10:44:13.442 T:2529162144 <(252)%20916-2144> ERROR: GetDirectory - Error getting None 10:44:15.412 T:2520773536 ERROR: Previous line repeats 1 times.

Wonder if this is what is hosing things up? Seems like it's trying to get a directory, but failing. At some point I'll just have to install this app myself and play with it I think. It's available through the Librelec repo right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/robweber/xbmcbackup/issues/118#issuecomment-348988772, or mute the thread https://github.com/notifications/unsubscribe-auth/AIVoaJDVt4UPVVQFfHEE6rUpsBD7M5MGks5s9ApHgaJpZM4QaazC .

stale[bot] commented 5 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs.

robweber commented 5 years ago

Ignore the above comment, Probot went crazy and is ignoring the parameters I gave it.

derelvis commented 4 years ago

Hi there, having exact the same issue with kodi integrated backup if librespot plugin is enabled. Any news? Should I upload a log as well? Best regards