Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7677

Closed
Open
Created Dec 08, 2012 by Damian Johnson@atagar

stem.process.launch_tor() hangs without stdout

If the user has a tor configuration that precludes logging to stdout, such as...

tor_process = stem.process.launch_tor_with_config(
  config = {
    'ControlPort': '2778',
    'Log': 'NOTICE file /tmp/tor_log',
  },
)

... then the launch_tor() call will never return. This is because it checks the initialization output to determine when the process has bootstrapped.

I'm not sure of the best way of handling this. Note the issue in the pydocs? Slip in a 'Log NOTICE stdout' option? Skip listening for bootstrapping if there's no stdout?

For now just filing a ticket while trying to sort out other issues.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking