27,490
questions
0
votes
0
answers
6
views
Unhandled 'error' event with self-signed TLS certificate on node:http2 and wget
I created a simple HTTPS server with node:http2 package and self-signed certificate. This is a code for this app server:
import {createSecureServer} from 'node:http2';
import {readFileSync} from 'node:...
-1
votes
0
answers
20
views
How to Render an Error Component Based on API Call Failure in React?
my console
my folder structure
I'm working on a React application where I need to fetch news articles from an API. I want to display an error component if the API call fails. Currently, I'm using ...
1
vote
1
answer
22
views
Custom error handler pipe operator function for RxJS
My goal is to create a new custom RxJS pipe operator which can handle every input like this
constructor(private errorHandler: ErrorHandlerService) {
const voidStream$ = of() as Observable<void>...
0
votes
1
answer
30
views
C++ Python/C API - Is exception returned by PyErr_GetRaisedException normalized?
I'm using a new Python/C API PyErr_GetRaisedException added in 3.12 version to retrieve exception and then using other Python/C APIs to get exception type, value, and traceback details.
Then I'm ...
0
votes
1
answer
57
views
PDO errorInfo() on ERRMODE_SILENT no longer reports errors after upgrading past PHP 8.1.7
We recently upgraded our PHP version to 8.3.10 from 8.1.0, and found that errors were no longer being reported when a query fails.
We use the PDO class to interact with out postgreSQL (version 13.15) ...
-3
votes
0
answers
75
views
How to avoid / catch "another exception occurred:" [closed]
I use some function of a library (PyP100). But when I tried to use some function in a try: / except:,
I received a message
try:
function
except Exception as e:
print (e)
I received a message
...
-2
votes
0
answers
15
views
Problema com API #linkedin [closed]
Como faço para corrigir a descrição de uma vaga que foi integrada via API de site externo? Como mostra o anexo, o nível de senioridade o período de atuação estão incorretos. Estamos utilizando a ...
0
votes
0
answers
10
views
How to resolve Goose3 connection error 10054?
I run a script on daily basis using a cronjob and here we are using g.extract to extract articles and my script fails 2 out of 5 times with an error : Error occurred: ('Connection aborted.', ...
-2
votes
0
answers
27
views
How To Narrow Down The Scope Of "Script Error" In JavaScript [closed]
I run a small marketing agency where I have lead-generation efforts in place for several client websites. As you can imagine running a lot of WordPress sites you need a good way to find errors and ...
-2
votes
0
answers
22
views
Facing errors when api calls made to update old data & incomplete info logging to debug [closed]
const fetchData = async (): Promise<void> => {
let U; // URL
const RSA = performance.now(); // Request Sent At
let RRE; // Response Received
try {
const P = []; //...
0
votes
1
answer
39
views
Why does this C program free up memory that doesn't exist and doesn't output Bye as written?
The code is as follows:
It is from the book "C Primer Plus" 6th edition _ Chinese version
// This program creates a linked list of films and displays them.
#include <stdio.h>
#include &...
0
votes
0
answers
23
views
"Error: EISDIR" and "npm ERR! code ELIFECYCLE" how to solve?
When I type npm start this error appears, regardless of whether I open the command line in a specific file or somewhere else.
This is all that is produced when writing this command:
C:\my-lamb-town>...
0
votes
0
answers
14
views
Metro has encountered an error: Cannot read properties of undefined (reading 'transformFile')
Image Screenshot How to Resolve this issue of React Native.
the server returned response error code: 500
URL: http://localhost:8081/index.bundle?platform =android&dev=true&minify=false&app=...
0
votes
1
answer
47
views
How to implement a foreign trait with type parameters for a foreign type?
In my project I'm using a simple trait to add a context information to my custom error enums:
pub trait AddErrorContext<E,T> {
fn with_context<'a>(self, f: impl FnOnce()->&'a ...
0
votes
0
answers
9
views
Need help in NeuralProphet
i would like to have a simple forecast of expenditure in neuralprophet up to the end of 2024.
i have never programmed before. neuralprophet was recommended to me because it should be easy to use. but ...
0
votes
0
answers
37
views
What happens when a servlet that is used to handle exceptions throws itself an exception?
I have a Java Servlet web application configured to handle any exception that bubbles up to the container via a dedicated servlet: "/errorHandler".
What happens if this Servlet, while ...
0
votes
0
answers
8
views
How to connect Obs with zegocloud streaming service
I am using zegocloud's prebuild ui, react, node for this project
I have created a streaming platform everything is working there
I want to add a feature where they can stream through obs software but ...
0
votes
1
answer
50
views
Trying to access the panic info message causes a mismatched types error?
When trying to compile this bootkit project, I get an error:
error[E0308]: mismatched types
--> bootkit\src/main.rs:33:16
|
33 | if let Some(message) = info.message() {
| ^^^^^^^^^^^^^ -----...
0
votes
0
answers
10
views
authjs v5 error in signIn options returning type is never
'use server'
import { signIn } from "@/auth"
export const SignIn = async (data: any) => {
const updatedData = {...data, redirect: false}
console.log(data)
const signIndata = ...
0
votes
0
answers
17
views
Trying to fit model VAR
I am trying to find best fit for model but error:
LinAlgError: 7-th leading minor of the array is not positive definite keeps popping
I dont know what I am doing wrong beacuse all tutorials had ...
0
votes
0
answers
85
views
JSON decode error on POST of empty data expecting to get the API response message
On POST of login data, I expect to get the API response message. I get API message if I POST with data, but if I leave the textfield empty and click the button, I get error :
…dataCorrupted(Swift....
0
votes
1
answer
32
views
pycharm shows warning for class methods and produce errors when resolved
I am writing an error handler class, Pycharm proposes that my method may be static, I've looked through here but when i add the decorator @staticmethod, calling the object leads to an error and it ...
0
votes
0
answers
65
views
Handling different errors of the type *url.Error in go [closed]
Imagine we want to send a GET request using golang:
response, err := client.Get("example.com")
It seems that the Get method returns an error of the type *url.Error. But in different cases ...
0
votes
0
answers
9
views
How to carry out a regression model (Fixed effects OLS regression model) with my multiply imputed data from mice r
I am carrying out Fixed effects regression using feols. I have some missing data so I am carrying out multiple imputation on missing variables.
I have carried out multiple imputation on multiple ...
-7
votes
0
answers
25
views
i am making a calculator so how can change it to when the ans is int it will show int not float and the same on the other hand; [closed]
)
I wanna add the change it to when the answer is integer it will show int not float and on the other hand if the answer is float so don't show the unnecessary integer errors. Also we ave to make it ...
0
votes
0
answers
14
views
My chrome Extension buttons stops working is it because of Uncaught Error: Extension context invalidated [duplicate]
This is error I am getting. but I have read somewhere that this is normal in development phase. I am junior developer so may be thats why I am getting the right solution. can anyone please guide me??
...
1
vote
0
answers
35
views
Blazor - using SingalR hub to force refresh all user tabs logs multiple TaskCanceledException (RefreshFailed and CircuitUnhandledException)
I am using SignalR hub to refresh all tabs currently opened by specified user (e.g. after permission change). Hub connection is initialized in the MainLayout component.
public HubConnection ...
-1
votes
0
answers
72
views
Cross-Origin-Opener-Policy would block the window.closed call
My code is using React, Redux, MongoDb, and Firebase for Authentication.
My Code is working fine but getting this CORS error.
Error is : popup.ts:302 Cross-Origin-Opener-Policy policy would block
the ...
-1
votes
1
answer
42
views
Error while creating a table joining two tables in pgadmin
I have two tables one is customer data, and the other is geography data which has a common field geography key. I joined the two tables using the following query:
SELECT c.*, g.*
FROM customer AS c
...
0
votes
3
answers
70
views
How to handle iterators of Result<T> in Rust? [duplicate]
I have an iterator that returns Result<T, Err>. I currently use it like this:
for x in it {
let xx = x?;
...(use xx)
}
It's OK, but I'd like to use the more elegant iterator chain idiom,...
-2
votes
0
answers
6
views
NotImplementedError in thee forward function
enter image description here
enter image description her
enter image description here
enter image description here
enter image description here
the forward function is not implemented and it is ...
0
votes
0
answers
19
views
NestJS provider constructor error custom Logger
I am using NestJS version 10. I have implemented a custom JSON logger for my application so that all my errors are displayed in JSON format. My main.ts defines the ussage of the logger like this:
...
0
votes
0
answers
22
views
WSO2 API Manager - Logging Error Responses Using Log Mediator
I am working with WSO2 API Manager and need to log error responses sent back to clients for further processing.
Specifically, I want to capture and log error responses like the following:
xml
<am:...
-3
votes
2
answers
72
views
Google Sheet Script - Removing a gap of blank cells within a range to keep a list compact and tidy?
I need help with a google app script. I want to update the script below. I need to remove the current logic of the script that shifts rows up when there are gaps of blank cells within the range B28:...
0
votes
0
answers
12
views
i am getting tokens unused error while using sly
WARNING: C:\Program Files\adbms\strg_eng\done.py:66: Rule 'change_tname' defined, but not used
WARNING: C:\Program Files\adbms\strg_eng\done.py:70: Rule 'create_db' defined, but not used
WARNING: C:\...
-1
votes
3
answers
46
views
I get PHPMailer SMTP Error while useing Go54 shared Host
I am trying to sent email using SMTP (PHP Mailer). I am using the aws SMS service. Below is my code:
$mail->isSMTP();
$mail->Host = 'email-smtp.eu-west-1.amazonaws.com';
$mail->SMTPAuth = ...
0
votes
1
answer
54
views
"error: can't find main(String[]) method in class: " when class put before public class [duplicate]
In a java code if I put the non-public class before public class this error pops up.
"error: can't find main(String[]) method in class: className"
ref1
But, if I put it after the public ...
-1
votes
0
answers
56
views
Django error ModuleNotFoundError at /groups/leave/sciense-group/ No module named 'sciense-group'
/during i apply an old tutorial for social media site clone i found this problem icreate group named it science group and when iwant to join this group by joingroup class it gives me this error i ...
0
votes
0
answers
23
views
Assertion Error: 4 columns passed, passed data had 3 columns. Python/ipynb
I am trying to convert a pro-football-reference stats table into a csv file that shows defensive stats vs rushing. In my program I was able to get 10 columns of data for my runningback stats, however ...
0
votes
0
answers
35
views
How to stop HTTP error codes from automatically being logged in the frontend?
I am trying to make a login system using a typescript/react frontend and a typescript/nodejs backend. Currently, when the user is logged out, my backend returns a 401 (not authorized) error code, ...
0
votes
1
answer
14
views
Composing region changed by the framework. Restarting the input method | Flutter Error
Composing region changed by the framework. Restarting the input method | When i type anything and press done or close my keypad ,
its say Composing region changed by the framework. Restarting the ...
0
votes
0
answers
17
views
how to fix error module module not found?
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\USER\AppData\Local\npm-cache_npx\125ee17d583c4e03\node_modules\commander\esm.mjs' imported from C:\Users\USER\AppData\Local\npm-cache_npx\...
0
votes
0
answers
32
views
Getting error in installing the nextjs app using npx create-next-app@latest
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, ...
0
votes
2
answers
45
views
Google Sheets QUERY Issue When Name Includes '
I have a QUERY that searches through names of one column and tells me which row of another column that same name occurs. This has worked perfectly for me, however I have experienced for the first time ...
0
votes
1
answer
23
views
Should the error handler set with set_error_handler terminate the script when a fater error is reported?
Should a handler set with set_error_handler() terminate the script if fatal errors are reported. For instane E_USER_ERROR or will this be handled anyway?
I have a application the registers a handler ...
0
votes
1
answer
25
views
TypeScript Error TS7017: Implicit any type for custom globalThis property in Pixi.js application
I'm working on a Pixi.js application where I need to store the application instance globally using globalThis. I've extended the Window interface to include a custom property PIXI_APP. However, when I ...
-3
votes
0
answers
25
views
MySQL Workbench on MacBook M1: Sakila Database Empty and Performance Issues. help me plz
I'm facing several issues with MySQL Workbench on my MacBook Air (M1 chip). Here’s what’s happening:
Empty Database:
I downloaded MySQL and MySQL Workbench from the official site, and I imported the ...
1
vote
0
answers
20
views
what may be the cause of fatal: bad objet refs/heads/main
how do i solve this :"error: refs/heads/main does not point to a valid object!
error: Could not read 5af3c0030e9328002e456c895f5c4005d3d6360f
fatal: bad object refs/heads/main
fatal: failed to ...
-1
votes
0
answers
51
views
Identify and fix reported errors in xp_readerrorlog 0, 1, N'Error' [closed]
I have executed the command:
EXEC xp_readerrorlog 0, 1, N'Error'
to find any errors in order to have my DB healthy and I get the error in the image below related to LOGON. My question is, is there ...
0
votes
1
answer
34
views
Unexpected type specification while specifying gradle dependency
I'm implementing
dependencies {
...
implementation 'de.hdodenhof:circleimageview:3.1.0'
}
It gives the folllowing errors and i also tried using
implementation(com.google.android.material:material:1.2....