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,864
            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 ...
            
        
       
    
            18
            votes
        
        
            2
            answers
        
        
            6k
            views
        
    SolidJS: "computations created outside a `createRoot` or `render` will never be disposed" messages in the console log
                When working on a SolidJS project you might start seeing the following warning message in your JS console:
computations created outside a  `createRoot`  or `render` will never be disposed
There are ...
            
        
       
    
            195
            votes
        
        
            7
            answers
        
        
            124k
            views
        
    How to show a MySQL warning that just happened?
                I just ran a simple MySQL CREATE TABLE statement that produced the line
  "Query OK, 0 rows affected, 1 warning (0.07 sec)."  
It didn't actually show me what the warning was, though.  How can you ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            1k
            views
        
    Makefile warning: pattern recipe did not update peer target
                Background:
We have a Makefile that sits in the middle of a dev-ops pipeline that does things in unusual ways, for legacy reasons not worth describing. This has worked fine for years, but upon ...
            
        
       
    
            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 ...
            
        
       
    
            2
            votes
        
        
            3
            answers
        
        
            10k
            views
        
    Potentially uninitialized local variable used? Why?
                When I write this code and compile with /W4
long r;
__try { r = 0; }
__finally { }
return r;
I get:
warning C4701: potentially uninitialized local variable 'r' used
Why does this happen?
Edit (in ...
            
        
       
    
            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('...
            
        
       
    
            -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 ...
            
        
       
    
            7
            votes
        
        
            3
            answers
        
        
            1k
            views
        
    How do I assign a stacklevel to a Warning depending on the caller?
                I have a Python class that issues a warning inside __init__(). It also provides a factory class method for opening and reading a file:
from warnings import warn
class MyWarning(Warning):
    """...
            
        
       
    
            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, ...
            
        
       
    
            86
            votes
        
        
            10
            answers
        
        
            100k
            views
        
    Vue 3 passing array warning: Extraneous non-props attributes were passed to component but could not be automatically inherited
                please, I'm learning a VueJS 3 and I have probably begineer problem. I have warn in browser developer console like this one:
The Message is:
[Vue warn]: Extraneous non-props attributes (class) were ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            3k
            views
        
    Where does `QFSFileEngine::open: No file name specified` come from?
                I'm taking a look in a Qt project codebase, it's big enought I can't find from where the following is comming from.
QFSFileEngine::open: No file name specified
So far I tried two approaches:
I tried ...
            
        
       
    
            23
            votes
        
        
            5
            answers
        
        
            25k
            views
        
    Play Store Warning : play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical issues with version 17.0.0
                I got this warning from play store when I was trying to update my Flutter on play store.
The developer of play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical ...
            
        
       
    
            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....
            
        
       
    
            230
            votes
        
        
            8
            answers
        
        
            168k
            views
        
    In Python, how does one catch warnings as if they were exceptions?
                A third-party library (written in C) that I use in my python code is issuing warnings. I want to be able to use the try except syntax to properly handle these warnings. Is there a way to do this?
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            4k
            views
        
    App Bundle contains native code google play warning
                I got this warning when I was publishing my app
This App Bundle contains native code, and you've not uploaded debug symbols. We recommend that you upload a symbol file to make your crashes and ANRs ...
            
        
       
    
            28
            votes
        
        
            5
            answers
        
        
            10k
            views
        
    How can I make silent exceptions louder in tkinter?
                If I run the following code from a terminal, I get a helpful error message in the terminal:
import Tkinter as tk
master = tk.Tk()
def callback():
    raise UserWarning("Exception!")
b = tk.Button(...
            
        
       
    
            12
            votes
        
        
            5
            answers
        
        
            42k
            views
        
    InputConnectionWrapper warning
                I get an InputConnectionWrapper warning everytime I turn off the screen when my app is visible. I don't know why, because I don't use InputConnection. 
Here is the LogCat Output. 
09-07 14:21:31.716:...
            
        
       
    
            0
            votes
        
        
            3
            answers
        
        
            2k
            views
        
    How to remove Visual Studio 'IDE' warnings for a Unity project?
                I've been trying to get rid off IDE warnings for a Unity project:
While csc.rsp works for CS warnings, it doesn't for IDE warnings:
-nowarn:CS0649,IDE0063,IDE0071
Question:
How to remove IDE ...
            
        
       
    
            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 ...
            
        
       
    
            54
            votes
        
        
            9
            answers
        
        
            57k
            views
        
    WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree
                Hello there I am getting some error in my terminal and its say i need to use 4.4.0 version and my current version is ...
In my project my current typescript version is given below,
    "...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    What is a "this-escape" warning, and how do I deal with it?
                I struggle to find resources on this, and yet, so many of my classes are running into this error when I compile my code on the latest Java (21).
Here is a code example.
public class ThisEscapeExample
{...
            
        
       
    
            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 ...
            
        
       
    
            70
            votes
        
        
            3
            answers
        
        
            42k
            views
        
    Is there any way to show, or throw, a PHP warning?
                I have a select() method in a database class, that has an optional boolean argument $sum. This argument is used to say if the method should use COUNT(*) or not too.
I would like to show a warning, ...
            
        
       
    
            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
        
        
            1
            answer
        
        
            668
            views
        
    Angular, Transloco, Jest Unit Testing Warning
                I have an Angular project.
inputValidatorsParamMap: Map<string, ValidationParams> = new Map([
  [
    'noMoreThan100Symbols',
    {
      regex: /^.{0,100}$/,
      message: this....
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            15k
            views
        
    Recompile with -Xlint : unchecked for details
                Hi guys I have this warning on my code. I try to compile using 
  @SuppressWarnings("unchecked")
It compile but at the time of the execution the program can't find the main class.
How can I solve ...
            
        
       
    
            12
            votes
        
        
            3
            answers
        
        
            45k
            views
        
    How to fix Statsmodel warning: "Maximum no. of iterations has exceeded"
                I am using Anaconda and I am trying logistic regression. After loading training data set and performed the regression. Then I got the following warning message. 
train_cols = data.columns[1:]
logit = ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            1k
            views
        
    Warning: Explicit integral could not be found.
                I am trying to do a simple integration, I have attached the code. Could you please help me as in what am I doing wrong in the code.
function [f_value] = SurfArea ()
        a=[1.78E-05 3.39E-04 0....
            
        
       
    
            2
            votes
        
        
            6
            answers
        
        
            5k
            views
        
    What is causing the warning "Unexpected Fiber popped" in my React application?
                In a fairly complex application, I made some changes related to refs and suddenly started seeing this warning.
Even though it's a warning, it's breaking my application.
I'm using React 16.3.0 with a ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            1k
            views
        
    How can I treat implicit function declarations as errors with CMake?
                I get a warning like below:
[build] ../mycode.c: In function ‘time_start’:
[build] ../mycode.c:48:21: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
[build] ...
            
        
       
    
            -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
        
        
            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 ...
            
        
       
    
            14
            votes
        
        
            2
            answers
        
        
            17k
            views
        
    Pandas 2.1.0 FutureWarning: Series.__getitem__ treating keys as positions is deprecated
                I'm having an issue with Pandas v2.1.0+ that I can't figure out.
I have a list of columns in my pandas data frame that I need to convert using a custom function.  The new values depend on multiple ...
            
        
       
    
            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
            vote
        
        
            5
            answers
        
        
            11k
            views
        
    Warning: Error creating LLDB target at some path
                I'm running an application on Xcode 6.1 and iPhone (iOS 8.1) simulator. While running I'm getting below log on console window :
Warning: Error creating LLDB target at path '/Users/macbook/Library/...
            
        
       
    
            11
            votes
        
        
            3
            answers
        
        
            23k
            views
        
    PHP Warning ZipArchive::extractTo(): Permission denied
                I created an application, which using method extractTo() in class ZipArchive (standard in php) and I tested it on my localhost apache server on Windows 7 without any problem. But after I tried it on ...
            
        
       
    
            109
            votes
        
        
            11
            answers
        
        
            66k
            views
        
    Disable warning in IntelliJ for one line
                I have a Java code line where IntelliJ displays a warning. How do I silence the warning in that particular line, without affecting warnings displayed in other lines?
In this question it's irrelevant ...
            
        
       
    
            -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 ...
            
        
       
    
            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
        
        
            1
            answer
        
        
            9k
            views
        
    Right hand operand of '&&' or '||' is an expression with possible side effects
                Code statement look like below: 
if((temp1 == ID1) || (temp2 == (C_UINT16) ID2))
{
}
I am not sure why QAC is generating this warning. What will be the side effect & how to avoid this warning. 
...
            
        
       
    
            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 ...
            
        
       
    
            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&...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            195
            views
        
    Why is a warning is thrown when running a piece of code using php-cli, but a warning is not thrown when running the exact same code using PHPUnit?
                I have some code that I run via a normal file using the php cli and phpunit.
What baffles me is that the code should throw a warning during execution, but it never throws the warning in PHPUnit.
...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            194
            views
        
    Persistent warning when using play command of DisTube
                My code's working but I keep getting the same warning which is :
WARNING: @distube/ytsr is out of date! Update with "npm install
@distube/ytsr@latest".
I tried installing @distube/ytsr@...
            
        
       
    
            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 => [
        ...
            
        
       
    
            26
            votes
        
        
            4
            answers
        
        
            5k
            views
        
    Trace source of deprecation warnings in rails tests
                When running my functional tests, I'm getting the following warning in one of the test cases but I can't pinpoint where it's coming from:
gems/actionpack-2.3.8/lib/action_controller/record_identifier....
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            53
            views
        
    How to hide the specific warning hint from vim plug ALE supported by clangd in cpp file?
                Problem Details:
I download the clangd for vim plug ALU to support the cpp syntax autocompletion, but in C++ code, there is a warning message that always appears as below:
'new' of type 'Vmux41' with ...