[tor-bugs] #8549 [Flashproxy]: Mac OS X pluggable transports bundles need Python 2.7 for argparse

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 29 14:05:27 UTC 2013


#8549: Mac OS X pluggable transports bundles need Python 2.7 for argparse
------------------------+---------------------------------------------------
 Reporter:  dcf         |          Owner:  dcf
     Type:  defect      |         Status:  new
 Priority:  normal      |      Milestone:     
Component:  Flashproxy  |        Version:     
 Keywords:              |         Parent:     
   Points:              |   Actualpoints:     
------------------------+---------------------------------------------------

Comment(by dcf):

 Replying to [comment:14 aallai]:
 > I made a bundle as suggested above by dcf, mrphs can you please test it?
 >
 > http://cs.mcgill.ca/~aallai2/bundles/2.4.11/TorBrowser-Pluggable-
 Transports-2.4.11-alpha-2-osx-i386-en-US.zip
 >
 > http://cs.mcgill.ca/~aallai2/bundles/2.4.11/TorBrowser-Pluggable-
 Transports-2.4.11-alpha-2-osx-i386-en-US.zip.asc

 I diffed this bundle against the 2.4.11-alpha-1, and found some extraneous
 `.pyc` files:
 {{{
 $ diff -ru 2.4.11-alpha-1/TorBrowser_en-US.app/ 2.4.11-alpha-2
 /TorBrowser_en-US.app/
 Only in 2.4.11-alpha-2/TorBrowser_en-US.app/Contents/MacOS: argparse.py
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: aes.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: heartbeat.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: hmac_sha256.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: __init__.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: log.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: rand.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/common: serialize.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-US.app/Contents/MacOS/obfsproxy:
 __init__.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/managed: client.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/managed: __init__.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/managed: server.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/network: buffer.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/network: extended_orport.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/network: __init__.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/network: launch_transport.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/network: network.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/network: socks.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-US.app/Contents/MacOS/obfsproxy:
 pyobfsproxy.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: b64.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: base.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: dummy.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: __init__.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: obfs2.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: obfs3_dh.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: obfs3.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-
 US.app/Contents/MacOS/obfsproxy/transports: transports.pyc
 Only in 2.4.11-alpha-2/TorBrowser_en-US.app/Contents/MacOS/obfsproxy:
 _version.pyc
 }}}
 If I remember correctly, the `.pyc` files are platform-dependent and need
 to be deleted. Other than that, the only difference I saw was the addition
 of `argparse.py`. So since the bundles work, please make another without
 the `.pyc` files and then you are good to release. Like we discussed, for
 the other platforms, just copy the 2.4.11-alpha-1 packages and call them
 2.4.11-alpha-2.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8549#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list