Skip to content

[Bug] AttributeError: 'NoneType' object has no attribute 'id' #64

@smartcatboy

Description

@smartcatboy
AttributeError: 'NoneType' object has no attribute 'id'
  File "huey/api.py", line 379, in _execute
    task_value = task.execute()
  File "huey/api.py", line 772, in execute
    return func(*args, **kwargs)
  File "tasks/traffic.py", line 20, in traffic_server_runner
    finished_callback=iptables_finished_handler(server.id),

Unhandled exception in task 89a96969-0e37-4391-9fa1-a3a5be1a742d.

这个问题应该是由于删除 server 后,队列中还有 ddns 任务正在执行造成的。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions