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

Fallo en instalación y gestor de plugins #9

Open
bascolgar opened this issue May 20, 2020 · 0 comments
Open

Fallo en instalación y gestor de plugins #9

bascolgar opened this issue May 20, 2020 · 0 comments

Comments

@bascolgar
Copy link

Hola Marlon, estoy tratando de instalar pyerp para ello he seguido sus instrucciones pero encuentro el siguiente error.

2020-05-20 17:11:42,768 - DEBUG -settings.py:24 - hello world!
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/basilio/env/lib/python3.8/site-packages/django/core/management/init.py", line 325, in execute
settings.INSTALLED_APPS
File "/home/basilio/env/lib/python3.8/site-packages/django/conf/init.py", line 79, in getattr
self._setup(name)
File "/home/basilio/env/lib/python3.8/site-packages/django/conf/init.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "/home/basilio/env/lib/python3.8/site-packages/django/conf/init.py", line 157, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/basilio/pyerp/pyerp/settings.py", line 80, in
with open('%s/installed_apps.py' % BASE_DIR, 'r') as ins_apps_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/basilio/pyerp/installed_apps.py'

Este error lo he solucionado creando un fichero en blanco installed_apps.py dentro de pyerp

python manage.py init_pyerp
2020-05-20 17:17:43,419 - DEBUG -settings.py:24 - hello world!
2020-05-20 17:17:43,419 - WARNING -settings.py:256 - No hay localsettings, trabajando con settings global.
*** Generating base migrations...
Migrations for 'base':
apps/base/migrations/0001_initial.py
- Create model PyUser
- Create model Category
- Create model PyBi
- Create model PyChannel
- Create model PyComment
- Create model PyCountry
- Create model PyCron
- Create model PyEvent
- Create model PyFaq
- Create model PyImage
- Create model PyLog
- Create model PyMeta
- Create model PyNote
- Create model PyPage
- Create model PyParameter
- Create model PyPlugin
- Create model PyPost
- Create model PyProductBrand
- Create model PyProductCategoryUOM
- Create model PySequence
- Create model PyTag
- Create model PyTax
- Create model PyVariant
- Create model PyWebsiteConfig
- Create model PyWParameter
- Create model PyWPayment
- Create model PyUom
- Create model PyProductWebCategory
- Create model PyProductCategory
- Create model PyProduct
- Create model PyPartner
- Create model PyMessage
- Create model PyMenu
- Create model PyFile
- Create model PyEmail
- Create model PyCurrency
- Create model PyCompany
- Create model PyAttribute
- Create model BaseConfig
- Add field active_company to pyuser
- Add field groups to pyuser
- Add field partner_id to pyuser
- Add field user_permissions to pyuser
*** Migrating the base database...
Operations to perform:
Apply all migrations: admin, auth, authtoken, base, contenttypes, sessions, taggit
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying base.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying authtoken.0001_initial... OK
Applying authtoken.0002_auto_20160226_1747... OK
Applying sessions.0001_initial... OK
Applying taggit.0001_initial... OK
Applying taggit.0002_auto_20150616_2121... OK
Applying taggit.0003_taggeditem_add_unique_index... OK
*** Loading PypErp country object...
Installed 249 object(s) from 1 fixture(s)
*** Loading PypErp currency object...
Installed 167 object(s) from 1 fixture(s)
*** Loading PypErp backend parameters object...
Installed 1 object(s)
*** Loading PypErp web parameter object...
Installed 1 object(s)
*** Loading PypErp plugins library...
Loaded 22 plugin(s)
PyErp has been successfully installed. Run python manage.py runserver to start the development server.

Una vez arrancado el server y creado los datos de acceso con los datos demos marcados, navego a plugins intento instalar cualquiera por ejemplo academy da un error y luego si quiero volver al dashboard se muestra lo siguiente :

Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/base/

Django Version: 2.2.6
Python Version: 3.8.2
Installed Applications:
['rosetta',
'modeltranslation',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'taggit',
'dal',
'dal_select2',
'bootstrap4',
'bootstrap_datepicker_plus',
'rest_framework',
'rest_framework.authtoken',
'apps.base',
'apps.account',
'apps.sale',
'apps.purchase',
'apps.account',
'apps.sale',
'apps.purchase',
'apps.academy']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)

File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)

File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
20. if test_func(request.user):

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/decorators.py" in
44. lambda u: u.is_authenticated,

File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py" in inner
256. self._setup()

File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py" in _setup
392. self._wrapped = self._setupfunc()

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py" in
24. request.user = SimpleLazyObject(lambda: get_user(request))

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py" in get_user
12. request._cached_user = auth.get_user(request)

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py" in get_user
182. user_id = _get_user_session_key(request)

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py" in _get_user_session_key
59. return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])

File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py" in get_user_model
165. return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)

File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py" in get_model
200. self.check_apps_ready()

File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py" in check_apps_ready
135. raise AppRegistryNotReady("Apps aren't loaded yet.")

Exception Type: AppRegistryNotReady at /base/
Exception Value: Apps aren't loaded yet.

Adjunto traza del servidor web :

(env) basilio@developer:~/pyerp$ python manage.py runserver
2020-05-20 17:18:38,862 - DEBUG -settings.py:24 - hello world!
2020-05-20 17:18:38,862 - WARNING -settings.py:256 - No hay localsettings, trabajando con settings global.
2020-05-20 11:18:39,172 - DEBUG -settings.py:24 - hello world!
2020-05-20 11:18:39,173 - WARNING -settings.py:256 - No hay localsettings, trabajando con settings global.
Watching for file changes with StatReloader
2020-05-20 11:18:39,432 - INFO -autoreload.py:597 - Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
mayo 20, 2020 - 11:18:39
Django version 2.2.6, using settings 'pyerp.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[20/May/2020 11:18:44] "GET / HTTP/1.1" 200 11272
[20/May/2020 11:18:44] "GET /static/admin/css/autocomplete.css HTTP/1.1" 200 8440
[20/May/2020 11:18:44] "GET /static/vendor/select2/dist/css/select2.css HTTP/1.1" 200 17591
[20/May/2020 11:18:44] "GET /static/autocomplete_light/jquery.init.js HTTP/1.1" 200 1682
[20/May/2020 11:18:44] "GET /static/vendor/select2/dist/js/i18n/es.js HTTP/1.1" 200 921
[20/May/2020 11:18:44] "GET /static/autocomplete_light/autocomplete.init.js HTTP/1.1" 200 5162
[20/May/2020 11:18:44] "GET /static/autocomplete_light/forward.js HTTP/1.1" 200 5995
[20/May/2020 11:18:44] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 271817
[20/May/2020 11:18:44] "GET /static/autocomplete_light/select2.js HTTP/1.1" 200 4155
[20/May/2020 11:18:44] "GET /static/vendor/select2/dist/js/select2.full.js HTTP/1.1" 200 167489
[20/May/2020 11:18:44] "GET /static/autocomplete_light/select2.css HTTP/1.1" 200 166
[20/May/2020 11:18:44] "GET /static/autocomplete_light/jquery.post-setup.js HTTP/1.1" 200 306
[20/May/2020 11:18:44] "GET /media/logo/pyerp_logo.png HTTP/1.1" 200 36521
/home/basilio/env/lib/python3.8/site-packages/django/views/generic/list.py:86: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'apps.base.models.country.PyCountry'> QuerySet.
return self.paginator_class(
[20/May/2020 11:18:46] "GET /country/autocomplete HTTP/1.1" 200 728
[20/May/2020 11:18:49] "GET /country/autocomplete?q=espa%C3%B1a HTTP/1.1" 200 113
[20/May/2020 11:18:59] "POST / HTTP/1.1" 200 11449
[20/May/2020 11:19:00] "GET /country/autocomplete HTTP/1.1" 200 728
[20/May/2020 11:19:01] "GET /country/autocomplete?q=es HTTP/1.1" 200 861
[20/May/2020 11:19:03] "GET /country/autocomplete?q=espa HTTP/1.1" 200 113
/home/basilio/pyerp/apps/base/data/PySequence.csv
[20/May/2020 11:19:09] "POST / HTTP/1.1" 302 0
[20/May/2020 11:19:09] "GET /login/ HTTP/1.1" 200 4939
[20/May/2020 11:19:09] "GET /media/logo/default_logo.png HTTP/1.1" 200 19132
[20/May/2020 11:19:09] "GET /media/flag/en.png HTTP/1.1" 200 14029
[20/May/2020 11:19:38] "POST /login/ HTTP/1.1" 302 0
[20/May/2020 11:19:38] "GET /base/ HTTP/1.1" 200 26894
[20/May/2020 11:19:38] "GET /static/admin/js/inlines.js HTTP/1.1" 200 13773
[20/May/2020 11:19:38] "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 363
[20/May/2020 11:19:38] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 304 0
[20/May/2020 11:19:38] "GET /static/admin/js/core.js HTTP/1.1" 200 7099
[20/May/2020 11:19:38] "GET /admin/jsi18n/ HTTP/1.1" 200 7069
[20/May/2020 11:19:38] "GET /media/avatar/default_avatar.png HTTP/1.1" 200 3256
[20/May/2020 11:20:07] "GET /plugin/ HTTP/1.1" 200 36393
[20/May/2020 11:20:07] "GET /admin/jsi18n/ HTTP/1.1" 200 7069
[20/May/2020 11:20:07] "GET /media/plugin/flow.png HTTP/1.1" 200 20120
Not Found: /media/plugin/payroll.png
2020-05-20 11:20:07,138 - WARNING -log.py:222 - Not Found: /media/plugin/payroll.png
[20/May/2020 11:20:07] "GET /media/plugin/payroll.png HTTP/1.1" 404 1796
[20/May/2020 11:20:07] "GET /media/plugin/l10n_spain.png HTTP/1.1" 200 6183
Not Found: /media/plugin/pos.png
2020-05-20 11:20:07,153 - WARNING -log.py:222 - Not Found: /media/plugin/pos.png
[20/May/2020 11:20:07] "GET /media/plugin/l10n_chile.png HTTP/1.1" 200 4489
[20/May/2020 11:20:07] "GET /media/plugin/paypal.png HTTP/1.1" 200 116385
Not Found: /media/plugin/odoo.png
2020-05-20 11:20:07,164 - WARNING -log.py:222 - Not Found: /media/plugin/odoo.png
[20/May/2020 11:20:07] "GET /media/plugin/pos.png HTTP/1.1" 404 1784
[20/May/2020 11:20:07] "GET /media/plugin/odoo.png HTTP/1.1" 404 1787
Not Found: /media/plugin/account.png
2020-05-20 11:20:07,177 - WARNING -log.py:222 - Not Found: /media/plugin/account.png
Not Found: /media/plugin/webodoobim.png
2020-05-20 11:20:07,186 - WARNING -log.py:222 - Not Found: /media/plugin/webodoobim.png
[20/May/2020 11:20:07] "GET /media/plugin/account.png HTTP/1.1" 404 1796
[20/May/2020 11:20:07] "GET /media/plugin/webodoobim.png HTTP/1.1" 404 1805
Not Found: /media/plugin/run_server.png
2020-05-20 11:20:07,199 - WARNING -log.py:222 - Not Found: /media/plugin/run_server.png
Not Found: /media/plugin/project.png
[20/May/2020 11:20:07] "GET /media/plugin/run_server.png HTTP/1.1" 404 1805
2020-05-20 11:20:07,203 - WARNING -log.py:222 - Not Found: /media/plugin/project.png
Not Found: /media/plugin/marketing.png
2020-05-20 11:20:07,206 - WARNING -log.py:222 - Not Found: /media/plugin/marketing.png
[20/May/2020 11:20:07] "GET /media/plugin/project.png HTTP/1.1" 404 1796
[20/May/2020 11:20:07] "GET /media/plugin/marketing.png HTTP/1.1" 404 1802
[20/May/2020 11:20:14] "GET /plugin/?page=2 HTTP/1.1" 200 34280
[20/May/2020 11:20:14] "GET /media/flag/en.png HTTP/1.1" 304 0
[20/May/2020 11:20:14] "GET /admin/jsi18n/ HTTP/1.1" 200 7069
[20/May/2020 11:20:14] "GET /media/logo/default_logo.png HTTP/1.1" 304 0
Not Found: /media/plugin/academy.png
2020-05-20 11:20:14,937 - WARNING -log.py:222 - Not Found: /media/plugin/academy.png
[20/May/2020 11:20:14] "GET /media/plugin/academy.png HTTP/1.1" 404 1796
Not Found: /media/plugin/forum.png
2020-05-20 11:20:14,950 - WARNING -log.py:222 - Not Found: /media/plugin/forum.png
Not Found: /media/plugin/crm.png
2020-05-20 11:20:14,955 - WARNING -log.py:222 - Not Found: /media/plugin/crm.png
[20/May/2020 11:20:14] "GET /media/plugin/crm.png HTTP/1.1" 404 1784
Not Found: /media/plugin/sale.png
2020-05-20 11:20:14,959 - WARNING -log.py:222 - Not Found: /media/plugin/sale.png
Not Found: /media/plugin/chat.png
2020-05-20 11:20:14,966 - WARNING -log.py:222 - Not Found: /media/plugin/chat.png
[20/May/2020 11:20:14] "GET /media/plugin/forum.png HTTP/1.1" 404 1790
[20/May/2020 11:20:14] "GET /media/plugin/chat.png HTTP/1.1" 404 1787
Not Found: /media/plugin/stock.png
2020-05-20 11:20:14,976 - WARNING -log.py:222 - Not Found: /media/plugin/stock.png
[20/May/2020 11:20:14] "GET /media/plugin/stock.png HTTP/1.1" 404 1790
[20/May/2020 11:20:14] "GET /media/plugin/sale.png HTTP/1.1" 404 1787
Not Found: /media/plugin/home.png
2020-05-20 11:20:14,982 - WARNING -log.py:222 - Not Found: /media/plugin/home.png
Not Found: /media/plugin/marketplace.png
2020-05-20 11:20:14,988 - WARNING -log.py:222 - Not Found: /media/plugin/marketplace.png
[20/May/2020 11:20:14] "GET /media/plugin/home.png HTTP/1.1" 404 1787
[20/May/2020 11:20:14] "GET /media/plugin/marketplace.png HTTP/1.1" 404 1808
Not Found: /media/plugin/purchase.png
2020-05-20 11:20:14,996 - WARNING -log.py:222 - Not Found: /media/plugin/purchase.png
[20/May/2020 11:20:14] "GET /media/plugin/purchase.png HTTP/1.1" 404 1799
Not Found: /media/plugin/bim.png
2020-05-20 11:20:14,998 - WARNING -log.py:222 - Not Found: /media/plugin/bim.png
[20/May/2020 11:20:14] "GET /media/plugin/bim.png HTTP/1.1" 404 1784
yes
Fallo el proceso de poblado de la app
No hay migración de la app
No se migro la app
No se cargaron datos de la app
[20/May/2020 11:20:18] "GET /plugin/install/18/ HTTP/1.1" 302 0
Internal Server Error: /plugin/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 50, in dispatch
if not request.user.is_authenticated:
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
2020-05-20 11:20:18,536 - ERROR -log.py:222 - Internal Server Error: /plugin/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 50, in dispatch
if not request.user.is_authenticated:
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
[20/May/2020 11:20:18] "GET /plugin/ HTTP/1.1" 500 110087
Internal Server Error: /plugin/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 50, in dispatch
if not request.user.is_authenticated:
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
2020-05-20 11:20:50,027 - ERROR -log.py:222 - Internal Server Error: /plugin/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 50, in dispatch
if not request.user.is_authenticated:
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
[20/May/2020 11:20:50] "GET /plugin/?page=1 HTTP/1.1" 500 110454
Internal Server Error: /plugin/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 50, in dispatch
if not request.user.is_authenticated:
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
2020-05-20 11:21:08,738 - ERROR -log.py:222 - Internal Server Error: /plugin/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 50, in dispatch
if not request.user.is_authenticated:
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
[20/May/2020 11:21:08] "GET /plugin/ HTTP/1.1" 500 110078
Internal Server Error: /login/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 142, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/views.py", line 61, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/edit.py", line 133, in get
return self.render_to_response(self.get_context_data())
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/views.py", line 95, in get_context_data
current_site = get_current_site(self.request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/sites/shortcuts.py", line 11, in get_current_site
if apps.is_installed('django.contrib.sites'):
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 240, in is_installed
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
2020-05-20 11:21:12,457 - ERROR -log.py:222 - Internal Server Error: /login/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 142, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/views.py", line 61, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/views/generic/edit.py", line 133, in get
return self.render_to_response(self.get_context_data())
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/views.py", line 95, in get_context_data
current_site = get_current_site(self.request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/sites/shortcuts.py", line 11, in get_current_site
if apps.is_installed('django.contrib.sites'):
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 240, in is_installed
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
[20/May/2020 11:21:12] "GET /login/ HTTP/1.1" 500 129057
Internal Server Error: /base/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
if test_func(request.user):
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 44, in
lambda u: u.is_authenticated,
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
2020-05-20 11:21:43,669 - ERROR -log.py:222 - Internal Server Error: /base/
Traceback (most recent call last):
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/basilio/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
if test_func(request.user):
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 44, in
lambda u: u.is_authenticated,
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 256, in inner
self._setup()
File "/home/basilio/env/lib/python3.8/site-packages/django/utils/functional.py", line 392, in _setup
self._wrapped = self._setupfunc()
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 24, in
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 182, in get_user
user_id = _get_user_session_key(request)
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 59, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/basilio/env/lib/python3.8/site-packages/django/contrib/auth/init.py", line 165, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 200, in get_model
self.check_apps_ready()
File "/home/basilio/env/lib/python3.8/site-packages/django/apps/registry.py", line 135, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
[20/May/2020 11:21:43] "GET /base/ HTTP/1.1" 500 109592

Saludos y gracias.

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

1 participant