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

TypeError: requires_system_checks must be a list or tuple. #171

Closed
rmast opened this issue Jul 28, 2024 · 6 comments
Closed

TypeError: requires_system_checks must be a list or tuple. #171

rmast opened this issue Jul 28, 2024 · 6 comments

Comments

@rmast
Copy link

rmast commented Jul 28, 2024

django_1 | INFO 2024-07-28 11:36:19,267 0010_setup_query_permissions 13 124717578827584 Installation of default public access group COMPLETE!
django_1 | OK
django_1 | Open Contracts allowed hosts: ['django', '127.0.0.1', 'localhost', '0.0.0.0']
django_1 | Traceback (most recent call last):
django_1 | File "/app/manage.py", line 31, in
django_1 | execute_from_command_line(sys.argv)
django_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
django_1 | utility.execute()
django_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 436, in execute
django_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
django_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 275, in fetch_command
django_1 | klass = load_command_class(app_name, subcommand)
django_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 49, in load_command_class
django_1 | return module.Command()
django_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 284, in init
django_1 | raise TypeError("requires_system_checks must be a list or tuple.")
django_1 | TypeError: requires_system_checks must be a list or tuple.
opencontracts_django_1 exited with code 1

commit d26b78c (HEAD -> main, tag: v2.0.0, origin/main, origin/HEAD)
Merge: 4791f48 25db223
Author: JSIV 5049984+JSv4@users.noreply.github.com
Date: Fri Jul 26 22:59:31 2024 -0700

Merge pull request #170 from JSv4/JSv4/upgrade-django-lts

Upgrade Django LTS. Finally got the coverage checks to pass!
@rmast
Copy link
Author

rmast commented Jul 28, 2024

This error does not attract attention on
commit 4791f48 (HEAD)
Merge: 75d5d1c 0aa04ca
Author: JSIV 5049984+JSv4@users.noreply.github.com
Date: Mon Jul 22 21:50:00 2024 -0700

Merge pull request #169 from JSv4/JSv4/long-poll-documents

Long Poll Documents When Document is Processing

@JSv4
Copy link
Owner

JSv4 commented Jul 28, 2024

Thanks, @rmast. Yeah must be a syntax change from Django 3.2 to 4.2 that the tests didn't pick up. I'll investigate but just roll back to version before that PR 170 was merged for now. It adds no functionality, just moving to latest LTS.

@JSv4
Copy link
Owner

JSv4 commented Jul 28, 2024

@rmast, still want to test a few things, but want to give JSv4/post-2-0-0-fixes a shot?

@rmast
Copy link
Author

rmast commented Jul 29, 2024 via email

@JSv4
Copy link
Owner

JSv4 commented Jul 30, 2024

Resolved via #172

@JSv4 JSv4 closed this as completed Jul 30, 2024
@rmast
Copy link
Author

rmast commented Aug 7, 2024

I just ran the local main fullstack version locally on an Azure server and was able to upload a document to the remote browser by switching the snap version of Firefox to the PPA on Ubuntu 22.04. I didn't see above error coming by.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants