Traceback (most recent call last):


 "scrapeRecipe.py", line 31, in <module>

br.select_form(name="aspnetForm")


 "/Library/Python/2.7/site-packages/mechanize/_mechanize.py", line 619, in select_form

global_form = self._factory.global_form


 "/Library/Python/2.7/site-packages/mechanize/_html.py", line 260, in global_form

self.forms()


 "/Library/Python/2.7/site-packages/mechanize/_html.py", line 267, in forms

self._current_forms, self._current_global_form = self._get_forms()


 "/Library/Python/2.7/site-packages/mechanize/_html.py", line 282, in _get_forms

if self.root is None:


 "/Library/Python/2.7/site-packages/mechanize/_html.py", line 247, in root

response, verify=False))


 "/Library/Python/2.7/site-packages/mechanize/_html.py", line 145, in content_parser

from html5lib import parse


 "/Library/Python/2.7/site-packages/html5lib/__init__.py", line 16, in <module>

from .html5parser import HTMLParser, parse, parseFragment


 "/Library/Python/2.7/site-packages/html5lib/html5parser.py", line 2, in <module>

from six import with_metaclass, viewkeys, PY3
ImportError: cannot import name viewkeys

[31/Oct/2012:10:40:14] HTTP Traceback (most recent call last):

 "C:\python32\lib\site-packages\cherrypy-3.2.2-py3.2.egg\cherrypy_cprequest.py", line 647, in respond
self.hooks.run('before_request_body')

 "C:\python32\lib\site-packages\cherrypy-3.2.2-py3.2.egg\cherrypy_cprequest.py", line 112, in run
raise exc

 "C:\python32\lib\site-packages\cherrypy-3.2.2-py3.2.egg\cherrypy_cprequest.py", line 102, in run
hook()

 "C:\python32\lib\site-packages\cherrypy-3.2.2-py3.2.egg\cherrypy_cprequest.py", line 62, in **call**
return self.callback(**self.kwargs)

 "C:\python32\lib\site-packages\ws4py-0.2.3-py3.2.egg\ws4py\server\cherrypyserver.py", line 149, in upgrade
ws_key = base64.b64decode(key)

 "C:\python32\lib\base64.py", line 83, in b64decode
raise TypeError("expected bytes, not %s" % s.**class**.**name**)TypeError: expected bytes, not str