subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Porter <>
Subject Re: commit says TypeError: must be unicode, not str
Date Wed, 07 Feb 2018 17:22:52 GMT
Here's an interesting clue. I added "print type(fp)" after the temp file is 
opened to see what kind of file object was returned by the open call and 
got this traceback. How is the type function getting overloaded with 
svn_fs_type? So far I haven't been able to recreate this with a short 
hello-world program. So I'm sure something is going wrong in the chain of 
imports somewhere between and

  File "/usr/lib64/python2.7/site-packages/svn/", line 80, in 
    print type(fp)
  File "/usr/lib64/python2.7/site-packages/libsvn/", line 122, in 
    return _fs.svn_fs_type(*args)
TypeError: must be string, not _io.TextIOWrapper

View raw message