JeffHoogland / qAndora

Pandora player written in Python and QT that uses VLC as a streaming backend
Other
16 stars 2 forks source link

Crashes after login Fedora 20 #3

Closed JasonLG1979 closed 10 years ago

JasonLG1979 commented 10 years ago

The 1st time I run python qAndora.py I get a diolog box that asks for my Pandora username and password. After I enter the info it crashes with this in the terminal.

ERROR:root:fault code: 1002 message: An unexpected error occurred ERROR:root:fault code: 9 message: An unexpected error occurred Traceback (most recent call last): File "qAndora.py", line 407, in mainWin = MainWindow() File "qAndora.py", line 70, in init self.loginUser(self.preferences['username'], self.preferences['password']) File "qAndora.py", line 120, in loginUser self.radioPlayer.setStation(self.radioPlayer.getStations()[0]) File "/home/jason/qAndora/playerVLC/playerVLC.py", line 62, in getStations return self.pandora.get_stations() File "/home/jason/qAndora/playerVLC/pandora.py", line 185, in get_stations stations = self.json_call('user.getStationList')['stations'] File "/home/jason/qAndora/playerVLC/pandora.py", line 152, in json_call raise PandoraError("Pandora returned an error", code, "%s (code %d)"%(msg, code)) playerVLC.pandora.PandoraError

JeffHoogland commented 10 years ago

This generally means the user information was entered incorrectly. Adding validation for the entered credentials is on my TODO list. Check ~/.config/qAndora/preferences.cfg and make sure you entered them correctly.

JasonLG1979 commented 10 years ago

Yep. My bad I typed the wrong password,lol!!!