Django community: RSS
This page, updated regularly, aggregates Django Q&A from the Django community.
-
Best way to add bool field to Django queryset/serializer
I have two models class A(models.Model): name = models.CharField(max_length=32) ... class B(models.Model): fkey = models.ForeignKey("A", on_delete=models.CASCADE) ... I want to create queryset of objects A based on condition if some of B objects is referring to A in my DRF serializer a1 = A.objects.create(name="1") a2 = A.objects.create(name="2") b1 = B.objects.create(fkey=a1) a_objs = A.objects.filter() serializer = ASerializer(a_objs, many=True) serializer.data { { "name": "1" }, "b_attached": true }, { { "name": "2" }, "b_attached": false } What is the best way to achieve this? -
Python Django-Guardian: How to suggest a selection at dropdown menu on the admin site
I am using django-guarian to handle permissions comforable. How can I suggest my favorite permission at admin site when adding a permission (dop down menu). How can I filter the permission selection? Admin Site at Django admin.py class DeploymentUserObjectPermissionAdmin(GuardedModelAdmin): list_display = ('permission', 'user', 'content_object') search_fields = ('permission', 'user', 'content_object') ordering = ('-permission',) models.py class DeploymentUserObjectPermission(UserObjectPermissionBase): content_object = models.ForeignKey(Deployment, on_delete=models.CASCADE) -
Django foreign key as options for autocomplete, error: Select a valid choice
Thanks in advance for your help. I am building my first Django project, a ticketing application that will have over 100 items to choose from. I'm trying to display a list of Items(foreign key objects) for the user to choose from when creating a ticket in an MDBootstrap autocomplete field. The items have both a name and ID and I want both to appear in the autocomplete options when the user is searching. My form works when I display only the 'item_id' from the Item model in the autocomplete data (found in the script tags at the bottom of the template). But when I display the string with both 'item_name" and 'item_id'(as you see below), my form won't submit and I get the error "Select a valid choice. That choice is not one of the available choices." How can I display both 'item_name' and 'item_id' from the Item model in the autocomplete options but then have my form submit properly recognizing the 'item_id' for its 'item' foreign key field? models (each of these models is in a different app within the django project) class Item(models.Model): item_name = models.CharField(max_length=200) item_id = models.CharField(max_length=200, primary_key=True) class Ticket(models.Model): ticket_id = models.AutoField(primary_key=True, null=False, blank=False) item … -
I want to add manual key in serializer.data in generic.ListAPIView with filter and pagination
As per title i want to add manually "InWishList" key into serializer.data, i am sharing my current response where i want to add "InWishlist" key. in simple word i want to add manual key into serializer method fields it depend on request has valid token or requested by valid user.in both case i want to add manual key inside the serializer methed field with True and False value. "count": 2071, "next": "http://admin.vaniprakashan.in/book_store/book_filters/?page=2", "previous": null, "results": [ { "id": 10658, "hindi_title": null, "title": "Ravi Katha : Andaaz-E-Bayan Urf Ravi Katha", "unique_code": "498", "genres_names": [ "Memories" ], "slug": "ravi-katha-andaaz-e-bayan-urf-ravi-katha", "variations_dics": { "Paperback": true, "Hardcover": true }, "printed_book_details": { "Hardcover": { "name": "Hardcover", "id": 3607, "isbn_code": "9789389915631", "slug": "ravi-katha-andaaz-e-bayan-urf-ravi-katha-hindi-hindi-hardcover", "original_price": 595.0, "discountable_price": 595.0, "pages": 220, "is_in_stock": true, "languages": "Hindi", "in_print": "Vani Prakashan", "in_print_2": "Vani Prakashan", }, "Paperback": { "name": "Paperback", "id": 3606, "isbn_code": "9789389915648", "slug": "ravi-katha-andaaz-e-bayan-urf-ravi-katha-hindi-hindi-paperback", "original_price": 299.0, "discountable_price": 299.0, "pages": 220, "is_in_stock": true, "languages": "Hindi", "in_print": "Vani Prakashan", "in_print_2": "Vani Prakashan", } }, "ebook_details": {}, "audio_book_details": {}, "book_reviews": { "avg": 0, "one_stars": 0, "two_stars": 0, "three_stars": 0, "four_stars": 0, "five_stars": 0, "total_counts": 0 }, "description":"...", "images": [ ... ], "authors": [ ... ] },....] in this response we can see there is … -
Db logger auto delete data after a time interval
Trying to implement a DB logger in my Django project but I am facing a problem in managing the logs in my DB so how can I automatically delete the old records from DB settings.py INSTALLED_APPS = ['django_db_logger',] LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'error': { 'class': 'django_db_logger.db_log_handler.DatabaseLogHandler', 'filename': 'errors.logs', 'backupCount': 4, 'when': 'D', 'interval': 1, 'encoding': 'utf8', 'level': 'ERROR' }, 'console': { 'class': 'django_db_logger.db_log_handler.DatabaseLogHandler', 'filename': 'info.logs', 'backupCount': 4, 'when': 'D', 'interval': 1, 'encoding': 'utf8', 'level': 'INFO', }, }, 'loggers': { 'ERROR_LOG': { 'handlers': ['error'], 'propagate': True, 'level': 'ERROR' }, 'INFO_LOG': { 'handlers': ['console'], 'propagate': True, 'level': 'INFO' } } } and also created a function in the helpers.py file for for managing the logs helpers.py import Logging class Logging: def __init__(self,request): self.request = request def log(self, message=None): url =self.request.build_absolute_uri() logger = logging.getLogger('ERROR_LOG') logger.error(f'ERROR: {url} {self.request.data} {self.request.headers} {message}') def info(self, message=None): url = self.request.build_absolute_uri() logger = logging.getLogger('INFO_LOG') logger.info(f'INFO: {url} {self.request.data} {self.request.headers} {message}') And if have better way of logging please do suggest me -
About PWA progressive web apps
enter image description hereI have started building the basic PWA app using django as per the site "https://www.geeksforgeeks.org/make-pwa-of-a-django-project/" Everything works fine except with the 5th step mentioned in the above URL. It is informed to enter the PWA settings in the settings.py file of the django project and so i did, but it doesn't create any manifest.json file anywhere and yet im stuck here. The service worker works fine. when i open the app in the developer tools its says no manifest detected as shown in the shared picture. Thanks in advance. -
Can you recover an object from a failed request in django?
I am processing a lot of data and build dataframes through a django api on an ubuntu server, in which i instance an object that loads a dataframe, a couple of dictionaries and then makes a big data reconstruction process, that takes long. I have been running a request for 3 days, an probably have one day left until it ends, but i need to know, in case it fails, can i recover the object and its data? because the object it's not deleted when the server has an internal error, and i haven't catched in every step of the process. -
HTMX + Django - Edit a ModelForm in a HTML Table
New to HTMX and Django, what I'm trying to achieve is to have a ModelForm on the page with a button that allows the user to 'Edit' the field values directly on the page. After pressing the 'edit' button, the page should display a 'cancel' and 'submit' button. It's basically the same as this example on the HTMX website: Edit Row Cancel should discard the edits and show the table again (as it was) Submit should post the changes made back into the model View on the index page: Here's what I have so far (when user presses 'Edit Entry') but it's not working as intended: There are a few issues: When the 'edit' button is pressed, the ModelForm is loading everything into the first column of the HTML table. Ideally, I would want each field of the Model to be in the 'correct' location in the table. When the 'cancel edit' button is pressed, it's swapping the ModelForm back to the HTML template. I don't want this but just want the table row to go back to how it was previously. The submit button is not posting the data back to the Model. I'm not sure how to really … -
Pattern matching in LDAP Distinguished Name Template
I am trying to authenticate users using django_auth_ldap. I have users in 2 different groups (say= Theta & Gamma, Alpha & Rho), Currently, to search users I have created 2 authentication backends & mapped USER_DN_TEMPLATE like this: 'CN=%(user)s,OU=Television,OU=Theta,OU=Gamma,DC=example,DC=com' to first backend & like this : 'CN=%(user)s,OU=Television,OU=Alpha,OU=Rho,DC=example,DC=com' to the second backend. All my other settings are same. I know, this is not ideal setup but I want to know what should my DN_TEMPLATE look like if I need to find all users in one authentication backend only? There should be some REGEX like pattern to replace Theta/Gamma/Alpha/Rho & then it should work (similar to %(user)s in above patterns. The other approach will be to set some SCOPE_SUBTREE (& other variables) so that, it searches all users in 'DC=example,DC=com'. I need help on those variables & values. -
Can multiple Django `bulk_update` queries be part of single atomic transaction?
Can multiple Django bulk_update queries be part of a single atomic transaction? Usually when we want to save multiple models in single atomic transaction we can do something like this: def my_update(model_a, model_b, model_c, model_d): with transaction.atomic(): model_a.save() model_b.save() model_c.save() model_d.save() Similarly I want to update a bulk set of models in single atomic transaction, like so: def my_bulk_update(models_a, fields_a, models_b, fields_b, models_c, fields_c, models_d, fields_d): with transaction.atomic(): Model_A.objects.bulk_update(objs=models_a, fields=fields_a) Model_B.objects.bulk_update(objs=models_b, fields=fields_b) Model_C.objects.bulk_update(objs=models_c, fields=fields_c) Model_D.objects.bulk_update(objs=models_d, fields=fields_d) Digging around the bulk_update code I found the following snippet: with transaction.atomic(using=self.db, savepoint=False): for pks, update_kwargs in updates: rows_updated += self.filter(pk__in=pks).update(**update_kwargs) It shows the updates are done within an atomic transaction. It means the my_bulk_update has nested atomic transaction and I'm not aware what the behaviour would be. So some queries I have regarding this are: Is my_bulk_update atomic? What is the behaviour of the nested transaction? Could the using=self.db mean that nested transactions be ignored? -
Using pyarmor to obfuscate multiple tornado apps
Try to obfuscate a project using pyarmor written in tornado with multiple apps. For a single app with the following structure, it was quite easy to obfuscate using pyarmor . ├── apps │ ├── __init__.py │ └── app.py # show below └── handler ├── __init__.py └── myhandler.py # apps/app.py import tornado.ioloop import tornado.web from handler import MainHandler def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) app = make_app() server = tornado.httpserver.HTTPServer(app) server.bind(8888) # port server.start(1) tornado.ioloop.IOLoop.instance().start() Just using the following command, where apps/app.py is the entry point for the tornado app cd /myproject pyarmor obfuscate --src="." -r --output=/path/tp/obs_site apps/app.py Then we get the output folder which is an obfuscated project ready to be distributed. The start-up script is as the same before: python apps/app.py to start the tornado server. Unfortunately, things become more complicated when dealing with multiple apps. Due to legacy reasons, components such as handlers and routes are not well organized and separated in different folders, due to the complexity of the whole project, it is infeasible to change the whole project structure for now. Any ideas on how to obfuscate a project with dozens of apps below(2 apps for example) with the following structure, thanks in advance! . … -
Django: Is there anyway to specify a django url path for a template of the item currently being iterated in a forloop
I have a simple unordered list of entries that have been iterated over a Django forloop like this. <ul> {% for entry in entries %} <li>{{ entry }}</li> {% endfor %} </ul> However, I wanted to make all of the listed items in the forloop to be links to a template html file. Which brings the question, is there a way to format my code to where the URL pathway can take the name of the entry to link it to the desired template for it? Something like this. <ul> {% for entry in entries %} <li><a href="{% url 'encyclopedia/{{ entry }}' %}">{{ entry }}</a></li> {% endfor %} </ul> obviously this code doesn't work, but is there something similar that I can do? Heres my urls.py and views.py for more information. urls.py path("<str:TITLE>", views.TITLE, name="TITLE") views.py def TITLE(request, TITLE): # util.markdownify(f"{TITLE}.html", f"{TITLE}.md") return render(request, f"encyclopedia/{TITLE}.html") -
What is the best practice to embed a NodeJS module in a Python project?
I am doing a small Python web project based on Django for which I need to use a module, which is written in JavaScript for NodeJS (Ulixee Hero). The NodeJS module would need to run server-side and be controlled by the Python-based implementation of the server app. Apparently, there once was a Python package to run JavaScript code (PyExecJs), which, however, is discontinued. Given that I'm experienced with Python, but have only few experiences with JavaScript, and none with NPM or NodeJS, what is a good way to start? What is a good way to structure the Django project, given that there will be this NodeJS module? How to implement the interface between Python and the NodeJS module? I was hoping to find a guide, but it looks like this use case is rather exotic. To what I have read so far, it looks like a good approach to run the NodeJS code using a subprocess. Are there better alternatives? What is the preferred way of installing NodeJS in this situation? My first goes was to use Pip, but the NodeJS version in pip is outdated and discontinued. -
How to pass a parameter to Class based views in Django?
how to pass this parameter in the class called? This is url #url path('all-agency/<int:id>', AllAgenciesView.as_view(), name='all-agency'), cbv #views class AllAgenciesView( TemplateView): template_name='agencies.html' class AllAgenciesListView(ServerSideDatatableView): def get_queryset(self): agencies = SettingsAgency.objects.using('agency-namespace').filter(id=self.kwargs['id']) return agencies this is in template #in anchor tag(html) <a href="{% url 'all-agency' id=2 %}" ><div>Agencies</div></a> in address bar it would look like this: http://127.0.0.1:8000/all-agency/2 Now I want to pass the 'id' into the class based views but when i did filter(id=self.kwargs['id'). I Got returned KeyError: 'id' i tried another way which is filter(id=self.kwargs.get('id')) and it returned None when i print(agencies) another way ive tried filter(id=self.request.GET.get('id')) this also returned the same None -
How to send link include id in email user in django?
please i need to help i send this lien http://127.0.0.1:8000/benevole/demande_participer/id:?/ in email user but id is not Read in email Thanks in advance ---this is the urls.py path('benevole/demande_participer/<int:id>', views.demande_participer, name='demande_participer'), ------ this is views.py => def demande_participer(request,id): participers=Mission.objects.get(id=id) benParticiper=User.objects.filter(username=request.user) template=render_to_string('Association/email_template.html') email=EmailMessage( 'Veuillez confirmer votre participation a la mission proposer',#header message template, # h1 settings.EMAIL_HOST_USER, [request.user.email], ) email.fail_silenty=False email.send() ---this is email_template.html {% load crispy_forms_tags %} {% block content %} Confirmé la Participation http://127.0.0.1:8000/benevole/demande_participer/id:?/ {% endblock %} -
What is the best frontend framework can use with Django? and How learn it separately? [closed]
Django | frontend framework (?) -
Django MultipolygonField don't display map when map has polys
In Heroku don't display map when edit/update polys Heroku. But when I backup the database in docker the map is displayed without trouble Docker. Heroku has the next configuration: Stack 22 GDAL 3.5.0 Python 3.9.13 Django 1.11.25 And docker has: GDAL 2.4.0 Python 3.9.13 Django 1.11.25 The problem is the buildpack (heroku-geo-buildpack) or something else? The code of that field is: models.MultiPolygonField( pgettext_lazy("Store service field", "polygons"), geography=True, null=True, blank=True ) -
in django how to return the object without saving in the database just ceate at runtime and give in response
from django.shortcuts import render import requests from bs4 import BeautifulSoup from home.models import MetaData,project def extractURL(request): if request.method == "POST": # Making a GET request url = request.POST.get('url') varProj = project.objects.get(id=1) r = requests.get(url) soup = BeautifulSoup(r.content,"html.parser") print(soup.find_all('loc')[0].text) res = soup.find_all('loc') resArr = [] for x in res: resArr.append(x.text) for y in resArr: getPage = requests.get(y) tempSoup = BeautifulSoup(getPage.content,"html.parser") print(tempSoup.find_all('title')[0].text) print(tempSoup.find_all('meta',attrs={"name":"description"})) x = MetaData.objects.create(title=tempSoup.find_all('title')[0].text,description=tempSoup.find_all('meta',attrs={"name":"description"}),url=y,project=varProj) x.save() # print(tempSoup.find_all('meta',attrs={"name":"keywords"})) # resObjArrary.append(MetaData(tempSoup.find_all('title')[0].text,tempSoup.find_all('meta',attrs={"name":"description"}),y)) # resObjArrary[count] = MetaData(tempSoup.find_all('title')[0].text,tempSoup.find_all('meta',attrs={"name":"description"}),y) # print(tempSoup.find_all('description')[0].text) # soup = BeautifulSoup(r) resObj = MetaData.objects.filter(project=varProj) context = { "res":res, "resObj":resObj } # print(soup) return render(request,"index.html",context) With this piece of code I am getting a sitemap url and then iteration over that after the iteration i am creating metaData of the page saving in my database then return which I can iterate in my frontend now I want is three any way by which I can send the object without saving send the object just at the run time -
Docker Environment File in Image not found by Decouple
so i've been trying to deploy a Django App using Docker, but I can't successfully make it work. Here's the error i'm encountering: I'm using Decouple to manage Environment Files and "broker_url" is a variable inside the .env When I try reading the .env file from the file that accesses it, it's able to print it properly -- here is the code for printing the content of the env -- here is the content of the log -- here is the list of all the files in the directory what do i do to make Decouple see that the .env has the 'broker_url' variable? -
What are steps necessary to deploy django application to make it live using apache server?
I am host my locally build django app into live server in Digital Ocean using public IP. My VM is debian based. What i did is: Copy my "attendance" project into /var/www/. I created new conf file in: /etc/apache2/sites-available/attendance.conf. I enable it and disable 000-default.conf. In attendance.conf I put code like: <VirtualHost *:80> ServerAdmin admin@143.244.134.97 ServerName 143.244.134.97 ServerAlias 143.244.134.97 DocumentRoot /var/www/attendance ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined I enable apache 2 also. When I go to the browser I view only the files. It is like: [image seen in browser][1] Do I didn't edit properly for wsgi setup in apache2>(application.conf). OR What are the other possible solution to make my site live? -
Django | Page not found (404) No Cars matches the given query
I tried to create a form for creating a new article on the site, but this error came out. I've rechecked everything 10 times, but I don't understand what the error is. hello/urls.py : from django.urls import path from . import views urlpatterns = [ path('', views.index, name='hello'), path("cars/<slug:car_slug>/", views.car_slug, name='car_slug'), path('cars/addpost/', views.addpost, name='addpost') ] hello/views.py : from django.shortcuts import get_object_or_404, render, redirect from .models import * from .forms import * def index(request): data = {} return render(request, 'hello/index.html', data) def car_slug(request, car_slug): car = get_object_or_404(Cars, slug=car_slug) data = { 'car': car } return render(request, 'hello/car_pk.html', data) def addpost(request): if request.method == 'POST': form = AddPostForm(request.POST) if form.is_valid(): Cars.objects.create(**form.cleaned_data) return redirect("hello") else: form.add_error(None, "Ошибка добавления поста") else: form = AddPostForm() data = { 'form': form, 'title': 'Добавление поста' } return render(request, 'hello/addpost.html', data) hello/forms.py: from django import forms from .models import * class AddPostForm(forms.Form): title = forms.CharField(label='Название', max_length=300) slug = forms.SlugField(label='URL', max_length=40) content = forms.CharField(label='Характеристика', widget=forms.Textarea(attrs={'cols':60, 'rows': 10})) is_published = forms.BooleanField(label='Состояние', required=False, initial=True) brand = forms.ModelChoiceField(queryset=Brands.objects.all(), label="Бренды", empty_label='Не выбрано') hello/models.py : from django.urls import reverse from django.db import models class Cars(models.Model): title = models.CharField(max_length=255, verbose_name="Название") slug = models.SlugField(verbose_name="URL", unique=True, db_index=True, max_length=255) content = models.TextField(verbose_name="Характеристика", null=True) time_create = models.DateField(verbose_name='Дата публикации', auto_now_add=True) … -
module 'django.contrib.messages.constants' has no attribute 'error'
I was working on my django project and everything seemed fine, until I simply wanted to login, and I found this error: module 'django.contrib.messages.constants' has no attribute 'error' The code that is responsible for this has not been touched for at least 2 months! Here is the view: from django.contrib.auth import authenticate from django.conf.settings import * from django.contrib import messages # Connexion def loginview(request): if request.method == 'POST': usr = request.POST.get('email_kw') pwd = request.POST.get('pwd_kw') user = authenticate(request, username=usr, password=pwd) if user is not None: login(request, user) logger.info(f"Connexion de {request.user}") return redirect("dashboard") else: messages.error(request, "Erreur: Nom d'utilisateur ou mot de passe incorrects, veuillez réessayer.") # this is the line that causes the problem logger.error(f'Connexion de {request.user} echouee') return render(request, 'core/login.html', {'page_title': 'Se connecter'}) if request.user.is_authenticated: return redirect("dashboard") return render(request, 'core/login.html', {'page_title': 'Se connecter'}) -
Django "extra_context" not being passed to form renderer when using FormView
Django version 4.1 When I pass "extra_context" to my class-based view, it seems to get filtered out before being passed to the form renderer. In the stack trace below you can see that the context item 'svg': {'id_batch': 'number'} appears in the call of str(value), but it is no longer present in mark_safe(renderer.render(template, context) The same issue is present if I use a CreateView instead. Below are snippets of the relevant files: # settings.py # All of my forms are rendered with this same html snippet from django.forms.renderers import TemplatesSetting class CustomFormRenderer(TemplatesSetting): form_template_name = "form_snippet.html" FORM_RENDERER = "project.settings.CustomFormRenderer" # forms.py from django.forms import ModelForm from .models import Upload class UploadForm(ModelForm): class Meta: model = Upload fields = ['batch'] # views.py from django.views.generic import FormView from .forms import UploadForm class MeasurementView(FormView): # default template will be 'assays/upload_form.html' template_name = 'assays/upload_form.html' form_class = UploadForm extra_context = {'svg': {'id_batch': 'number'}} -
Building a USSD menu with Django
Am building a USSD web app with Django and am using the API https://documenter.getpostman.com/view/7705958/UyrEhaLQ#intro I am having a problem sending response and getting the menu displaying on upon dialing the USSD code. @csrf_exempt def ussd(request): if request.method == 'GET': html = "<html><body>Nothing here baby!</body></html>" return HttpResponse(html) elif request.method == 'POST': url = "https://99c9-102-176-94-213.ngrok.io/ussd" code_id = request.POST.get("USERID") serviceCode = request.POST.get("MSISDN") type = request.POST.get("MSGTYPE") session_id = request.POST.get("SESSIONID") text = request.POST.get("USERDATA") MSG = "" if text == "": MSG = "Welcome To Votedigital" elif text == "1": MSG = "Test Two" payload ={ "USERID": code_id, "MSISDN": serviceCode, "MSGTYPE": type, "USERDATA": text, "SESSIONID": session_id, "MSG": MSG, } headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=json.dumps(payload)) print(code_id) print(response.text) return HttpResponse(response) When i check my post summary, the elements are empty { "USERID": null, "MSISDN": null, "MSGTYPE": null, "USERDATA": null, "SESSIONID": null, "MSG": "" } -
Poetry install doesn't seem to install the packages in the right place
So I'm having a problem for quite some time which I cannot get solved. Basically I took over a project which uses Poetry for package managing (It is a Django project). Adding packages with 'poetry add' and then installing them via 'poetry install' all works fine locally (I use a Docker container). But when pushing the changes to my server and then running 'poetry install' it says the packages are already installed. But when running the Django application, I get an internal server error saying the package doesn't exist. An example is given with the 'openpyxl' package. pyproject.toml ... [tool.poetry.dependencies] openpyxl = "^3.0.10" ... poetry.lock ... [[package]] name = "openpyxl" version = "3.0.10" description = "A Python library to read/write Excel 2010 xlsx/xlsm files" category = "main" optional = false python-versions = ">=3.6" [package.dependencies] openpyxl = {version = ">=2.6.0", optional = true, markers = "extra == \"xlsx\""} [package.extras] all = ["markuppy", "odfpy", "openpyxl (>=2.6.0)", "pandas", "pyyaml", "tabulate", "xlrd", "xlwt"] cli = ["tabulate"] html = ["markuppy"] ods = ["odfpy"] pandas = ["pandas"] xls = ["xlrd", "xlwt"] xlsx = ["openpyxl (>=2.6.0)"] yaml = ["pyyaml"] openpyxl = [ {file = "openpyxl-3.0.10-py2.py3-none-any.whl", hash = "sha256:0ab6d25d01799f97a9464630abacbb34aafecdcaa0ef3cba6d6b3499867d0355"}, {file = "openpyxl-3.0.10.tar.gz", hash = "sha256:e47805627aebcf860edb4edf7987b1309c1b3632f3750538ed962bbcc3bd7449"}, ] ... error: …