How to solve "Programming error: you must not 8-bit bytestrings.."

Hi There
  • InVEST model: carbon, pollination
  • InVEST version: 3.6.0.x86
  • The entire log file produced:
  • ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
  • So, what to do? How to use a text_factory that can interpret 8-bit bytestrings or how to switch my application to Unicode strings?
  • Thanks Peter

Comments

  • jdouglassjdouglass Administrator, NatCap Staff
    Hi Peter, could you attach the whole logfile from your InVEST run where it's not working as expected?  That'll help with debugging.

    Thanks,
    James
Sign In or Register to comment.