Dogsticks logo  
    Home        Book Reviews        Music        Photos        Kayaking Videos        Videos with Music        oBlog        Links        Contact    


Book Reviews - Review 396

Choose a category for a list of reviews. Notes | Books I Couldn't Finish | Random Review

Latest | Fiction | Science | Biography / Memoir | History | Music | Miscellaneous | All

Search Reviews: Whole Words Author/Title Only Include Unfinished Books
--> -->
 
 
<type 'exceptions.UnicodeEncodeError'>
Python 2.7.5: /usr/bin/python2
Tue Jul 14 06:26:07 2020

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/dogstick/public_html/cgi-bin/bookreviews/reviews.pycgi in ()
    681             anHTMLPage.createResultsList(aReviewList.records, sortColumn)
    682         anHTMLPage.insertGlobalFullTextLink()
    683 
=>  684     anHTMLPage.output()
    685     c.close()
anHTMLPage = <__main__.HTMLPage instance>, anHTMLPage.output = <bound method HTMLPage.output of <__main__.HTMLPage instance>>
 /home/dogstick/public_html/cgi-bin/bookreviews/reviews.pycgi in output(self=<__main__.HTMLPage instance>)
    552             line = line.replace(r"%%includeUnfinished%%", str(self.includeUnfinished).lower())
    553 
=>  554             print line                          # Needs .encode("utf-8") adding in live version. Don't know why.
    555         file.close()
    556 
line = u' <H2>\n <A href="...=return-to-top><A href=#>[Return to top]</A></P>\n'

<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 5512-5514: ordinal not in range(128)
      args = ('ascii', u' <H2>\n <A href="...=return-to-top><A href=#>[Return to top]</A></P>\n', 5512, 5515, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 5515
      message = ''
      object = u' <H2>\n <A href="...=return-to-top><A href=#>[Return to top]</A></P>\n'
      reason = 'ordinal not in range(128)'
      start = 5512