giftie Wrote:I just looked over your log, Did you have a problem building cdART's database?
It looks like I have...
tested v.1.4.1:
smb-folder creation still works
I think there is something wrong with building the database on my end.
Since it´s a very big log, i will try to help a little:
This error keeps showing up:
Code:
14:55:49 T:3696 M:2632806400 ERROR: [script.cdartmanager] - Error: HTTP Error 503: (Service unavailable)
maybe scraping too fast?
some unicode related problems with the albums:
"The Beatles/Sgt. Pepper’S Lonely Hearts Club Band (1967)"
Code:
14:58:43 T:3696 M:2639327232 ERROR: File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 146, in retrieve_album_details_full
14:58:43 T:3696 M:2639327232 ERROR: a_title = album_artist["title"].encode("utf-8")
14:58:43 T:3696 M:2639327232 ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 11: ordinal not in range(128)
"P!Nk/Greatest Hits... So Far!!! (2010)"
Code:
14:59:27 T:3696 M:2639962112 ERROR: Traceback (most recent call last):
14:59:27 T:3696 M:2639962112 ERROR: File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\gui.py", line 149, in onInit
14:59:27 T:3696 M:2639884288 ERROR: self.setup_all()
14:59:27 T:3696 M:2639884288 ERROR: File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\gui.py", line 1033, in setup_all
14:59:27 T:3696 M:2639884288 ERROR: local_album_count, local_artist_count, local_cdart_count = new_database_setup( self.background )
14:59:27 T:3696 M:2639884288 ERROR: File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 335, in new_database_setup
14:59:27 T:3696 M:2639884288 ERROR: c.execute('''create table counts(artists INTEGER, albums INTEGER, cdarts INTEGER, version TEXT)''')
14:59:27 T:3696 M:2639884288 ERROR: OperationalError: table counts already exists
"Rammstein/Liebe Ist Für Alle Da (2009)"
Code:
14:59:47 T:2696 M:2639998976 ERROR: Traceback (most recent call last):
14:59:47 T:2696 M:2639994880 ERROR: File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 220, in store_alblist
14:59:47 T:2696 M:2639994880 ERROR: c.execute("insert into alblist(album_id, title, artist, path, cdart, cover, disc, musicbrainz_albumid, musicbrainz_artistid) values (?, ?, ?, ?, ?, ?, ?, ?, ?)", ( album["local_id"], album["title"], album["artist"], album["path"].replace("\\\\" , "\\"), ("False","True")[album["cdart"]], ("False","True")[album["cover"]], album["disc"], album["musicbrainz_albumid"], album["musicbrainz_artistid"] ))
14:59:47 T:2696 M:2639994880 ERROR: ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
The database building hangs at 100%.
As I can see in the debug log the building for 137 albums only took about 5 Minutes.
I waited over an hour before I interfered...but I couldn´t close the window, so ALT+F4 it was...
debug log - building database
debug log - automatic search
In the end it could all be some user error...since i tried building the database several times(to start fresh I deleted the folder: /userdata/addon_data/script.cdartmanager)
2 out of 6 times building the database seems to have worked.
Here is a log of a "good" build:
debug
and a log for automatic search with this "good" database:
debug
I really hope I don´t confuse you and sorry for the mediafire dumps...pastebins size limit is too low