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

Closed (moved)
Open
Opened Mar 18, 2015 by Trac@tracbot

Stem out of date in deb.torproject.org (1.2.2 rather than 1.3.0)

Running the script is giving the error:

File "cursesBW.py", line 68, in _handle_bandwidth_event _render_graph(window, bandwidth_rates)

File "cursesBW.py", line 78, in _render_graph label = "Downloaded (%s/s):" % str_tools.size_label(download_rates[0], 1) AttributeError: 'module' object has no attribute 'size_label'

After seeking, I found the symbol definition of 'get_size_label' in:

/usr/lib/python2.7/dist-packages/stem/util/str_tools.py

I substituted 'size_label' by 'get_size_label' and it worked.

Trac:
Username: Lluis Sala

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#15349