Skip to content

cannot find accessory.state #434

@cactm08062

Description

@cactm08062

Exception has occurred: FileNotFoundError
[WinError 2] The system cannot find the file specified: 'accessory.state'
File "C:\Users\OWNER\homekit_test\HAP-python\pyhap\accessory_driver.py", line 648, in persist
os.chmod(self.persist_file, 0o644)
File "C:\Users\OWNER\homekit_test\HAP-python\pyhap\accessory_driver.py", line 483, in add_accessory
self.persist()
File "C:\Users\OWNER\homekit_test\HAP-python\main.py", line 57, in
driver.add_accessory(accessory=get_accessory(driver))
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'accessory.state'

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