Skip to content

self.remove() fails (when called on Workflow at least) #28

Description

@shawncrawley

(This is closely tied to Tethys.)

When deleting an entry in my Tethys Gizmo Jobs Table, I get the following error:

10-03 21:14:15 tethys.tethys_compute.models ERROR 'Workflow' object has no attribute 'remove'
Traceback (most recent call last):
  File "/home/shawn/tethys/src/tethys_compute/models.py", line 543, in condor_workflow_pre_delete
    instance.condor_object.close_remote()
  File "/home/shawn/randomdev/condorpy/condorpy/htcondor_object_base.py", line 151, in close_remote
    self.remove()
AttributeError: 'Workflow' object has no attribute 'remove'

If I comment out the self.remove() it seems to work fine... Though I'm not sure that is the best solution.
https://github.com/tethysplatform/condorpy/blob/master/condorpy/htcondor_object_base.py#L150

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions