Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression from #6493 #6569

Closed
dchristidis opened this issue Mar 15, 2024 · 0 comments · Fixed by #6570
Closed

Regression from #6493 #6569

dchristidis opened this issue Mar 15, 2024 · 0 comments · Fixed by #6570
Assignees
Milestone

Comments

@dchristidis
Copy link
Contributor

Description

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/rucio/daemons/common.py", line 216, in _generator
    result = run_once_fnc(heartbeat_handler=heartbeat_handler, activity=activity)
  File "/usr/local/lib/python3.9/site-packages/rucio/daemons/judge/evaluator.py", line 84, in run_once
    dids = get_updated_dids(total_workers=total_workers,
  File "/usr/local/lib/python3.9/site-packages/rucio/common/utils.py", line 2177, in _wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/rucio/db/sqla/session.py", line 378, in new_funct
    return function(*args, session=session, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/rucio/core/rule.py", line 2116, in get_updated_dids
    fetched_dids = stmt.order_by(models.UpdatedDID.created_at).limit(limit).all()
AttributeError: 'Select' object has no attribute 'all'

Steps to reproduce

Running the Judge Evaluator causes an unhandled exception.

Rucio Version

34.0.0rc2

Additional Information

No response

erlingstaff added a commit to erlingstaff/rucio that referenced this issue Mar 15, 2024
erlingstaff added a commit to erlingstaff/rucio that referenced this issue Mar 15, 2024
@bari12 bari12 added this to the 34.0.0 milestone Mar 15, 2024
@bari12 bari12 closed this as completed Mar 15, 2024
@dchristidis dchristidis linked a pull request Mar 15, 2024 that will close this issue
voetberg pushed a commit to voetberg/rucio that referenced this issue Mar 21, 2024
voetberg pushed a commit to voetberg/rucio that referenced this issue Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants