After manually increasing the urllib timeout for connection to ampache and a successfull artist pull of 18k artists the album pull exploded with what it seems was a encoding error (oh, i myself also love en- and decoding stuff in python!)... and a (resulting?!) KeyError for album_id... traceback:
Plugins = {'pidgin_status': <pidgin_status.PidginPlugin instance at 0x89ed32c>, 'template': <template.TemplatePlugin instance at 0x89ed64c>}
--- Attempting to login to Ampache ---
Ampache = http://dyn.kanojo.de/ampache-git
Username = admin
Password = **********
Authentication Successful!
Authentication = 5509b0df6ba2e404184a0e5b896b1bd1
Number of artists = 14852
More than 5000 artists
Offset = 0
Offset = 5000
Offset = 10000
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag 'Unknown' on line 1 char 18
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag '歌:朝倉音夢' on line 1 char 91
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 102: '歌:朝倉音夢&芳野さくら' is not a valid name: '&'
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 111: '歌:朝倉音夢&芳野さくら' is not a valid name: '&'
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag '歌:yozuca' on line 1 char 50
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag '歌:CooRie' on line 1 char 86
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag '歌:朝倉音夢' on line 1 char 69
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag '歌:朝倉音夢' on line 1 char 79
gtk.main_iteration()
/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py:2958: GtkWarning: Failed to set text from markup due to error parsing markup: Unknown tag '歌:CooRie' on line 1 char 106
gtk.main_iteration()
Traceback (most recent call last):
File "/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py", line 878, in main_gui_callback
if self.login_and_get_artists("First"):
File "/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py", line 1958, in login_and_get_artists
self.check_and_populate_albums()
File "/data/Sources/viridianplayer/AmpacheTools/AmpacheGUI.py", line 2879, in check_and_populate_albums
list.append([album['artist_id'], album['album_id'], album['album_name'], album['album_year'], album['precise_rating']])
KeyError: 'album_id'
Confirmed. Encoding and decoding is awful business, but this should have been solved in my latest iteration. Are you using Viridian 1.2 or did you pull the code directly from launchpad? I think the newest revision should have fixed this.
btw 18k artists? that's insanity.. i'm glad Ampache can catalog it all for you!