{"action":"opened","issue":{"url":"https://api.github.com/repos/arkarkark/itdb/issues/1","labels_url":"https://api.github.com/repos/arkarkark/itdb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/arkarkark/itdb/issues/1/comments","events_url":"https://api.github.com/repos/arkarkark/itdb/issues/1/events","html_url":"https://github.com/arkarkark/itdb/issues/1","id":69046835,"number":1,"title":"itdbloader.py error","user":{"login":"ronech","id":3359129,"avatar_url":"https://avatars.githubusercontent.com/u/3359129?v=3","gravatar_id":"","url":"https://api.github.com/users/ronech","html_url":"https://github.com/ronech","followers_url":"https://api.github.com/users/ronech/followers","following_url":"https://api.github.com/users/ronech/following{/other_user}","gists_url":"https://api.github.com/users/ronech/gists{/gist_id}","starred_url":"https://api.github.com/users/ronech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronech/subscriptions","organizations_url":"https://api.github.com/users/ronech/orgs","repos_url":"https://api.github.com/users/ronech/repos","events_url":"https://api.github.com/users/ronech/events{/privacy}","received_events_url":"https://api.github.com/users/ronech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-17T02:10:00Z","updated_at":"2015-04-17T02:10:00Z","closed_at":null,"body":"bender:itdb rone$ ./itdbloader.py \r\nDEBUG:root:Starting ./itdbloader.py @ 2015-04-16 19:01:05.499557\r\nINFO:root:Sanitizing xml into: /var/folders/4s/80qpdfsn3h35_grdnqdz7cyw0000gn/T/tmpLzB5Ho\r\nINFO:root:tr -cd '\t\r\n -~' <'/Users/rone/Music/iTunes/iTunes Music Library.xml' >'/var/folders/4s/80qpdfsn3h35_grdnqdz7cyw0000gn/T/tmpLzB5Ho'\r\nINFO:root:loading /var/folders/4s/80qpdfsn3h35_grdnqdz7cyw0000gn/T/tmpLzB5Ho\r\nINFO:root:Connecting to db\r\nINFO:root:Clearing database\r\nDEBUG:root:We care about these columns: User_ID, Track_ID, Name, Artist, Album, Genre, Kind, Size, Total_Time, Disc_Number, Disc_Count, Track_Number, Track_Count, Year, DATE_MODIFIED, Date_Added, Skip_Date, Skip_Count, Bit_Rate, Sample_Rate, Play_Count, Play_Date_UTC, Rating, Artwork_Count, Season, Persistent_ID, Track_Type, File_Type, File_Creator, Location, File_Folder_Count, Library_Folder_Count\r\nINFO:root:Loading tracks data\r\n....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................\r\nINFO:root:Building Playlists\r\n..Max name is 20 : Purgatory / Paradise\r\nINFO:root:dir is : '/Users/rone/html/itdb'\r\nDEBUG:root:rm -rf /Users/rone/html/itdb/album\r\nDEBUG:root:rm -rf /Users/rone/html/itdb/artist\r\nDEBUG:root:rm -rf /Users/rone/html/itdb/playlist\r\nDEBUG:root:rm -rf /Users/rone/html/itdb/genre\r\nINFO:root:Writing Stats\r\nINFO:root:Connecting to db\r\nTraceback (most recent call last):\r\n  File \"./itdbloader.py\", line 333, in <module>\r\n    it.WriteStats()\r\n  File \"/Users/rone/itdb/itdb2html.py\", line 376, in WriteStats\r\n    ratingspercent.append(\"%d%%\" % ((ratings[x] * 100) / totals[\"track\"]))\r\nIndexError: list index out of range\r\nINFO:root:Closing db\r\nINFO:root:Closing db\r\nINFO:root:Cleaning up: /var/folders/4s/80qpdfsn3h35_grdnqdz7cyw0000gn/T/tmpLzB5Ho\r\n\r\nI'm not sure if it's crapping out due to \"Purgatory / Paradise\" (directory name is \"/Users/rone/Music/iTunes/iTunes Media/Music/Throwing Muses/Purgatory _ Paradise\") or something else. How can i help track this down?"}}