Bug FIXED Aeon with WHS2011 Script fails RandomItems.py
#1
Hi

Came across this issue using using Aeon NOX 3.6 with WHS2011 (works OK on my HP-Laptop Win7)

Ant assistance is appreciated, Debug log is Here

Mysticpete

11:46:54 T:25496 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
11:46:54 T:25496 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "value" for method "setProperty" must be unicode or str
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 431, in <module>
Main()
File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 80, in __init__
self._fetch_album_info()
File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 266, in _fetch_album_info
self.WINDOW.setProperty( "RandomAlbum.%d.Artist" % ( count ), artist )
TypeError: argument "value" for method "setProperty" must be unicode or str
-->End of Python script error report<--
11:46:54 T:25496 INFO: Python script stopped
11:46:54 T:25496 DEBUG: Thread XBPyThread 25496 terminating
11:46:54 T:20356 DEBUG: waiting for python thread 5 to stop
11:46:54 T:20356 DEBUG: python thread 5 destructed
HP N54L server with 6GB Memory and 10TB storage
Freenas server
HD Homerun twin HD network tuners (awesome)
2 x Pi 512 (B)
Reply
#2
It's not a skin issue but a script issue.

It's because one of your album should contain special characters (like é è à or other language specific character).

And as the artist is pick randomly, and if you have a big library, the script can bug as well on your laptop.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#3
(2012-10-31, 09:16)mikebzh44 Wrote: It's not a skin issue but a script issue.

It's because one of your album should contain special characters (like é è à or other language specific character).

And as the artist is pick randomly, and if you have a big library, the script can bug as well on your laptop.

Actually no Smile

This is caused by JSON-RPC changes in Frodo.

If you still use Aeon Nox 3.6 install
https://github.com/XBMC-Addons/script.ra.../downloads
https://github.com/XBMC-Addons/script.wa.../downloads
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
(2012-10-31, 09:18)Martijn Wrote:
(2012-10-31, 09:16)mikebzh44 Wrote: It's not a skin issue but a script issue.

It's because one of your album should contain special characters (like é è à or other language specific character).

And as the artist is pick randomly, and if you have a big library, the script can bug as well on your laptop.

Actually no Smile

This is caused by JSON-RPC changes in Frodo.

If you still use Aeon Nox 3.6 install
https://github.com/XBMC-Addons/script.ra.../downloads
https://github.com/XBMC-Addons/script.wa.../downloads

Hey Martijn

Thanks for the pointer, and mikebzh44 thanks for your input also.

One day all Forums will work this well :-)
Mysticpete
HP N54L server with 6GB Memory and 10TB storage
Freenas server
HD Homerun twin HD network tuners (awesome)
2 x Pi 512 (B)
Reply
#5
EDIT

Fixed it!! thanks again
HP N54L server with 6GB Memory and 10TB storage
Freenas server
HD Homerun twin HD network tuners (awesome)
2 x Pi 512 (B)
Reply

Logout Mark Read Team Forum Stats Members Help
FIXED Aeon with WHS2011 Script fails RandomItems.py0