No Artist and No Album

Bug #1419980 reported by NORM on 2015-02-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Viridian
Undecided
Unassigned

Bug Description

nologin error and i can open and play playlists but problems with
pulling Artist and Album:
File "/usr/share/viridian/AmpacheTools/AmpacheSession.py", line 258, in get_artists
    artist_name = child.getElementsByTagName('name')[0].childNodes[0].data
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/bin/viridian-cli", line 94, in <module>
    for artist in ampache_conn.get_artists():
TypeError: 'NoneType' object is not iterable

I get 0 Artists and 0 Albums

Dynosu (dynosu-dynosu) wrote :

viridian
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Plugins = {'pidgin_status': <pidgin_status.PidginPlugin instance at 0x7f8177ea5b48>, 'template': <template.TemplatePlugin instance at 0x7f8177ea5320>}
--- Attempting to login to Ampache ---
Ampache = http://10.0.0.111
Username = user
Password = **********
Authentication Successful!
Authentication = cc40a80bd8348cd94ae9e1fb6bdc50df
Number of artists = 46
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/AmpacheTools/AmpacheSession.py", line 779, in __call_api
    dom = xml.dom.minidom.parseString(x)
  File "/usr/lib/python2.7/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: undefined entity: line 922, column 537

this not being on ubuntu, but same error more or less

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers