Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

picture album not loading #63

Closed
Skaronator opened this issue Jan 7, 2017 · 9 comments
Closed

picture album not loading #63

Skaronator opened this issue Jan 7, 2017 · 9 comments

Comments

@Skaronator
Copy link

Skaronator commented Jan 7, 2017

If you go to your photo libary and click on any album it is loading nothing.

It looks like this:
kodi_2017_01_07_13_44_11_014

And the log is thowing this:

13:44:08.325 T:20192   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('photodirectory',)
Traceback (most recent call last):
File "C:\Users\Skaronator\AppData\Roaming\Kodi\addons\script.plex\lib\windows\kodigui.py", line 99, in onInit
self.onFirstInit()
File "C:\Users\Skaronator\AppData\Roaming\Kodi\addons\script.plex\lib\windows\kodigui.py", line 699, in _onFirstInit
self.onFirstInit()
File "C:\Users\Skaronator\AppData\Roaming\Kodi\addons\script.plex\lib\windows\library.py", line 250, in onFirstInit
self.setProperty('sort.display', SORT_KEYS[self.section.TYPE].get(self.sort, SORT_KEYS['movie'].get(self.sort))['title'])
KeyError: ('photodirectory',)
-->End of Python script error report<--

Tested on Kodi 16.1 on Android TV and on Kodi 17 rc2 on Windows 10. (Log from W10)

@keithah
Copy link

keithah commented Jan 8, 2017

@Skaronator
Copy link
Author

Here is the full log. You'll see the same at Line ~1249.
kodi.zip

I'm not at home so tried to reproduce it via remote access on another PC and have the same result.

@keithah
Copy link

keithah commented Jan 11, 2017

Can you try:
https://forums.plex.tv/discussion/251413/only-for-serious-testers-bleeding-edge-testing-releases/

.100a5 located in this thread? It may fix your issue. If not we need another log with the .100a5 release. Thanks!

@Skaronator
Copy link
Author

Skaronator commented Jan 11, 2017

I'm supposed to uninstall the old version?

If not:
The fast user switching UI isn't loading at all, so cannot select my Account. (Basically what mini.PLEX said in the forum)

Its looking like this without the "box" in the middle (it pop up when I press F11 for the screenshot)
kodi_2017_01_11_19_11_13_319

Log: kodi.zip

@ruuk
Copy link
Contributor

ruuk commented Jan 11, 2017

Thanks for the log and screenshot, it's much appreciated :)

Could you give this version a try?

script.plex-0.0.100a6.zip

@Skaronator
Copy link
Author

Skaronator commented Jan 11, 2017

Now it won't connect to my server anymore. (I'm still not at home, so remote connection) Webinterface (app.plex.tv) also works fine.

kodi_2017_01_11_23_07_37_999

Log:
kodi.zip

@Skaronator
Copy link
Author

Switched back to 0.0.99 and everything works again, so its not a connection issue.

@ruuk
Copy link
Contributor

ruuk commented Jan 11, 2017

Again, thanks for the logs and screenshots. I'm basically positive your original issue is fixed in the latest code that's in the testing versions. The problem is that your hitting another issue some users are having with these builds where the request times out before it connects to the Plex servers.

Rather than make you try to first get past a different issue than the one you were reporting, here is an earlier build that should fix the issue.

plex-for-kodi-private-develop.zip

@Skaronator
Copy link
Author

Skaronator commented Jan 11, 2017

Everything seems working now, thanks!

One little thing I've noticed: If you start a diashow it'll switch to the next image before the current image is loaded. (Because of the slow internet connection). So a waitUntil image loaded would be good before it start the countdown for switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants