[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3854: builtins.TypeError: write() argument must be str, not bytes from allmydata/webish.py usage of FileUploadFieldStorage

Tahoe-LAFS trac at tahoe-lafs.org
Thu Jan 6 17:35:35 UTC 2022


#3854: builtins.TypeError: write() argument must be str, not bytes from
allmydata/webish.py usage of FileUploadFieldStorage
-------------------------+-----------------------
     Reporter:  exarkun  |      Owner:  itamarst
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  n/a
   Resolution:           |   Keywords:  python3
Launchpad Bug:           |
-------------------------+-----------------------

Comment (by itamarst):

 So now my guess is that the bug is "the code does multipart/form-data
 parsing even when that MIME type isn't set." Which in Python 2 would be
 harmless waste of effort, and I guess blows up in Python 3.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3854#comment:8>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list