[tor-bugs] #11640 [Torflow]: bwauth, aggregate.py fails on freebsd

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 28 19:30:31 UTC 2014


#11640: bwauth, aggregate.py fails on freebsd
-------------------------+----------------------------------------------
     Reporter:  phobos   |      Owner:  aagbsn
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Torflow  |    Version:
   Resolution:           |   Keywords:  torflow, python, freebsd, torctl
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+----------------------------------------------

Comment (by phobos):

 cron-mine.sh is

 {{{
 #!/bin/sh

 SCANNER_DIR=/usr/home/torflow/torflow/NetworkScanners/BwAuthority

 TIMESTAMP=`date +%Y%m%d-%H%M`
 ARCHIVE=$SCANNER_DIR/data/bwscan.${TIMESTAMP}
 OUTPUT=$SCANNER_DIR/bwscan.V3BandwidthsFile

 cd $SCANNER_DIR # Needed for import to work properly.
 $SCANNER_DIR/aggregate.py $SCANNER_DIR/data $OUTPUT

 if [ $? = 0 ]
 then
  cp $OUTPUT $ARCHIVE
  #scp $OUTPUT bwscan at torauthority.org:/var/lib/tor.scans/bwscan >
 /dev/null
 fi
 }}}

 SCANNER_DIR is the correct path.

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


More information about the tor-bugs mailing list