Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Gradle Build Error (Possibly Related to JDK version)

I am trying to build a koltin project but when after I pit pull my groupmates work and build it i got errors like: FAILURE: Build failed with an exception. * What went wrong: Could not determine the ...
hcc's user avatar
  • 1
0 votes
1 answer
14 views

Node utils inspect function is it really bullet proof, and never throws an exception?

Starting from this code const input:unknown // an unknown input that might be any type try { // trying to stringify it might throw (e.g. for circular references) ...
koalaok's user avatar
  • 5,760
1 vote
1 answer
65 views

Error handling for tidyr hoist in API call dplyr pipe when column type changes between calls

I'm working with the Jira Native API to bring in dashboard data to R for rectangularizing. The max results that can be returned each call is 100. I'm working with a small dashboard atm but am thinking ...
PhDavey's user avatar
  • 428
0 votes
1 answer
44 views

Prevent Error Boundary from Replacing UI and Instead Show an Alert

I'm using an Error Boundary in my React application to catch errors in child components. However, whenever an error occurs, the entire component tree under the Error Boundary gets replaced by the ...
meg's user avatar
  • 129
0 votes
1 answer
58 views

Contents of IO buffer unknown == unsafe?

My focus here shall be the following quote taken from the manual description of setvbuf, which startled me: If buffer is not a null pointer, instructs the stream to use the user-provided buffer of ...
Physina's user avatar
  • 31
-1 votes
0 answers
14 views

When i click run on replit the website doesnt load [closed]

Every time I click "start" and try to view the website, it doesn't load properly. It says it's running, but I can't see anything. I've tried changing the code to make it work, but it still ...
Ila Nagarajah's user avatar
0 votes
1 answer
44 views

Constant error handling issues when trying to implement Tomorrow.io functionality API into my app

every time I add the following code function, I get the error "errors thrown from here are not handled" on the line shown here: let (data, _) = try await URLSession.shared.data(for: request)...
Baseball's user avatar
0 votes
1 answer
47 views

Testing assertions in enums using Swift Testing

I have the following example enum: enum Schedule { case daily /// Every nth day. The interval between days must be > 1 else error. case interval(interval: Int) func ...
Womble's user avatar
  • 5,289
0 votes
0 answers
49 views

BLOCKED_BY_ORB on Chrome and NS_BINDING_ABORTED on Zen Browser when adding Google Ads to ASP .NET Website

So, I'm trying to add Google Ads to my ASP .NET web application. I added the ads.txt and Google verified it. Every time I go to the page where the ADs should be, Chrome returns an error in developer ...
Pedro William's user avatar
-1 votes
0 answers
66 views

How can I robustly pass errors to client code without using enums?

I'm writing a system that can, and will, be extended by client code. It needs to be capable of reporting errors in its configuration. Having an enum defining error codes won't work, because subclasses ...
jg_at_pharos's user avatar
-1 votes
0 answers
121 views

Lost in Java Concurrency [closed]

(A follow-up question to this one) I am struggling with Java CompletableStage and trying to understand how to properly chain error handling logic. Could someone help me wrap my head around it? public ...
r2d2's user avatar
  • 19
-2 votes
0 answers
28 views

Wordpress como mudar um aquivo no patterns e alterar no navegador [closed]

o meu arquivo institutions.php fica no caminho C:\Users\luciano.junior_boasn\Studio***\wp-content\themes\startorg-child\patterns como é um arquivo php não consigo alterar essecódigo e refletir na web ...
Luciano Júnior's user avatar
0 votes
0 answers
53 views

How do I interpret this JOI validation code (version 17.8.3)?

I've got the follow JOI code for validating data: const abcSchema = Joi.object().keys({ value: Joi.when('...objectType', { is: Joi.string().valid('Unknown').insensitive(), then: Joi.optional(...
Gibran Shah's user avatar
  • 1,109
1 vote
2 answers
96 views

Forking exception handling in Java CompletableStage

I have not used Java in a million years and trying to figure out how to differentiate between different types of Exception in CompleteableStage. Currently, I have something like below but it does not ...
r2d2's user avatar
  • 19
0 votes
1 answer
42 views

jquery AJAX call - why do success and failure go to the same output location?

ok, I may be missing something simple... Got a jquery ajax call: M_DATA = some data; $.ajax({ url: "some url..." + M_DATA.id, data: M_DATA, type: "post", timeout: 5000, ...
Carl Beech's user avatar
2 votes
5 answers
136 views

Convert a specific warning type into an error

Consider the following code: > df <- tibble(gender=c(1,1,0)) > df$male Warning: Unknown or uninitialised column: `male`. NULL How can I convert this specific warning type into an error? I ...
robertspierre's user avatar
0 votes
0 answers
20 views

Alpine Expression Errors: vimeoComponent and state Undefined in Custom Component

I'm working with Alpine.js and encountered several errors related to expressions in my custom component. Specifically, I get the following errors in my browser's console: Error 1: Alpine Expression ...
John Carlo Yhapon's user avatar
0 votes
0 answers
38 views

Electron.js - ERROR: ffmpeg_common.cc(970) - Unsupported pixel format: -1 [closed]

I am developing my electron.js project on vscode and when I launch the program it gives me error [7372:0224/183720.245:ERROR:ffmpeg_common.cc(970)] Unsupported pixel format: -1, I am using .mp4 video ...
ChickenBlue's user avatar
-3 votes
0 answers
42 views

i using ampl and gurobi, but it shows infeasible or unbounded. after setting dualreductionsand iis I can't find a solution all decision variables

The problem I am facing involves an optimization model created using AMPL and Gurobi, which is returning an "infeasible or unbounded" error. This indicates that the model cannot find a ...
nisanur azizah's user avatar
-6 votes
1 answer
93 views

Fixing Hugging Face Login Issue (504 Gateway Timeout & Invalid Token Error)

Issue I was trying to log in to Hugging Face CLI, but I kept getting the following error: requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/whoami-...
Aman Kumar Happy's user avatar
-1 votes
0 answers
38 views

PHP Handle errors inside a function [closed]

I have a function that tests whether the image received in parameters meets a certain number of criteria (file exists, it is not too large, what type, what compression, etc.). I would like to set up a ...
Andy McRae's user avatar
1 vote
1 answer
37 views

How to get a list of all missing fields when deserializing a JSON with serde?

When handling JSON in Actix Web using serde, the default deserialization errors (missing field ...) do not provide a list of all missing fields. Instead, serde stops at the first missing field and ...
Shvargon's user avatar
-1 votes
0 answers
80 views

ViewManagerResolver returned null for either RNSScreenContentWrapper or RCTRNSScreenContentWrapper, . . . i found this type of error

[Why i fetching this type of problem ` after installing npm install react-native-reanimated npm install react-native-screens react-native-safe-area-context npm install @react-navigation/native-stack ...
Pallab Debnath's user avatar
-6 votes
0 answers
47 views

First time using API for a project been 3 days and can't get it to work [duplicate]

I’m working on an application that uses both the ChatGPT and Genia APIs. After several days of trial and error and going through StackOverflow posts, my code still isn’t working. this some code i got ...
Faraja Athanas's user avatar
0 votes
2 answers
97 views

Getting an infinite recursion error in java

I cannot find the reason why my code doesn't work. It keeps saying that there's a infinite recursion error. I'm basically trying to solve a maze recursively. The start and end of the maze are ...
Cool Dude's user avatar
0 votes
2 answers
44 views

Blazor Server: Duplicate Notifications Issue When Updating ApplicationState ErrorMessage

I have a notify dublication when AppState.ErrorMessage changes such as AppState.ErrorMessage = "Some error". When I click the button, where I set value, I receive notificaiton two times ...
Victor's user avatar
  • 1
2 votes
1 answer
71 views

How to convert a pandas dataframe to numeric future proof?

Until now I used to convert all values in a pandas dataframe with combined numerical and string entries to numeric values if possible in one easy step, using .map and .to_numeric with "errors = '...
Jos's user avatar
  • 33
-4 votes
0 answers
132 views

Reallocating memory but failing to properly handle free() causes crash [duplicate]

so i am doing a container on the raw pointers, and for some reason my program just started crashing on the free(data); line, why tf idk, how could something like this happen i also dont know, but the ...
NeKon's user avatar
  • 1
1 vote
1 answer
31 views

Misaligned Radio and checkboxes with respective to their labels

I am creating a Listing page for pet adoption in react and Material UI.While making first page,I am facing an issue regarding misalignment of radio buttons and checkbox with their labels.Checkbox and ...
Hira Shakeel's user avatar
1 vote
3 answers
70 views

Is there an idiomatic way of raising an error in polars

When doing some types of data processing, I want to receive an indicative error message in polars. For example, if I have the following transformation import polars as pl lf = pl.LazyFrame( { ...
nadavge's user avatar
  • 609
0 votes
1 answer
33 views

Error: Download error: Error: 'Ytube' object has no attribute 'get_video_url'

if format == 'mp3': download_url = yt_video.get_audio_url() elif format == 'mp4': download_url = yt_video.get_video_url() here is the code, when I run it I get this error: Download error: ...
rights4a's user avatar
3 votes
4 answers
134 views

How to get the result code when using .NET in powershell script?

I'm trying to get the result code from a running a file search in a powershell function. I'm using .NET for efficiency, and I don't want to compromise that. Now I am trying to obtain some kind of ...
not2qubit's user avatar
  • 17k
0 votes
0 answers
25 views

Backend start problems unicodedecodeerror

I'm currently in the process of programming an app. I have to say that I'm more or less a complete beginner. But I want to do it anyway. For a week now i've been stuck with the backend (i have the ...
Dash's user avatar
  • 1
0 votes
1 answer
59 views

TypeError: category dtype does not support aggregation 'mean' for Movies

I used these codes using the groupby() function to find the top averages, budgets, revenue etc. for movies as part of my Exploratory Data Analysis: movies = df.groupby('Title') movies.mean()....
Nike Cage 675's user avatar
0 votes
0 answers
33 views

What is the guaranteed relation of the per-binary and overall return status of clCreateProgramWithBinaries?

The OpenCL API has the following function: cl_program clCreateProgramWithBinary( cl_context context, cl_uint num_devices, const cl_device_id* device_list, const size_t* lengths, ...
einpoklum's user avatar
  • 132k
0 votes
1 answer
84 views

Custom Exception Handler in API Controller Failing in C# and .NET 8

I'm currently learning about error error management in ASP.NET Core Web API projects to try to find an elegant solution that ensures that a ProblemDetails is always returned when something goes wrong. ...
Frinavale's user avatar
  • 3,950
-1 votes
2 answers
112 views

I get this error when trying to install Postgresql on my pc

I just run postgresql_17.3_1_windows_x64 installer from their website. Agree on admin window, and then this error pops up. Maybe it is because of Win - 10 user name on my local machine. Anyways this ...
JEKO10's user avatar
  • 27
0 votes
1 answer
73 views

Programmatically handling missing/misspelled template parameters in Thymeleaf

Is there a way to programmatically handle missing/misspelled template parameters in Thymeleaf? I've read How to throw exception is template variable not found in Context?. The answer proposes adding ...
Sören's user avatar
  • 2,454
1 vote
1 answer
51 views

How to get an error on float and int casting on an object instead of a warning in php?

Given this class: class ValueObject { public function __construct(public string $value) { } public function __toString(): string { return $this->value . "; this I ...
k0pernikus's user avatar
  • 66.8k
1 vote
1 answer
58 views

How to properly throw and capture errors in Swift to keep the original stack trace of where the error originated

I'm working on a SwiftUI application where we use Sentry to catch any errors and send them to a server where we can analyze them later on. We are currently using Sentry but we could swith to any other ...
Enric's user avatar
  • 325
1 vote
1 answer
25 views

Troubleshooting Tailwind CSS Responsiveness Issues

I'm currently working on a Laravel project and am facing an issue with responsiveness. The layout I designed using Tailwind CSS is not displaying correctly. Instead of appearing as intended, part of ...
Diellza Behadini's user avatar
-2 votes
0 answers
43 views

Does DBT has error handling feature like procedures [closed]

Hi I wanted to implement error handling logic in DBT models or macros as we do in sql based stored procedure. I tried in macro but did not worked out. Any suggestion would be appreciated
Abhisek Rajput's user avatar
25 votes
3 answers
5k views

Sentry errors "variable not found: gmo", "invalid or unexpected token" due to google ads snippet in index.html of our react app

We very recently setup google ads for our react app. Our react app is a 7-8 year old app originally built with create-react-app. Now, in Sentry we are getting these two errors, both with steady volume ...
Canovice's user avatar
  • 10.5k
1 vote
4 answers
98 views

Handling bad lines when reading csv files with pd.read_csv()

I am trying to parse some csv files with a few thousand rows. The csv is structured with comma as a delimiter and quotation marks enclosing each field. I want to use pd.read_csv() to parse the data ...
Mitar Zečević's user avatar
3 votes
1 answer
65 views

In a compiled Cmdlet, how can I write an error from a thread job without burying the PositionMessage?

Errors from thread jobs written to the error stream by Receive-Job show the PositionMessage for the originating error. Consider, for example $job = Start-ThreadJob { 1/0 # error line } ...
alx9r's user avatar
  • 4,273
0 votes
0 answers
29 views

How do I initialize the scanner right?

I have the following Setup: ESP32 WROOM 32 1x connected with Pin 21 as SDA and Pin 22 SCL to PCA9548A I2C Multiplexer, that is connected with SDA 0 and SCL 0 to scanner 1, SDA 1 and SCL 1 to scanner 2 ...
user22268653's user avatar
-1 votes
1 answer
61 views

Cannot get a list to be iterated. I'm using a program that cannot import the NumPy library, and I'm struggling to get my float values to work

I have used the following code: import math import decimal def calculate_c(a, h): return (1 * 15 * (4 * (h ** (3/2))) ) / (3 * (a ** (1/2))) def calculate_d(a, h, u): return 2 * ((u * h) - ((1/...
user29547777's user avatar
0 votes
1 answer
29 views

Logging an error when the request doesn't reach the back-end

I do error handling on the back end which will log any error that happens into the DB, but I can't do this if the request never reaches the back-end once the front-end sends it. This very rarely ...
Luis Angel Urena Lopez's user avatar
0 votes
1 answer
71 views

not able to modify errorType from error object in mule 4

I want to modify error.errotType to something else. How can I do that? I do not see any option to update error object in Mule 4. Also why in 'raise-exception', type field can not be set dynamically i....
Vatsal Mehta's user avatar
-1 votes
0 answers
31 views

Getting unexpected Error 404 while running an express app. The app is working fine but it is just that error is being printed on the console

I have been trying to create an airbnb clone using Node.js and Express.js for backend. I was consecutively working on other projects also and was getting the same error sometimes. The express app ...
Kovidh V.S. Bhati's user avatar

1
2 3 4 5
550