Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #10005

Closed (moved)
Open
Opened Oct 22, 2013 by David Fifield@dcf

obfs-flash-client incompatible with Twisted 12

In comment:40:ticket:7167, asn reported an error when running obfs-flash-client:

Traceback (most recent call last):
  File "./obfs-flash-client", line 270, in <module>
    sys.exit(main(*sys.argv[1:]))
  File "./obfs-flash-client", line 265, in main
    obfs3_flash(reactor, client, opts.obfs_out, opts.fp_remote)
  File "./obfs-flash-client", line 217, in obfs3_flash
    ["websocket"], [fp_client, '127.0.0.1:%s' % fp_local, fp_remote])
  File "./obfs-flash-client", line 189, in pt_launch_child
    StandardIO(sub_protocol, stdin=sub_proc.stdout.fileno(), reactor=reactor)
TypeError: __init__() got an unexpected keyword argument 'reactor'

I just got the exact same error, running obfs-flash-client with a Twisted from Debian stable, which is version 12. Running with the Twisted from Debian testing (currently 13), I don't get an error. Sure enough, the reactor argument was added between versions 12 and 13:

  • http://twistedmatrix.com/documents/12.0.0/api/twisted.internet.stdio.StandardIO.html#__init__
  • http://twistedmatrix.com/documents/13.0.0/api/twisted.internet.stdio.StandardIO.html#__init__

asn reports that the program works after simply removing the argument. Debian stable is relevant because that's what we are currently using to build the PT bundles.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#10005