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
  • #10735

Closed
Open
Created Jan 25, 2014 by Trac@tracbot

stem crashes python

setup: python 3.2 ; cygwin64

python crashes with a stackdump. the install trace and stackdump are attached.

this code (the for statement is never reached):

#! /usr/bin/env python3

import urllib.request from stem import Signal from stem.control import Controller

with Controller.from_port(port=9051) as controller: controller.signal(Signal.NEWNYM)

for nn in range(1, 3): print("case %02d" % nn) proxy_support = urllib.request.ProxyHandler({"socks5" : "127.0.0.1:9150"}) opener = urllib.request.build_opener(proxy_support) urllib.request.install_opener(opener) print(urllib.request.urlopen("http://www.ifconfig.me/ip").read())

Trac:
Username: grimpen

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