[tor-bugs] #8943 [Obfsproxy]: Use of __file__ incompatible with py2exe

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 31 19:36:53 UTC 2013


#8943: Use of __file__ incompatible with py2exe
--------------------------+-------------------------------------------------
    Reporter:  dcf        |       Owner:  asn       
        Type:  defect     |      Status:  closed    
    Priority:  normal     |   Milestone:            
   Component:  Obfsproxy  |     Version:            
  Resolution:  fixed      |    Keywords:  flashproxy
      Parent:             |      Points:            
Actualpoints:             |  
--------------------------+-------------------------------------------------
Changes (by asn):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:3 dcf]:
 > Please check this patch. It works for building a bundle.
 >
 > I didn't do anything to handle possible non-ASCII file names. I think
 it's even more complicated than the WhereAmI page indicates. We found in
 Zenmap that `sys.getfilesystemencoding` can fail.
 > https://svn.nmap.org/nmap/zenmap/zenmapCore/Paths.py?r=30909
 > https://svn.nmap.org/nmap/zenmap/zenmapCore/BasePaths.py?r=30909

 Aha. Applied. Thanks!

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


More information about the tor-bugs mailing list