[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3510: foolscap.tokens.Violation: Violation (RILogObserver.foolscap.lothar.com.msg(logmsg=)): ("'u'parent'' is not a bytestring", )

Tahoe-LAFS trac at tahoe-lafs.org
Mon Nov 16 20:42:25 UTC 2020


#3510: foolscap.tokens.Violation: Violation
(RILogObserver.foolscap.lothar.com.msg(logmsg=)): ("'u'parent'' is not a
bytestring",)
---------------------+----------------------------------
 Reporter:  exarkun  |          Owner:  itamarst
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  Support Python 3
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+----------------------------------
 Attempting `tahoe put` anything against a master at 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.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3510>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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