-
Notifications
You must be signed in to change notification settings - Fork 44
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
Fix reproduce command exception on missing acto namespace #270
Fix reproduce command exception on missing acto namespace #270
Conversation
This looks like rather a serious bug. Tyler can you take a look?
…On Sat, Oct 28, 2023 at 10:44 PM Mark Zhang ***@***.***> wrote:
The reproduce command fails with TypeError: reproduce() missing 1
required positional argument: 'acto_namespace'
The fix is to remove the acto_namespace argument in the reproduce
function because class Acto has a default value for the parameter.
------------------------------
You can view, comment on, or merge this pull request online at:
#270
Commit Summary
- af14415
<af14415>
Fix reproduce command exception on missing acto namespace
File Changes
(1 file <https://github.com/xlab-uiuc/acto/pull/270/files>)
- *M* acto/reproduce.py
<https://github.com/xlab-uiuc/acto/pull/270/files#diff-e736c609968b31aba262da035347623eea101f4f853f6a015f8366a46ce6ba4e>
(8)
Patch Links:
- https://github.com/xlab-uiuc/acto/pull/270.patch
- https://github.com/xlab-uiuc/acto/pull/270.diff
—
Reply to this email directly, view it on GitHub
<#270>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASPIRYHPMKAOEXMLM3QQLDYBVVD5AVCNFSM6AAAAAA6UKILMOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DMNZTGQ4DMMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
The alternative fix is to add a cmd arg for |
@MarkintoshZ Thanks for spotting this problem. I guess the inconsistency was introduced when backporting some of the features. May I ask which statement is calling the reproduce function and causing the error message? We can fix the callsite instead. |
It's from reproduce.py:215 |
Let's fix from the main function inside the reproduce module? |
Yes, I just noticed that as well. I'll add a cmd arg for the module |
I merged it -- thanks for the work @MarkintoshZ @tylergu |
The reproduce command fails with
TypeError: reproduce() missing 1 required positional argument: 'acto_namespace'
The fix is to remove the
acto_namespace
argument in the reproduce function because classActo
has a default value for the parameter.