1. valueerror no json object could be decoded python
    Solve: have invalid JSON. In that case, that's totally dependent on the data the server sends you which you have not shown. I would suggest running the response through aJSON validator.
  2. ValueError: ValueErr...ecoded',
    Solve: json.loads(cf_info.decode('utf8'))
  3. ImportError: No module named argparse 
    Solve:easy_install argparse
  4. ValueError: zero length field name in format
  5. TypeError: module.__init__() takes at most 2 arguments (3 given)

  6. from Object import ClassName

    and your class definition to:

    class Visitor(ClassName):


    change your class definition to:

    class Visitor(Object.ClassName):

  7. Solve:This feature is only available for at least 3.1 if you are using python 3, or 2.7 if you are using python 2.
  8. There was a problem confirming the ssl certificate: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    easy_install pip==1.2.1

  9. What is PEP8's E128: continuation line under-indented for visual indent?

  10. down voteaccepted

    PEP-8 recommends you indent lines to the opening parentheses if you put anything on the first line, so it should either be indenting to the opening bracket:

    urlpatterns = patterns('',
                           url(r'^$', listing, name='investment-listing'))

    or not putting any arguments on the starting line, then indenting to a uniform level:

    urlpatterns = patterns(
        url(r'^$', listing, name='investment-listing'),
    urlpatterns = patterns(
        '', url(r'^$', listing, name='investment-listing'))

  11. ImportError: No module named setuptools  
    solve: sudo apt-get install python-setuptools

  12. Checking .pth file support in /build/toolchain/noarch/requests-2.2.1/lib/python2.7/site-packages/
    /build/toolchain/lin32/python-2.7.5/bin/python -E -c pass
    TEST FAILED: /build/toolchain/noarch/requests-2.2.1/lib/python2.7/site-packages/ does NOT support .pth files
    error: bad install directory or PYTHONPATH