Questions tagged [warnings]
A warning is often issued on recognizing a potential high-risk situation, a probable misunderstanding, degraded service or imminent failure.
                                	
	warnings
    
                            
                        
                    
            5,862
            questions
        
        
            -1
            votes
        
        
            0
            answers
        
        
            20
            views
        
    Need assistance suppressing specific UserWarning in Python code execution
                I'm encountering a persistent "UserWarning" during the execution of my Python code and have been unable to suppress it despite trying various methods. I'd appreciate some guidance on ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            22
            views
        
    I want to avoid this warning: "Microsoft Office has identified a potential security concern"
                I'm following a hyperlink in Excel.  It comes up with the warning above, although the linked file is on my computer. I can override the warning and follow the link, but I want to avoid it.
I put the ...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            68
            views
        
    Angular NG0912 Warning: Component ID generation collision detected after upgrading to angular 17
                I recently upgraded my Angular project to version 17, and now I'm encountering many browser console warnings like the following messages.
NG0912: Component ID generation collision detected. Components ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            14
            views
        
    three js Twarning THREE.PropertyBinding: No target node found for track:
                i want to animate my model using react three fiber but my model dont move(i can see it in my scene though) and i get this warning:
what should i do ?(my gltf look like that
Object {scene: Group, ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            14
            views
        
    Google Warning: There is no deobfuscation file associated with this App Bundle
                I am still getting the warning from Google Play Store: "There is no deobfuscation file associated with this App Bundle.", having followed the instructions to deal with it.
My proguard-rules....
            
        
       
    
            -1
            votes
        
        
            1
            answer
        
        
            31
            views
        
    how to fix release testing warning with ad_id permission
                I am having kotlin android project and i have cleared all issues but I am having only one warning in play console as shown in below screenshot. pls help anyone to fix this issue. I have declared ad id ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            49
            views
        
    Getting wrong warning in Dart (possible bug), (The operand can't be null, so the condition is always 'true'.)
                Here is my Dart program:
void main() {
  bool? b;
  if(b==true){
    print('b is true');
  }else if(b==false){
    print('b is false');
  }else if(b==null){
    print('b is null');
  }else{
    print('...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            10
            views
        
    In Android Studio Hedgehog, how can I remove all the non error yellow and grey warning highlights from the scrollbar?
                In Android Studio Hedgehog flutter project, how can I remove all the non error yellow and grey warning highlights from the scrollbar? I have already set customize highlighting level to Syntax only
As ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            11
            views
        
    Python filter warnings to hide repetitions, even if the message changes
                The documentation for the warnings module states that the default action is:
print the first occurrence of matching warnings for each location (module + line number) where the warning is issued.
but ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            24
            views
        
    Why am I getting a warning about conflicting distribution on apt update and the system becomes unresponsive after apt upgrade
                Whenever I do some suggested operation from the GridDB docs followed by
sudo apt update
I get a warning as below:
W: Conflicting distribution: https://www.griddb.net/apt griddb/5.3 InRelease (expected ...
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            40
            views
        
    Warning: #1292 Truncated incorrect DECIMAL valu
                I have a problem with the following SQL script, where I received the warning "#1292 Truncated incorrect DECIMAL value".
All the fields are VARCHAR.
I tried with the cast in CHAR but nothing.
...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            30
            views
        
    How do fix the Warning:: " validateDOMNesting(...): <div> cannot appear as a descendant of <p> at div " when using react-simple-keyboard package?
                In my react application I use the react-simple-keyboard package to render the keyboard interface to user. When the component which uses the package renders to the DOM, Thefollowing errror appearing in ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            72
            views
        
    Extract array value using index stored in pandas dataframe
                I have a numpy array:
np.random.seed(123456)
a=np.random.randint(0,9, (5,5))
array([[1, 2, 1, 8, 0],
       [7, 4, 8, 4, 2],
       [6, 6, 7, 2, 6],
       [2, 4, 4, 7, 4],
       [4, 4, 5, 1, 7]])
...
            
        
       
    
            -1
            votes
        
        
            0
            answers
        
        
            15
            views
        
    Warning message (foreach() ) when disable a woo payement(cod) on product category
                I use a php code (see bellow) in my function.PHP file to disable a woocommerce payement methode (cod) on a specific product category. It's working fine but I got a warning message on my checkout page ...
            
        
       
    
            -1
            votes
        
        
            1
            answer
        
        
            53
            views
        
    VHDL/GHDL: Why does port name hide entity?
                I'm using GHDL v3.0.0 as a VHDL simulator, but I'm getting a warning I don't understand
In short, with this entity:
entity GSR is
    port ( gsr: in std_ulogic);
end GSR;
I get this warning:
mock.vhd:...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            14
            views
        
    Literal carriage return. Run script through tr -d '\r' [duplicate]
                I'm executing a simple Bash Script and I got this warning on Visual Studio Code.
Literal carriage return. Run script through tr -d '\r'
I'm not sure if I must install an extension to solve it or it's ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            3
            views
        
    Googleworkspace Warning when sending to group mail including external addresses
                We are using Google workspace and have some group mail including external email addresses.
The domain of the group mail is the same as our organisation.
Is it possible to get warning when we mail to ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            51
            views
        
    "Prototype mismatch" warning with Test2::Mock
                Running the following code:
#!/usr/bin/env perl
use 5.038;
use Test2::Mock;
use Time::HiRes;
my($mock) = Test2::Mock->new(
    class => 'Time::HiRes',
    override => [
        ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            556
            views
        
    React, Vite, Console Third-party cookie will be blocked. Learn more in the Issues tab
                I found the similar question but it is not enough context, so i create a new one.
I'm using React v17 and vite v5.
I'm gettting this warning
"Third-party cookie will be blocked. Learn more in ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            16
            views
        
    Problems while installing packages ggbrace
                I am having trouble with run/install ggbrace. This is the error I am visualizing:
  'rlang' package opened successfully with MD5 somme check
    Warning: can't remove a previous installation of ...
            
        
       
    
            2
            votes
        
        
            0
            answers
        
        
            46
            views
        
    Initialize vector of variants results in long list of warnings
                I wrote some code and with optimizer -O2 I got a lot of warnings while running with -O3 is silent! Also gcc trunk ( godbolt) compiles without warnings. Compiler/library bug or simply my code is wrong?
...
            
        
       
    
            2
            votes
        
        
            2
            answers
        
        
            77
            views
        
    warning: array subscript has type ‘char’ [-Wchar-subscripts] in C
                I have a base64 encoding and decoding implementation in C. I didn't make it, I just copied it.
When I compile it with this command ...
gcc -Wall -g -c main.c
... it's emitting these warnings:
source/...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            26
            views
        
    Error in model.matrix.default(random, data = a) : model frame and formula mismatch in model.matrix() using "mixcat" package and "npmlt()" command
                I am trying to run a Mixed Effect Multinomial Logistic Regression Model in R using mixcat package and npmlt() command. Two random effects (participant id ("id" and day ("tag") ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            47
            views
        
    Which module to specify in Python's filterwarnings()?
                Which module should I specify in the call to warnings.filterwarnings()? It does not seem to be the module where the warn() was issued, certainly not with imported third-party modules.
My concrete case:...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            41
            views
        
    How to remove WARN in react native terminal
                I want to remove WARN inside react native terminal.
Tried this https://reactnavigation.org/docs/5.x/troubleshooting/
import { LogBox } from 'react-native';
LogBox.ignoreLogs([
  'Non-serializable ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            119
            views
        
    Spring Boot Warn, when launching service - "Bean'org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration'"
                After migrating Spring Boot version from 2.7.14 to 3.2.2 I get a warning when I start the service.
WARN [info-service,,]" 50964 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org....
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            30
            views
        
    understanding the difference between Wnarrowing and Wconversion [duplicate]
                The following code in my opinion is a narrowing conversion:
#include <memory>
#include <iostream>
#include <math.h>
void f1(int32_t i) {
  std::cout << i << "\n&...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            55
            views
        
    Clang invalid -Wfor-loop-analysis
                Clang (version 17.0.6) complains:
warning: variable 'i' used in loop condition not modified in loop body [-Wfor-loop-analysis]
on this code:
int i = 0;
auto add = [&]
    {
        cout << i;...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            29
            views
        
    When install opencv on jetson nano, get -Wsuggest-override warning
                I use jetson nano developer kit 4 gb with default version ubuntu 18.04. When ı install openCV version 4.6.0:
firstly, ı do this steps,
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            19
            views
        
    Remove node warning (Warning: Closing directory handle on garbage collection)
                I want to get rid of this warning, but i didn't find anything on the net and closing the directory gives directory closed error.
Warning: Closing directory handle on garbage collection
If i close ...
            
        
       
    
            2
            votes
        
        
            0
            answers
        
        
            22
            views
        
    Can I make IDEA show a hint to use a Kotlin extension function instead of a Java original?
                Consider this example of a fictive old Java library, which I can't change but want to adapt for my Kotlin projects.
public final class SomeOldJavaClass {
    private SomeOldJavaClass() { }
    public ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            11
            views
        
    When Importing typescript module into js, how to suppress typescript warnings?
                I am using the https://github.com/rouftom/react-mui-fileuploader module for file uploads.  My code is in javascript and this module is written in typescript.   Intellij however is complaining about ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            31
            views
        
    When the "Warning message: Unknown or uninitialised column" should really be an error
                I have repeatedly encountered a situation where I had made a mistake in the names of the column names, but instead a creating an error message when I used that column, R set the value of the (non-...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            33
            views
        
    Integration in Octave between float point
                I am trying to calculate the integral between two float points. The programm can do it, but it sends this next messagge
warning: passing floating-point values to sym is dangerous, see "help sym&...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            28
            views
        
    Detecting Warnings from new FontFace.load() / document.fonts.add()
                I am building an electron app that allows users to provide paths to local font files. Sometimes warnings are cast when loading these font files dynamically, in which case the local fonts are not ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            12
            views
        
    How do I eliminate the SettingWithCopyWarning while working with pandas dataframe [duplicate]
                I am using the following code:
import pandas as pd
import datetime as dt
from pathlib import Path
#%% Specify the path and load the data
path = Path('./../')
# Load the data
data = pd.read_csv(path /...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            122
            views
        
    How to tell clang-tidy to ignore some headers?
                I have some C++ header files in a project that trigger clang-tidy warnings.
For various reasons I cannot edit those files (to fix the warnings or to //NOLINT them) at this time, but I would still like ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            15
            views
        
    How to avoid "'do/while/for' statement does not loop" warnings when attempting to always execute a call when exiting it?
                I'm developing some Test scripts that always log a all of the successes/failures of the Testcase steps up to that point to my Test app of choice (and end the test as soon as there's a failure). So I ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            50
            views
        
    doxygen source /test is not a readable file or directory... skipping
                I'm getting a warning while compiling my documentation using Doxygen: source /test is not a readable file or directory... skipping., test folder is inside my package, and contains some .cpp files.
...
            
        
       
    
            1
            vote
        
        
            2
            answers
        
        
            131
            views
        
    Using JGrasp - Updated my Java Version to 21.0.2 and receiving Warning about: Java executable
                This is the message I see:
Warning: Java executable C:\Program Files\Java\jdk-21/bin/javaw.exe , that came from startup settings registry item, is not a recognized Java installation
Upon presenting ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            69
            views
        
    Remote Interpreter Reinitialized
                Every time i run a Python program in PyScripter I get this message - "Remote Interpreter Reinitialized". Though the program runs fine but I don't understand the meaning of this message.
What ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            54
            views
        
    Variance calculation warning: longer object length is not a multiple
                I'm getting this warning after checking the variance components of my model. I don't have NA's and the warning goes away when I remove this s(CYR.std, fSite, bs = "fs") term. Is it possibly ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            27
            views
        
    Warning message when build or deploy angular project with firebase
                I got the message below: When I deploy or build an angular project, how do I fix it?
mohammedalfadhel@Mohammeds-Mac-mini app % ng build --configuration production
⠋ Building...
▲ [WARNING] Module '@...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            42
            views
        
    fixing the warning message "Name 'something' can be undefined"
                i just started learning to code with python and i wanted to create a program that repeatedly reads integers until the user enters “done”. Once “done” is entered i wanted the program to print out the ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            23
            views
        
    what is this warning from VirtualizedList in react native I get?
                I build an app with react native expo and I have 2 tabs (home & search) and 1 flatList who get data from youtube api (for rendering youtube videos) and everytime I switch between the tabs I get ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            266
            views
        
    Numpy overflow warning when when subtracting 1 from 2**31 but not from numpy.power(2,31) when storing the results in int32 [duplicate]
                This might be a little nitty gritty, but I would like to know this behavior of Numpy in more detail (numpy version 1.26.3).
I encountered this when programming a simple Park and Miller random number ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            51
            views
        
    Standard way to convert errors into warnings?
                I've got this snippet of code, which converts certain Exceptions into nonfatal RuntimeWarnings:
    ...
    for f in filter(_tty_check, [sys.stderr, sys.stdout, sys.stdin]):
      cur_encoding = ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            16
            views
        
    Non-breaking runtime issues and warnings handling
                I am writing an application that performs physics simulations based on user input data. Although data is validated before beginning simulation, some issues might reveal themselves during simulation, ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            85
            views
        
    Disable warnings from base module + load Moose/Test2::V0
                In our app we have a common base module that enables strict, warnings and some other pragmas for every file that it used from. It also enables signatures and disables the warning about signatures ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            73
            views
        
    In SwiftUI, what's causing "Unable to simultaneously satisfy constraints" trace?
                The following app shows the above trace in the Xcode's output console:
import SwiftUI
@main
struct TestApp: App {
    @State var isPresented = true
    var body: some Scene {
        WindowGroup {
  ...