Skip to content

factory_global.py errors out returns a type None in some circumstances #410

Description

@StevenCTimm

In a strange corner case where the glideinwms factory is up but does not have any glidefactoryglobal
classads in it, the factory_global data block returns a None data type instead of an empty data frame,
causing the source to go offline. (The framework doesn't detect this correctly either, will add an issue on that
side too)

An exception should be thrown in this case, as a blank data frame won't help anything, the transforms
that depend on this data block won't be able to do anything without at least some factoryglobals.
To be clear this should only be thrown if none of the factories in the list return any factoryglobals.
As long as there is at least one factory global from one factory you can do something.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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