Installation issue, Can't start the server. #349
Pranav-Lakhani
started this conversation in
General
Replies: 2 comments
-
|
Ignore it, I was using latest version of Django 5.0 after downgrade to 4.2.8 , it works |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This should be resolved in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/utils/autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 133, in inner_run
self.check(display_num_errors=True)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 485, in check
all_issues = checks.run_checks(
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/checks/registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 14, in check_url_config
return check_resolver(resolver)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 24, in check_resolver
return check_method()
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 516, in check
for pattern in self.url_patterns:
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 735, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 728, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/ubuntu/lndg/lndg/lndg/urls.py", line 22, in
path('', include('gui.urls')),
File "/home/ubuntu/lndg/lndg/.venv/lib/python3.10/site-packages/django/urls/conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/ubuntu/lndg/lndg/gui/urls.py", line 4, in
from . import views
File "/home/ubuntu/lndg/lndg/gui/views.py", line 12, in
from .forms import OpenChannelForm, CloseChannelForm, ConnectPeerForm, AddInvoiceForm, RebalancerForm, UpdateChannel, UpdateSetting, LocalSettingsForm, AddTowerForm, RemoveTowerForm, DeleteTowerForm, BatchOpenForm, UpdatePending, UpdateClosing, UpdateKeysend, AddAvoid, RemoveAvoid
File "/home/ubuntu/lndg/lndg/gui/forms.py", line 9, in
class RebalancerModelChoiceField(forms.models.ModelMultipleChoiceField):
File "/home/ubuntu/lndg/lndg/gui/forms.py", line 15, in RebalancerModelChoiceField
forms.MultipleChoiceField._set_choices)
AttributeError: type object 'MultipleChoiceField' has no attribute '_set_choices'
Beta Was this translation helpful? Give feedback.
All reactions