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

Paul Menzel paulepanter at
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/", line 378, in <module>
          File "/arm/src/util/", line 292, in init
            self._exitPolicyChecker = self.getExitPolicy()
          File "/arm/src/util/", line 766, in getExitPolicy
            result = ExitPolicy("reject private", result)
          File "/arm/src/util/", line 1541, in __init__
            lastHop = ExitPolicy(prefix + addr + suffix, lastHop)
          File "/arm/src/util/", line 1558, in __init__
            self.ipAddressBin += ("%8s" % bin(int(octet))[2:]).replace(" ", "0")
        NameError: global name 'bin' is not defined


-------------- 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: <>

More information about the tor-talk mailing list