Ionshard / pyxis

A Command Line Player for SIRIUS and XM Sattelite Radio
http://www.ionshard.com/pyxis
GNU General Public License v2.0
19 stars 13 forks source link

Won't Start - Gives HTMLParser.HTMLParseError: malformed start tag, Error #18

Closed cjmcelias closed 13 years ago

cjmcelias commented 13 years ago

I have a clean install of Ubuntu 10.04 (x86_64) I ran sudo add-apt-repository ppa:pyxis/pyxis && sudo apt-get update && sudo apt-get install pyxis (everything installed) pyxis --help ( This works with no problems)

pyxis -l or pyxis with no arguments gives the following error:

Traceback (most recent call last): File "/usr/bin/pyxis", line 47, in Interface(opts, station) File "/usr/lib/pymodules/python2.6/pyxis/Interface.py", line 83, in init self.repl() File "/usr/lib/pymodules/python2.6/pyxis/Interface.py", line 142, in repl completer = Completer([x['longName'] for x in self.sirius.getStreams()]) File "/usr/lib/pymodules/python2.6/pyxis/Sirius.py", line 297, in getStreams streams = self.tryGetStreams() File "/usr/lib/pymodules/python2.6/pyxis/Sirius.py", line 224, in tryGetStreams soup = BeautifulSoup(data) File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1499, in init BeautifulStoneSoup.init(self, _args, *_kwargs) File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1230, in init self._feed(isHTML=isHTML) File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1263, in _feed self.builder.feed(markup) File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed self.goahead(0) File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead k = self.parse_starttag(i) File "/usr/lib/python2.6/HTMLParser.py", line 226, in parse_starttag endpos = self.check_for_whole_start_tag(i) File "/usr/lib/python2.6/HTMLParser.py", line 301, in check_for_whole_start_tag self.error("malformed start tag") File "/usr/lib/python2.6/HTMLParser.py", line 115, in error raise HTMLParseError(message, self.getpos()) HTMLParser.HTMLParseError: malformed start tag, at line 100, column 3

cjmcelias commented 13 years ago

For the command pyxis, the following

Traceback (most recent call last): File "/usr/bin/pyxis", line 47, in Interface(opts, station) File "/usr/lib/pymodules/python2.6/pyxis/Interface.py", line 83, in init self.repl() File "/usr/lib/pymodules/python2.6/pyxis/Interface.py", line 142, in repl completer = Completer([x['longName'] for x in self.sirius.getStreams()]) File "/usr/lib/pymodules/python2.6/pyxis/Sirius.py", line 299, in getStreams self.auth() File "/usr/lib/pymodules/python2.6/pyxis/Sirius.py", line 196, in auth raise LoginError pyxis.Sirius.LoginError

I am using the siriuscanada.ca

Thanks.

Ionshard commented 13 years ago

I see you are using Sirius Canada, according to Issue #14 you should see that Sirius Canada support is missing, but diligently being worked on. Sorry for the inconvenience.

Ionshard commented 13 years ago

Please watch issue #14 for updates, will be closing this due to duplication.

Thank you for your input though.

cjmcelias commented 13 years ago

Sorry about that. I misunderstood Issue #14. Thanks for the quick response. I will be watching.