[tor-bugs] #5361 [Obfsproxy]: uses python difflib without checking it exists

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Mar 11 11:19:44 UTC 2012


#5361: uses python difflib without checking it exists
-----------------------+----------------------------------------------------
 Reporter:  weasel     |          Owner:  asn             
     Type:  defect     |         Status:  new             
 Priority:  normal     |      Milestone:                  
Component:  Obfsproxy  |        Version:  Obfsproxy: 0.1.0
 Keywords:             |         Parent:                  
   Points:             |   Actualpoints:                  
-----------------------+----------------------------------------------------
 this ubuntu chroot has python 2.7 minimal installed:

 {{{
 checking for a Python interpreter with version >= 2.6... python
 checking for python... /usr/bin/python
 checking for python version... 2.7
 checking for python platform... linux2
 checking for python script directory... ${prefix}/lib/python2.7/site-
 packages
 checking for python extension module directory...
 ${exec_prefix}/lib/python2.7/site-packages
 }}}
 ...
 {{{
 28 tests ok.  (0 skipped)
 PASS: unittests
 Traceback (most recent call last):
   File "./tester.py", line 12, in <module>
     import difflib
 ImportError: No module named difflib
 FAIL: tester.py
 ===================
 1 of 2 tests failed
 }}}

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


More information about the tor-bugs mailing list