﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
3510	"foolscap.tokens.Violation: Violation (RILogObserver.foolscap.lothar.com.msg(logmsg=)): (""'u'parent'' is not a bytestring"",)"	exarkun	itamarst	"Attempting `tahoe put` anything against a master@dc611bf9b (just the revision I happen to have right now) client node fails with this traceback:

{{{
2020-11-16T15:30:44-0500 [twisted.internet.defer#critical]
        Traceback (most recent call last):                                                                                                                                                   
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/twisted/internet/base.py"", line 913, in runUntilCurrent                                                     
            call.func(*call.args, **call.kw)
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/eventual.py"", line 26, in _turn                                                                    
            cb(*args, **kwargs)
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/logging/publish.py"", line 42, in subscribe                                                         
            self.observer.callRemoteOnly(""msg"", e)                                                                                                                                           
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/referenceable.py"", line 422, in callRemoteOnly                                                     
            *args, **kwargs)
        --- <exception caught here> ---                                                                                                                                                      
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/twisted/internet/defer.py"", line 151, in maybeDeferred                                                      
            result = f(*args, **kw)
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/referenceable.py"", line 482, in _callRemote                                                        
            methodSchema.checkAllArgs(args, kwargs, False)
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/remoteinterface.py"", line 284, in checkAllArgs                                                     
            constraint.checkObject(argvalue, inbound)
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/slicers/dict.py"", line 146, in checkObject
            self.keyConstraint.checkObject(key, inbound)
          File ""/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/foolscap/constraint.py"", line 220, in checkObject
            raise Violation(""'%r' is not a bytestring"" % (obj,))
        foolscap.tokens.Violation: Violation (RILogObserver.foolscap.lothar.com.msg(logmsg=)): (""'u'parent'' is not a bytestring"",)
}}}

I guess some porting switched some logging strings from bytes to unicode where that's not allowed."	defect	closed	normal	Support Python 3	unknown	n/a	fixed			
