Questions tagged [warnings]

A warning is often issued on recognizing a potential high-risk situation, a probable misunderstanding, degraded service or imminent failure.

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Catching a warning without repeated evaluation or file connections in R

Suppose that there is a finicky function f() that is costly to evaluate. It may be an optimisation algorithm that can throw a warning if it terminated without an error but failed some checks (e.g. max....
-1 votes
0 answers
10 views

Warning suppression for pickle is not not bytes aligned

Problem Warning How to remove or suppress this warning? Attempted multiple ways and methods to remove warning for pickle is not not bytes aligned, see the following code to suppress warnings. Any ...
-2 votes
0 answers
21 views

NetBeans IDE - Warni [closed]

[[enter image description here](https://i.stack.imgur.com/gVXQ1.png)][1] Please help me how to solve this problem. I can't run java program on NetBeans 8.2, before I click update IDE it works fine but ...
  • 1
0 votes
0 answers
19 views

How to suppress the `RemovedInDjango40Warning` warnings in a unit test?

We are working on a unit test in PyCharm and the test itself is passing now. However, the terminal output contains warning messages in the RemovedInDjango40Warning category. As we do not plan to ...
  • 925
1 vote
1 answer
20 views

PerformanceWarning: DataFrame is highly fragmented when creating new DataFrame columns

I am trying to set new DataFrame columns as simple calculation of existing DataFrame, but when I run the script I get the warning from Pandas. Here is the main code data_join['Ele_total'] = data_ele....
0 votes
0 answers
12 views

how to resolve version incomptability for flutter application?

when I tried to run my flutter application in mode release I got lot of warnings. I don't know how to resolve them and I want to know if these warnings can be responsile for application crashes.
  • 49
0 votes
1 answer
34 views

Jenkins deprecated and warning plugins

After upgrading Jenkins to the jenkins/jenkins:2.394-jdk11 version I have some warnings and deprecated plugins. What is the best way to resolve this kind of issues. Find Alternatives Uninstall them ...
0 votes
0 answers
23 views

Warning: Encountered two children with the same key, `8e7c86-5982-4e5-88-fcbc65e0`. Keys should be unique so that components maintain their identity

So, I have a structure where I am supposed to clone the exisitng field selected by user. Whenever I click clone button, it should clone the values automatically. here are few important states in my ...
0 votes
0 answers
11 views

Pointers concept

The output for the following code is displaying but I am getting a warning message whenever I run the code I tried accessing the elements of an array of characters and then displaying them one by one ...
-2 votes
0 answers
19 views

Invalid DOM property itemId' Did you mean itemID?

I am getting this error : Warning: Invalid DOM property `itemId`. Did you mean `itemID`? HorizontalScrollbar is not working, my entire webpage is scrolling rather then cards.
0 votes
0 answers
10 views

Child in a list should have a unique "key" prop REACT [duplicate]

Newbie here - completing a React portfolio for my Bootcamp homework. I have read other similar answers and have tried implementing suggestions but I am still getting this warning message "child ...
0 votes
2 answers
38 views

I was reading this hacking - art of exploitation book and the below code seems to throw the following error

Error pointer_types5.c: In function ‘main’: pointer_types5.c:11:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 11 | hacky_nonpointer = (unsigned int) ...
  • 1
0 votes
1 answer
42 views

Using .loc doesn't make SettingWithCopyWarning disappear in pandas

import pandas as pd cars = pd.read_csv('car_sales.csv') cars_new = cars.dropna() for item in ['mileage', 'engine', 'max_power']: cars_new[item] = cars_new[item].apply(lambda text: float(text.split()[...
0 votes
0 answers
26 views

How can I solve this warning message?

I have just installed the "irr" package but when I try to use it, it gives me this warning: Warning message: package ‘irr’ was built under R version 4.0.3 What can I do to overcome this ...
-1 votes
1 answer
38 views

[Vue Warn]: Property "0" was accessed during render but is not defined on instance

I am pretty new to Vue3, I'm building a small Onboarding portal with Vue and I am using a global state inside my "App.vue" file called const progressStage = ref(0) and based on that state ...
  • 11
0 votes
2 answers
40 views

FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version

Command - df = pd.concat([df, df["XYZ"].apply(pd.Series)], axis=1) Error - FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. ...
0 votes
2 answers
41 views

how to delete this warning "Please apply google-services plugin at the bottom of the build file."

My my app is working fine but I want to remove this warning: Please apply google-services plugin at the bottom of the build file." And please don't reply with don't worry ignore it because I ...
-1 votes
0 answers
56 views

'auto' type specifier is incompatible with C++98 with Embarcadero 11.2

I am using the Embarcadero 11.2 IDE for both coding and compiling. The program I wrote consists of a single form and four classes and was working as intended. On a whim I turned on the "display ...
0 votes
1 answer
22 views

FutureWarning: 'BeautifulTable.__getitem__' has been deprecated in 'v1.0.0' and will be removed in 'v1.2.0'. Use 'BeautifulTable.{columns|rows}[key]'

This is my first question on StackOverflow. I am very nervous. I am new to programming, and doing my best to learn and improve. I am currently working on a project using Beautiful Table. However, when ...
  • 1
0 votes
1 answer
33 views

"This code is unreachable" warning in pycharm

The following part of my code is highlighted as code unreachable in pycharm IDE. for row in range(frame_height): for col in range(frame_width): if i < ...
  • 11
2 votes
0 answers
48 views

Warning about setting environment url in GitHub

Have one question about this: environment: name: ephemeral url: https://some-subdomain.domain.com Each time during workflow execution I am getting a warning: Skip setting environment url as ...
-2 votes
1 answer
36 views

I'm currently new to programming. passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion], is my error

#include<stdio.h> #include<string.h> int main() { int a = scanf(printf("Enter your first no.")); int b = scanf(printf("Enter your second no.")); int c = ...
1 vote
2 answers
31 views

Get maximum value conditional on another value which might be missing

I'd like to get the maximum date within a group where another column has a specific value. In the specific example, I'd like to extract the maximum date of all dates within a group where status == &...
  • 1,024
0 votes
2 answers
240 views

What to do about future warning when using sklearn.neighbors?

I fear, I have the same problem as in this post: getting a warning when using sklearn.neighbors about keepdims I try to use KNN as part of an ensemble classifier, but everytime I get the following ...
  • 171
0 votes
2 answers
88 views

Dereference of a possibly null reference warning

I have an object called conversationService. When I try to call a method on the object I get a warning: 'conversationService' may be null here. CS8602: Dereference of a possibly null reference. The ...
  • 1
0 votes
0 answers
23 views

R script/function not interrupted when Error (only warning message instead)

Since my last computer update, when I am running scripts in Rstudio, errors do not cause interruption in the execution (for example : if a stopifnotcondition in a function call is not met, the ...
  • 139
-1 votes
0 answers
9 views

Warning: Undefined array key "order_num" [duplicate]

Let me tell you my code first. I scan the order number and scan the product list with the barcode corresponding to the product in the product list, making a code that increases the quantity of the ...
0 votes
0 answers
14 views

IndexError: index 26 is out of bounds for axis 1 with size 26

Why This errons somme one have solution ?
-1 votes
2 answers
52 views

query is not mean to be a copied. Use move construction instead

I've been doing a code where a database is manipulated, elements are saved and edited by a Qsqlite database and query, so the way I've used is to pass query by parameter I don't know how bad it is but ...
1 vote
1 answer
47 views

PHP Randomly Warning Permission denied (13) on session_start()

I have randomly this issue: WARNING: FILE: [PATH_PROJECT]\class\session.class.php MESSAGE: session_start(): open([PATH_SESSION]\sess_966tkue45v5mm6ftvqgqhnd21r, O_RDWR) failed: Permission denied (13) ...
  • 35
0 votes
1 answer
64 views

warnings when running octave from python

I am using oct2py python library to run octave script but I get the following error that I don't understand: warning: function C:\Program Files\GNU Octave\Octave-7.3.0\mingw64\share\octave\packages\...
2 votes
1 answer
146 views

How to fix deprecation error about DEFAULT_GATHER_SUBSET in ansible?

ansible [core 2.14.2] python version = 3.11.2 jinja version = 3.1.2 I have this in ansible.cfg [defaults] roles_path = roles callback_plugins = plugins/callback filter_plugins = plugins/filter ...
  • 167
-3 votes
1 answer
89 views

how to suppress warnings that C/C++ functions hava no parameters in vscode with clangd?

description I try to use vscode and clangd to write C/C++, but for those functions whose parameters are empty, vscode will give "A function declaration without a prototype is deprecated in all ...
  • 11
0 votes
2 answers
92 views

How to view runtime warnings in PyCharm when running tests using pytest?

When running tests in PyCharm 2022.3.2 (Professional Edition) using pytest (6.2.4) and Python 3.9 I get the following result in the PyCharm console window: D:\cenv\python.exe "D:/Program Files (...
  • 134
1 vote
1 answer
59 views

Unknown levels in `f`:() but the columns are already factors

I've seen many posts concerning the warning Unknown levels in `f`: , however, all of them concerned the fact that the variable wasn't a factor before using fct_collapse(). All my variables are already ...
0 votes
0 answers
179 views

Rect build warning : autoprefixer: start value has mixed support, consider using flex-start instead

I am getting one warning like below when building my react application, autoprefixer: start value has mixed support, consider using flex-start instead My package.json is like "autoprefixer&...
  • 35
0 votes
0 answers
49 views

Warning: strip_tags() expects parameter 1 to be string, object given in Wordpress

I also have this new error in the theme. Warning: strip_tags() expects parameter 1 to be string, object given in /home/domain.com/wp-content/themes/LoveTv/includes/home/item.php <?php if($...
  • 1
0 votes
0 answers
17 views

Capture all the warning messages produced by pdf2docx library in python and store them in a list

I am trying to convert a pdf file into word using this code. from pdf2docx import Converter path_output = 'path.docx' cvt = Converter(pdf_file_path) cvt.convert(path_output, start=0, end=None) cvt....
0 votes
0 answers
15 views

How to resolve "CA1824 Mark assemblies with NeutralResourcesLanguageAttribute" if resources are culturally neutral?

I'm getting a warning "CA1824 Mark assemblies with NeutralResourcesLanguageAttribute" for my .NET6 assembly that has a resource file. From this question and its answers I have understood ...
  • 3,122
0 votes
0 answers
30 views

Why is the "import pandas help(pandas)" function in python not working in jupyter notebook? (Its showing me a warning)

I am trying to get information about the pandas library using help(pandas) function but getting an error. I am getting following warning: FutureWarning: pandas.UInt64Index is deprecated and will be ...
2 votes
1 answer
62 views

pytest overrides existing warning filters

It seems that ignoring warnings using warnings.filterwarnings is not respected by pytest. For example: $ cat test.py import warnings warnings.filterwarnings('ignore', category=UserWarning) def ...
  • 2,309
0 votes
1 answer
516 views

Error - PHP Warning: Undefined array key "gid"

Does anyone know how to fix this error, please? PHP Warning: Undefined array key "gid" in /index.php [index.php] $gid = ['1245620']; $mid = ['0111161]; $sid = ['0108778]; switch($_GET['gid'...
user avatar
0 votes
0 answers
31 views

[Vue warn]: Unknown custom element: <LazyHydrate> - did you register the component correctly?

I'm creating a unit test for a Vue component (inside a Nuxt app) like this: <template> <BaseHeader> ... <LazyHydrate when-visible> <LazyNewsletter ...
2 votes
3 answers
44 views

Avoid raising Setting with copy warning

Suppose I have a dataframe df with columns a, b, c, d and I want to subtract mean of the columns from columns a,b,d. How do I achieve the same? I have tried df[['a','b','d']] = df[['a','b','d']] - df[[...
  • 61
1 vote
0 answers
65 views

Google Earth Engine Python API Warning

Yesterday, I created a script to get Sentinel-1 images for a specific region and the code ran as expected. Today, running the same code with no changes I get the following warning: WARNING:...
  • 31
0 votes
0 answers
100 views

Missing request header 'Authorization' for method parameter of type String

I am to ask your precious help to solve a problem I am coping with by days: I have a Rest service, whose signature is the following: @GetMapping(value="public/per/getPerm" , produces = "...
  • 11
1 vote
2 answers
68 views

warning: initialization makes integer from pointer without a cast and the output only shows else part even if I enter correct user and password

#include<stdio.h> int main(){ char user = "welcome"; printf("Enter UserName \n"); scanf("%s",&user); char pass = "hi"; printf(&...
  • 11
0 votes
1 answer
21 views

Warning: This may happen if you return a Component instead of <Component /> from render

const PersonDetails = () => { return ( <SwapiServiceConsumer> {({ getPerson }) => { return witdDetails( withChildFunc(ItemDetails, withChildDetails(...
0 votes
1 answer
51 views

VScode: Show a prompt when loaded files are modified externally on disk

Which is the final outcome of the VScode [issue] #14298 (https://github.com/microsoft/vscode/issues/14298) ? Is it: "No, we will NOT issue a warning, if an external app modifies a VScode opened ...
0 votes
0 answers
96 views

I install a python package with "pip install opencv-python" and it gives me a warning in Ubuntu

The warning it gives me is this: WARNING: The scripts f2py, f2py3 and f2py3.10 are installed in '/home/minombre/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you ...

1
2 3 4 5
116