arm: NameError: global name 'bin' is not defined

Paul Menzel paulepanter at users.sourceforge.net
Sun Jan 30 08:25:30 UTC 2011


Dear Damian,


with revision 24158 I am getting the following error when I want to run arm.

        # ./arm
        Traceback (most recent call last):
          File "./src/starter.py", line 378, in <module>
            controller.init(conn)
          File "/arm/src/util/torTools.py", line 292, in init
            self._exitPolicyChecker = self.getExitPolicy()
          File "/arm/src/util/torTools.py", line 766, in getExitPolicy
            result = ExitPolicy("reject private", result)
          File "/arm/src/util/torTools.py", line 1541, in __init__
            lastHop = ExitPolicy(prefix + addr + suffix, lastHop)
          File "/arm/src/util/torTools.py", line 1558, in __init__
            self.ipAddressBin += ("%8s" % bin(int(octet))[2:]).replace(" ", "0")
        NameError: global name 'bin' is not defined


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20110130/196b9972/attachment.pgp>


More information about the tor-talk mailing list