Skip to content
Snippets Groups Projects
  1. May 18, 2015
  2. May 17, 2015
  3. May 13, 2015
    • Damian Johnson's avatar
      Stem release 1.4.0 · d298cd0f
      Damian Johnson authored
      1.4.0
      d298cd0f
    • Damian Johnson's avatar
      test_event_handling failed with python 2.6 · 222b4782
      Damian Johnson authored
      In python 2.6 the threading.Event object's wait() method returns None (rather
      than a boolean).
      
        ======================================================================
        FAIL: test_event_handling
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "/home/atagar/Desktop/stem/test/runner.py", line 127, in wrapped
            return func(self, *args, **kwargs)
          File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line 164, in test_event_handling
            self.assertTrue(event_notice1.wait(10))
        AssertionError
      
        ----------------------------------------------------------------------
        Ran 41 tests in 22.108s
      222b4782
    • Damian Johnson's avatar
      Use full tor path for pidof integ test · 97b7097c
      Damian Johnson authored
      When running our tests with the '--tor' argument the first time we run the
      pidof test it passes, but further runs fail. I'm not sure why that first one
      passes, but in checking the later ones it's picking up our 'run_tests.py --tor
      /path/to/tor' since it includes tor in it.
      
      The pidof man page suggests providing an absolute path so avoiding truncation
      of the command for this test.
      
        ======================================================================
        FAIL: test_pid_by_name_pidof
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "/home/atagar/Desktop/stem/test/integ/util/system.py", line 145, in test_pid_by_name_pidof
            self.assertEqual(tor_pid, stem.util.system.pid_by_name(tor_cmd))
        AssertionError: 10020 != None
      
        ----------------------------------------------------------------------
        Ran 26 tests in 1.435s
      97b7097c
  4. May 12, 2015
  5. May 11, 2015
  6. May 10, 2015
  7. May 08, 2015
  8. May 07, 2015
  9. May 06, 2015
  10. Apr 27, 2015
  11. Apr 26, 2015
  12. Apr 24, 2015
  13. Apr 23, 2015
  14. Apr 21, 2015
  15. Apr 14, 2015
  16. Apr 12, 2015
    • Damian Johnson's avatar
      Torture English a little less · d66a8491
      Damian Johnson authored
      I've been treating presently as a synonym of currently. It isn't. While it's
      fun to watch Roger weep openly, I've had my fun. Time to find something new to
      make him writhe.
      d66a8491
  17. Apr 11, 2015
    • Damian Johnson's avatar
      Compatibility fixes for python3 · eea3d9d8
      Damian Johnson authored
      Fixing a few regressions for our python3 support that slipped in. Thanks to
      toralf for pointing out that the tests were failing.
      eea3d9d8
    • Damian Johnson's avatar
      Missing list wrapper causing stacktraces during controller shutdown · ccda9b59
      Damian Johnson authored
      Traceback (most recent call last):
        File "/usr/lib/python3.2/threading.py", line 740, in _bootstrap_inner
          self.run()
        File "/usr/lib/python3.2/threading.py", line 693, in run
          self._target(*self._args, **self._kwargs)
        File "/home/atagar/Desktop/stem/stem/control.py", line 848, in _reader_loop
          control_message = self._socket.recv()
        File "/home/atagar/Desktop/stem/stem/socket.py", line 174, in recv
          self.close()
        File "/home/atagar/Desktop/stem/stem/socket.py", line 296, in close
          self._close()
        File "/home/atagar/Desktop/stem/stem/control.py", line 763, in _close
          self._notify_status_listeners(State.CLOSED)
        File "/home/atagar/Desktop/stem/stem/control.py", line 813, in _notify_status_listeners
          self._state_change_threads.append(notice_thread)
      AttributeError: 'filter' object has no attribute 'append'
      ccda9b59
    • Damian Johnson's avatar
      Missing bytes conversion for test data · f5ec8919
      Damian Johnson authored
      ======================================================================
      ERROR: test_event_handling
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/atagar/Desktop/stem/test/runner.py", line 127, in wrapped
          return func(self, *args, **kwargs)
        File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line 161, in test_event_handling
          controller.set_conf('NodeFamily', random_fingerprint())
        File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line 50, in random_fingerprint
          return hashlib.sha1(str(time.time())).hexdigest().upper()
      TypeError: Unicode-objects must be encoded before hashing
      
      ----------------------------------------------------------------------
      f5ec8919
Loading