question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'ListPortInfo' object has no attribute 'subsystem'

See original GitHub issue
> btlejack -s
BtleJack version 1.1

Traceback (most recent call last):
  File "/usr/local/bin/btlejack", line 11, in <module>
    load_entry_point('btlejack==1.1.1', 'console_scripts', 'btlejack')()
  File "/usr/local/lib/python3.6/site-packages/btlejack/__init__.py", line 228, in main
    supervisor = CLIAccessAddressSniffer(verbose=args.verbose)
  File "/usr/local/lib/python3.6/site-packages/btlejack/ui.py", line 326, in __init__
    super().__init__()
  File "/usr/local/lib/python3.6/site-packages/btlejack/supervisors.py", line 86, in __init__
    self.interface = SingleSnifferInterface()
  File "/usr/local/lib/python3.6/site-packages/btlejack/jobs.py", line 24, in __init__
    self.link = Link(interface=device, baudrate=115200)
  File "/usr/local/lib/python3.6/site-packages/btlejack/link.py", line 42, in __init__
    if port.subsystem == 'usb':
AttributeError: 'ListPortInfo' object has no attribute 'subsystem'

macOS 10.13.5

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
virtualabscommented, Aug 27, 2018

Fixed (well, normally) in v1.2.0.

1reaction
virtualabscommented, Aug 15, 2018

You’re right. I fixed this one too. I’m tired at the moment, so I’ll wait a few days before pushing a new release on both github and Pypi. Expect version 1.1.3 in a few days, or use master branch if you cannot wait.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attribute Error: 'list' object has no attribute 'split'
The initial error is that you're trying to call split on the whole list of lines, and you can't split a list of...
Read more >
delphixpy - AttributeError: 'list' object has no attribute 'rfind'
I am getting following Error: "AttributeError: 'list' object has no attribute 'rfind'"I am trying to connect engine, using delphixpy and get ...
Read more >
Munu: View Ticket
Title: GUI crash on attempting to communicate with board ... port.pid) in desc['vidpids']: AttributeError: 'tuple' object has no attribute 'vid' ...
Read more >
AttributeError: 'list' object has no attribute 'draw' - Coding
The code fails at showing the stimuli on my screen. I get the message: NonWords[0:4].draw() AttributeError: 'list' object has no attribute 'draw'.
Read more >
Index (Couchbase JVM Core IO 1.7.23 API)
Create a new AbstractBinaryMemcacheDecoder with default settings. AbstractBinaryMemcacheDecoder(int) - Constructor for class com.couchbase.client.deps.io.netty.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found