Skip to main content

All Questions

Tagged with
0 votes
0 answers
18 views

tensorflowjs_converter utility adds suffixes to variable names that cause errors

I am trying to use tensorflowjs_converter to convert a model that I am training in python (using tensorflow) to a JSON layers format so that I can run it on the web. I installed the latest version, ...
Moonflower's user avatar
0 votes
0 answers
15 views

styled-components no longer works with react-native: "0.72.2"

{ "name": "teste", "version": "1.0.0", "main": "index.js", "scripts": { "start": "expo start --dev-client", &...
Murilo Barranco's user avatar
0 votes
2 answers
40 views

Banner is not displaying at the top and css is not working

I have html like following, in my Django project <!DOCTYPE html> {% load static %} <html lang="en"> <head> <meta charset="UTF-8"> <meta name=&...
Karan's user avatar
  • 784
0 votes
0 answers
23 views

Uncaught runtime errors: ERROR dispatcher is null

Trying to use chart.js, but everytime i try fetch the data it throws me 'Uncaught runtime errors: ERROR dispatcher is null' this error. The page doesn't render at all, everything on there is gone, ...
stan 's user avatar
  • 11
1 vote
1 answer
41 views

FastAPI: How to handle Plotly graph click events in a web application?

I am using FastAPI to create a simple web app where I want to render a Plotly graph and record the (x, y) values when the graph is clicked. I am exporting the graph and then trying to set up an event ...
Vaibhav Agrawal's user avatar
-8 votes
0 answers
33 views

im trying to make a python post request but i end up getting a java scrip error from the site can anyone help me please [closed]

im trying to make a post request and the web site give me this error : Requires JavaScript to sign in. This web browser either does not support JavaScript, or scripts are being blocked. how can i fix ...
gianni1845's user avatar
-2 votes
0 answers
44 views

Get local variables from scope

Just need to read remotely local vars from Scope, using Chrome Dev Tools. That Scope of variables we can see when debug using Google Chrome F12 Tab. I need to automate it, using Python, when I pause ...
user26406664's user avatar
-2 votes
0 answers
23 views

How do fetch the real time latitude and longitude in Django and display that as a tracking map in the template? [closed]

I want to fetch the real time latitude and longitude from the Kotlin. I just want to display the real time latitude and longitude as a map in a template by using a Django frame work how do I do this? ...
bithor son's user avatar
-4 votes
0 answers
32 views

How can I start my project on Algorithm Visualiser? [closed]

I need a bit of help from you all coders. I want to build a web application that visualizes algorithm like stack, queue, etc and I want to know the stuffs (skills), I need to get ready for it. Can ...
Prathamesh Patil's user avatar
-6 votes
0 answers
35 views

Sending Lists values in a post request from HTML/JS to bckend(python) [closed]

English is not my first language , so escuse my grammer mistakes :) its my first time workung with JS , i will start by showing the tables in the database and then explain the problem so hopefully any ...
ayal khier's user avatar
1 vote
0 answers
37 views

Backend audio chunks aren't playing correctly when I pass them to client

First, I apologize if anything is spelled incorrectly or if I don't explain myself clearly enough as english is not my first languale. Now to the problem. I am both starting to work with OpenAI API ...
Alhelí Cabrera's user avatar
0 votes
1 answer
38 views

Problems with changing the status from pending to rejected/approved

I do not know much about js, but I tried to submit the data by clicking on the button. The project is about approve or reject orders in the panel of the owner of the shop. Things in Django admin went ...
Aetoox's user avatar
  • 1
2 votes
0 answers
50 views

django Add a button that creates a new entry field each time it's clicked

I am creating a Recipe app- currently for my form I have Title, Ingredients and Description as text inputs. However I want the user to be able to individually input the ingredients so I can manipulate ...
C0untV's user avatar
  • 67
0 votes
1 answer
45 views

Unable to type texts to chatbot user input

Description I am trying to add a chatbot for the backtesting platform built with Flask and there is a button on the right side that toggles the sidebar. If the user clicks the button, it shows the ...
loupdaniel's user avatar
0 votes
0 answers
19 views

Link device's gyroscopic orientation with that of 3d model on web

I am trying to build a model rocket that uses an old phone for reading gyroscopic data using a webapp (Flask and flask-socketIO). the "rocket phone" goes to /rocket and sends gyroscope data ...
SH3LDR0ID's user avatar
0 votes
0 answers
38 views

Set cookies, how do httponly and secure function

I am trying to understand what the cookie settings httponly and secure actually do. The top answer on Google says: Secure - This flag ensures that cookies can only be transmitted over HTTPS ...
tdammon's user avatar
  • 902
-3 votes
0 answers
48 views

How do I download CSV files with URLs starting with "blob"? [closed]

I am trying to automate the download of the csv files located on this page https://indexdata.six-group.com/swiss_reference_rates/other_terms.html (column: Historical Values). When looking at the url ...
user2177166's user avatar
0 votes
1 answer
29 views

How to exclude div classes 'modal-content' and 'modal-body' from pyppeteer web scraper?

I'm building a scraper that gets text data from a list of articles. A common specimen in the text content I'm scraping at the minute is that at the bottom there is this message: "As a subscriber, ...
Shehzadi Aziz's user avatar
0 votes
0 answers
23 views

How to keep ag grid filter after selecting all filtered?

I have an ag grid table that I am filtering, and upon a button click it is set to select all the rows that are currently filtered using selectAllFiltered(), and after clicking the button the filtered ...
Cameron Kranz's user avatar
0 votes
0 answers
10 views

PyQT5 WebEngineView no import of js files. Live Server with the same files works

The WebEngineView of pyQT5 does not import needed js modules. Here is a minimal example that runs normally in the Live Server of Visual Studio Code: cube.html (works with Live Server, Demo from three....
Roman's user avatar
  • 1
0 votes
0 answers
36 views

How to send authentication session id to django backend using fetch api?

saveBtn.addEventListener('click', function() { const csrftoken = getCookie('csrftoken'); fetch('http://localhost:8000/card/{{ auction.slug }}/add/', { method: 'GET', ...
Minecraft PC's user avatar
-1 votes
0 answers
24 views

How can I pass a ZIP file download from a backend Python app to a frontend React app?

I am currently designing a web app and part of it is supposed to download a ZIP file from an external API and pass it onto the end user. I've reviewed a ton of code surrounding how to download the ...
alinkbetweencodes's user avatar
1 vote
0 answers
66 views

Trying to show shapefile in folium through javascript

I have a shapefile with postal codes in Belgium. In addition I have a distance-matrix from store-locations of one brand to all postal-codes. I managed to add markers to my map in PyQt5 QMainWindow ...
Johannes Van der Pol's user avatar
0 votes
0 answers
30 views

push reload or invoke javascript function from server

I have Django + React + uwsgi application. Uwsgi access to the database. Now I want to reload Django(React) web applicataion triggered by Database is changed. For example User open the web ...
whitebear's user avatar
  • 12k
0 votes
0 answers
40 views

Inconsistent IPC Buffer Serialization Between Python and JavaScript

I'm experiencing an issue with IPC buffer serialization in my C++ application. The buffer serialized in C++ is deserialized correctly in Python but fails in JavaScript with a metadata byte mismatch ...
user26260915's user avatar
-1 votes
0 answers
21 views

Need to call scrollIntoView() from brython

It does not seem to work. self.scrollIntoView() -> this is OK, element is on top and scroll is done self.scrollIntoView(False) -> same behaviour as previous, but should be displayed downwards ...
Jeremie's user avatar
  • 397
0 votes
1 answer
36 views

Extracting the text between span tags in a Javascript-rendered page using Selenium in Python

I am trying to scrape all instances of text between tags with a particular class on a web page that dynamically updates. I am using selenium with a chrome WebDriver in Python. In a normal browser, ...
zicari's user avatar
  • 5
2 votes
3 answers
79 views

scraping table from web page

I'm trying to scrape a table from a webpage using Selenium and BeautifulSoup but I'm not sure how to get to the actual data using BeautifulSoup. webpage: https://leetify.com/app/match-details/5c438e85-...
Horde Bob's user avatar
0 votes
0 answers
24 views

Extract all data inside g tag of JS chart using Selenium

I am currently trying to scrape a local web page, generated by my EV charger. I access it through it's IP address, which requires me to sign in. After signing in, I want to retrieve the data from the ...
DvdV's user avatar
  • 77
0 votes
0 answers
43 views

How to create another field in mongoDB document that filters the specified item from existing document array field

I am trying to filter items from a mongoDB document array field that are not equal to the provided value and create a new field with the filtered items using aggregation with $filter method but it is ...
Yoftahe Abraham's user avatar
-1 votes
2 answers
49 views

How to give permissions to users in django.?

I am building a django ERP project, in which there will be multiple user's, admin,user, manager etc. Each of this user has separate user credentials to login. Each user have separate dashboard. I'm ...
vvn's user avatar
  • 11
0 votes
1 answer
38 views

How do I use SocketIO to store and send multiple pieces of data at once?

I am making a Fast Food Management system and I need to find a way to send order information from a client app to a main server, for it to be shown in a similar way to that in McDonald's, with the ...
Erkan Mikiver's user avatar
0 votes
0 answers
22 views

Sportsbook Middleware for Syncing User Data

Dylan here, I've been working on a startup for the past year now, AI sports predictions with real AI (not chatGPT or simple Linear Regression models) and As I am nearing launch I am needing a solution ...
King Of Missionary's user avatar
0 votes
0 answers
52 views

How to make a pop-up window display image through streamlit and Javascript

I made a chatbot through streamlit. I use HTML scrollview to display my pictures and using JavaScript to be able to display a large picture by clicking on the picture to pop up a window.This is my ...
SimpsonHuang's user avatar
0 votes
0 answers
29 views

Javascript to Python in Adobe Illustrator

I'm trying to get Python to run with a script in Illustrator so that Illustrator will ask the user to enter a number and then create a barcode in 128code with Python and then save it somewhere. It's ...
Adam Westeren's user avatar
0 votes
1 answer
51 views

Passing data to gradio Dataframe from JavaScript

I was making my own Bounding Box editor in gradio and succeeded to make some with written JS and HTML code using canvas, but now i need to pass an information from JS where boxes are drawn and saved ...
sleshworld's user avatar
0 votes
0 answers
54 views

I can't the load js on Odoo17

I try to upgrade modules from Odoo 14 to Odoo 7, but when I try to do upgrade. I have an issue with JS. I can't load JS, even if I define the path in manifest. I need Help. We have a custom JavaScript ...
alrabie mhjob's user avatar
-6 votes
2 answers
88 views

This website cannot be correctly scraped even with requets-html

i'm trying to get the prices displayed on : https://campervans.jeanlain.com/locations/?city-input=annecy&city-name=ANNECY&departure_date=06%2F01%2F2025&departure_time=11%3A00&...
Gbn's user avatar
  • 73
0 votes
1 answer
38 views

How do I put Apache Superset as an app in a Django project?

How do I put Apache Superset as an app in a Dango project? I tried to install the tool using Docker, but I want to use the Superset tool with the Django project so that it becomes an application among ...
Shamsan Mohammed's user avatar
0 votes
1 answer
50 views

How to extract dynamically generated links from a website using Python?

I am writing a code where I need to get all the links/URLs from a specific website but, It seems like the links are dynamically generated and might be populated using JavaScript or some other dynamic ...
Liam Mason's user avatar
-1 votes
0 answers
28 views

Special characters error decoding/encoding 'utf-8' Javascript/Python

The following code is made for to take a python code submission and encode and compare to the expected output in the db. However, when using special characters ('´', '~', 'ç') it does not convert ...
Donnavan Souza's user avatar
-1 votes
1 answer
24 views

POS add field in pos.config issue

When I try to add my custom added field restrict_create_customer to pos.config and inherit _loader_params_pos_config to add field in pos.session in odoo 16 it raises this error my python code: class ...
Abdullah Elshoura's user avatar
0 votes
0 answers
49 views

How to Intercept and Modify JavaScript Responses Before Execution Using Chrome DevTools Protocol (CDP)

I'm working on a project where I need to intercept JavaScript code that the browser receives but prevent it from executing immediately. I want to modify the JavaScript code to inject a custom worker ...
NoNam4's user avatar
  • 537
1 vote
1 answer
118 views

422 Unprocessable Entity error when sending Form data to FastAPI backend using ReactJs and Fetch API in the frontend

I keep getting the 422 Unprocessable Entity error with the follwoing missing fields: {"detail":[{"type":"missing","loc":["body","username"],&...
3awny's user avatar
  • 341
0 votes
1 answer
36 views

how to make it so that the buttons are only displayed when loged_in = false

i want it to be so that if you are loged in , you arent displayed the login and register buttons. I tried doing it like this, but its not working var loginBtn = document.getElementById("...
Jorge Rodriguez Anton's user avatar
0 votes
1 answer
96 views

How to Load an Image onto a Canvas in Gradio with Custom HTML and JavaScript?

I am willing to make a bounding box editor implementation in gradio by creating html and js by myself (where user can move bboxes, scale and draw new ones). But i can't find a way to load an image to ...
sleshworld's user avatar
0 votes
0 answers
33 views

I wish to first submit a post request and move to different page in flask

Requirement: There is form in my html page where we can upload files and post them. After posting the files I wish to save it in the backend and then proceed to the next page of my application in a ...
R.S4697's user avatar
1 vote
1 answer
93 views

PyScript <script type="py-editor"> Error Unable to use SharedArrayBuffer due insecure environment

I'm using PyScript to run a simple Python script in my HTML file to display a pandas DataFrame. However, after loading the page in browser and clicking the run button of the code block I'm ...
Leonard Alphonso's user avatar
0 votes
0 answers
45 views

Protecting publicly accessable endpoints in Django and React

I have an endpoint urls.py from django.urls import path from . import views app_name = 'Main' urlpatterns = [ path("helloKitty/", views.helloKitty, name='helloKitty'), ] views.py def ...
x945's user avatar
  • 33
0 votes
0 answers
43 views

How do I get the user's webcam and process it on the server deployed webapp?

So I'm currently rebuilding my facial recognition app in flask and one thing that has stumped me is how to implement the function in the title into my program once I deploy it. I've heard that cap = ...
saineid's user avatar

15 30 50 per page
1
2 3 4 5
368