Skip to content

Possible bug with verdi process repair #7550

Description

@edan-bainglass

@agoscinski I'm working on #6879 (rebased on main) and noticed the following issue:

(aiida-dev) (filter-active-jobs) aiida-core > verdi process repair -u aiida@localhost
Success: No inconsistencies detected between database and broker.
--- Logging error ---
Traceback (most recent call last):
  File "/home/edanb/miniforge3/envs/aiida-dev/lib/python3.12/logging/handlers.py", line 75, in emit
    logging.FileHandler.emit(self, record)
    ^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'FileHandler'
Call stack:
  File "/home/edanb/AiiDA/aiida-core/src/aiida/brokers/rabbitmq/broker.py", line 145, in __del__
    LOGGER.warning(f'RabbitmqBroker {self!r} was not closed explicitly.')
Message: 'RabbitmqBroker <aiida.brokers.rabbitmq.broker.RabbitmqBroker object at 0x754afb794770> was not closed explicitly.'
Arguments: ()
Warning: RabbitmqBroker <aiida.brokers.rabbitmq.broker.RabbitmqBroker object at 0x754afb794770> was not closed explicitly.

I removed my changes and retried - same issue, so unrelated/pre-existing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions