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

Closed
Open
Created Mar 27, 2016 by toralf@toralf

python3 regression with git commit " Explicit non-ascii content validation"

Traceback (most recent call last):
  File "/home/tfoerste/info.py", line 161, in <module>
    main()
  File "/home/tfoerste/info.py", line 33, in main
    for s in controller.get_network_statuses():
  File "/usr/lib64/python3.4/site-packages/stem/control.py", line 460, in wrapped
    for val in func(self, *args, **kwargs):
  File "/usr/lib64/python3.4/site-packages/stem/control.py", line 1905, in get_network_statuses
    for desc in desc_iterator:
  File "/usr/lib64/python3.4/site-packages/stem/descriptor/router_status_entry.py", line 97, in _parse_file
    yield entry_class(desc_content, validate, *extra_args)
  File "/usr/lib64/python3.4/site-packages/stem/descriptor/router_status_entry.py", line 435, in __init__
    entries = _get_descriptor_components(content, validate)
  File "/usr/lib64/python3.4/site-packages/stem/descriptor/__init__.py", line 864, in _get_descriptor_components
    value.decode('ascii')
AttributeError: 'str' object has no attribute 'decode'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking