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

Closed (moved)
(moved)
Open
Created 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
Time tracking