Skip to content

HS8545M测试失败 #2

@mozhongzhou

Description

@mozhongzhou

python运行报错如下
main.py:4: DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13 File "e:\CODE\zhongguoyidong\CMModemPasswordRetrieval\main.py", line 68, in <module> manager = ModemManager() ^^^^^^^^^^^^^^ File "e:\CODE\zhongguoyidong\CMModemPasswordRetrieval\main.py", line 12, in __init__ self.mac_address = self.get_mac_address() ^^^^^^^^^^^^^^^^^^^^^^ File "e:\CODE\zhongguoyidong\CMModemPasswordRetrieval\main.py", line 22, in get_mac_address mac_address = [re.split(r'\s+', line)[2] for line in arp_result.split("\n") if self.host + " " in line][0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions