Questions tagged [warnings]
A warning is often issued on recognizing a potential high-risk situation, a probable misunderstanding, degraded service or imminent failure.
                                	
	warnings
    
                            
                        
                    
            1,463
            questions with no upvoted or accepted answers
        
        
            49
            votes
        
        
            0
            answers
        
        
            7k
            views
        
    SwiftUI UITableView was told to layout its visible cells and other contents without in view hierarchy
                I have a list in a view (lets call it view A) where I push a view B via NavigationLink from view A and manipulate the CurrentSubjectValue to the initial view A. The moment the data is added and the ...
            
        
       
    
            14
            votes
        
        
            1
            answer
        
        
            796
            views
        
    Identifying culprits for numerous XA0106 warnings when building Xamarin.Forms app on Android
                We have a Xamarin.Forms application which uses quite a few packages.
When building, we're getting hundreds of XA0106 warnings like this one:
  /Library/Frameworks/Mono.framework/External/xbuild/...
            
        
       
    
            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:...
            
        
       
    
            11
            votes
        
        
            0
            answers
        
        
            833
            views
        
    How to suppress linker warnings in Xcode
                I get annoying warnings like shown below and want to suppress them.
warning: (arm64)  could not find object file symbol for symbol _ff_h264_idct_add_neon
My app uses CocoaPods for its dependencies ...
            
        
       
    
            10
            votes
        
        
            2
            answers
        
        
            5k
            views
        
    How to suppress warnings with ggrepel
                ggrepel allows to avoid overlapping text labels by repeling labels too near from each other.
The algorithm depends on viewing window size, and a callback occurs when window size is changed.
If the ...
            
        
       
    
            10
            votes
        
        
            0
            answers
        
        
            7k
            views
        
    How to make "cc1plus: error: unrecognized command line option" a warnings with -Werror?
                I have a project that is using gcc 4.6.3, and am trying to migrate to 4.8.2. However, it needs to compile on 4.6 for a while. It is using -Werror with a few specific errors turned off. To use boost 1....
            
        
       
    
            9
            votes
        
        
            0
            answers
        
        
            602
            views
        
    Xcode 11 - ld warning about building for iOS but object file built for free standing
                I have a moderate-sized project that's been building for a long time with no warnings. Today I updated to Xcode 11, and suddenly I'm getting hundreds of warnings that look like:
ld: warning: building ...
            
        
       
    
            9
            votes
        
        
            2
            answers
        
        
            12k
            views
        
    Warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
                I have a project that is linking to an external .lib (libprotobuf.lib).  When I compile in release, there are no warnings. When I compile in debug though, I receive this warning:
warning LNK4075: ...
            
        
       
    
            8
            votes
        
        
            0
            answers
        
        
            3k
            views
        
    Pytorch show source of/handle CUDA warnings for deallocation and tensor release
                I am running some parallel workers using Pytorch, CUDA, and torch.multiprocessing (torch.mp), with info being passed around with torch.mp Queues, Pipes, and shared_memory as appropriate. Everything ...
            
        
       
    
            8
            votes
        
        
            0
            answers
        
        
            1k
            views
        
    Warning Messages when downloading packages from Github - untar2
                Whenever I download a package from github and a few other packages, I get this warning message: 
Warning messages:
1: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
2:...
            
        
       
    
            8
            votes
        
        
            0
            answers
        
        
            688
            views
        
    Suppress Linker Warning "object file ... was built for newer OSX version than being linked
                Is there a clang linker flag to suppress this particular warning? I am using a third party static library that won't compile under the deployment targets version. I am aware of the importance of this ...
            
        
       
    
            8
            votes
        
        
            0
            answers
        
        
            2k
            views
        
    spark warning "block locks were not released by tid" leads to poor performance
                I'm trying to demonstrate a simple clustering algorithm. Let's say I find k items on my rdd that represent a cluster for me. The problem is when I try to take() them to the driver, I get a warning ...
            
        
       
    
            8
            votes
        
        
            0
            answers
        
        
            4k
            views
        
    This Handler class should be static or leaks might occur:AsyncQueryHandler
                Handler reference leaks  Since this Handler is declared as an inner class, it may prevent the outer class from being garbage collected. If the Handler is using a Looper or MessageQueue for a thread ...
            
        
       
    
            7
            votes
        
        
            0
            answers
        
        
            1k
            views
        
    Expected type 'Mapped[bool | None]', got 'bool' instead - IDE Warning transition to SQLAlchemy 2.0 Declarative style
                I'm working on transitioning the database portion of project from SQLAlchemy 1.4 to 2.0. I'm trying to use the Mapped class and mapped_column format recommended in the new version (rather than the ...
            
        
       
    
            7
            votes
        
        
            0
            answers
        
        
            5k
            views
        
    W/libEGL: EGLNativeWindowType disconnect failed
                I am seeing tons of warnings in my Android logcats of the form
 W/libEGL: EGLNativeWindowType 0x72543469d0 disconnect failed
without further explanation. Why is this? Did not find anything useful on ...
            
        
       
    
            7
            votes
        
        
            0
            answers
        
        
            2k
            views
        
    CMake ExternalProject_Add ignore dependency's cmake warnings
                One of the libraries I'm using is giving a cmake warning for the developers of it. I'm trying to suppress that warning in my ExternalProject_Add with -Wno-dev
I tried setting it at:
CMAKE_ARGS 
...
            
        
       
    
            7
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    How to suppress PEP440Warning from setup.py?
                I am running python setup.py or python3 setup.py which gives me PEP440Warning's for unrelated packages I am not going to fix:
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:2512: ...
            
        
       
    
            7
            votes
        
        
            1
            answer
        
        
            4k
            views
        
    Jersey warning - Not resolvable to a concrete type
                I am using Jersey 1.19 for Rest APIs. One of my resources class has a setter method as follow:
private Registrar<String, EventBatchDeserializer<?>> versionedDeserializer;
public void ...
            
        
       
    
            7
            votes
        
        
            0
            answers
        
        
            420
            views
        
    remove Core Data Warnings for older models
                I am fixing a core data model.
I create a new model version, and fix all the conditions that are causing warnings.
I am still getting warnings for the older model versions though.
I am looking for ...
            
        
       
    
            6
            votes
        
        
            0
            answers
        
        
            739
            views
        
    Azure DevOps: How to eliminate the warning "Tags set for the trigger didn't match the pipeline" in Azure DevOps?
                I have two Azure DevOps pipelines set up so that the completion of Pipeline One triggers Pipeline Two. It works fine, but it generates an unnecessary error message.
All recent Pipeline Two builds are ...
            
        
       
    
            6
            votes
        
        
            2
            answers
        
        
            828
            views
        
    What does the PyTables warning "a closed node found in the registry" mean?
                When using pandas.to_hdf function to save data to a HDF5 file, I'm getting the following warning:
C:\{my path to conda environment}\lib\site-packages\tables\file.py:426: 
UserWarning: a closed node ...
            
        
       
    
            6
            votes
        
        
            2
            answers
        
        
            10k
            views
        
    Python Warning - Expected type 'Union[Integral, slice]', got 'str' instead
                My code below in python is giving me a warning on the line: 
 some_new_object['someVar'] = cd['someVar']
The warning is
Expected type 'Union[Integral, slice]', got 'str' instead
Code:
def ...
            
        
       
    
            6
            votes
        
        
            0
            answers
        
        
            6k
            views
        
    numpy.linalg.det gives warning "invalid value encountered in det r = _umath_linalg.det(a, signature=signature)"
                numpy.linalg.det is rasing some warning I dont understand. this does not happen every time, but it is raised with my example code below.
  warning: "RuntimeWarning: invalid value encountered in det r ...
            
        
       
    
            6
            votes
        
        
            1
            answer
        
        
            4k
            views
        
    HBase "Failed to identify the fs of dir"
                I'm developing HBase Client with Java.
Here, my developing environment:
  HBase 1.0.1.1 with standalone mode
  
  Java 1.7.0_85
  
  test.jar file which is tied all library files provided by HBase ...
            
        
       
    
            6
            votes
        
        
            0
            answers
        
        
            979
            views
        
    KitKat ART-build warning
                I have an application that runs perfectly with KitKat 4.4.2 and the ART-build, however I get a warning when swiping between my fragments. I have Tabs+Viewpager using ActionBarSherlock:
    01-13 14:...
            
        
       
    
            6
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    g++: Disable specific "deprecated or antiquated header" how?
                We're using g++ 4.4.3, and one of our third-party libraries is causing the lovely error
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one ...
            
        
       
    
            6
            votes
        
        
            1
            answer
        
        
            3k
            views
        
    LightGBM ignore warning about "boost_from_average"
                I use LightGBM model (version 2.2.1). It shows next warning on train:
  [LightGBM] [Warning] Starting from the 2.1.2 version, default value
  for the "boost_from_average" parameter in "binary" ...
            
        
       
    
            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 ...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            674
            views
        
    Print / log Jenkins (Vulnerarbility / Plugin) Warnings
                Is there a way to get all Vulnerability / Security / Plugin - Warnings that you can see in the Jenkins-Master-Webgui and print them in your terminal? 
I need a groovy-script that prints all warning ...
            
        
       
    
            5
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    Unresolved attribute reference "predict()" using scikit-learn in Pycharm
                When using a decision tree classifier from scikit-learn, the docs show you reassigning the variable storing the classifier to the output of itself calling the fit() method:
clf = tree....
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            2k
            views
        
    Capture Warnings in R
                I'd like to capture warnings in R to a file and then have the normal warning code take over.  Specifically, I'm wanting to log all errors and warnings to one or two files.  For errors, I can make it ...
            
        
       
    
            5
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    Why is file_put_contents() sometimes throwing a "No error" error?
                Why does this code sometimes give a No such file or directory warning but other times a No error warning;
<?php
file_put_contents('*bad*', 'hello world');    // Trigger illegal filename.
?>
...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            183
            views
        
    How can I set the output path of a vc++ project different than its dependencies (nuget)?
                Premise
I have a Visual Studio 2015 solution containing different VC++ projects.
Some of them (EXE and some DLLs) have the $OutDir set to default "$(SolutionDir)$(Configuration)\" (i.e. "C:\MySolution\...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            350
            views
        
    How to disable warnings in specific location?
                To disable warnings in all files, i'm using following precompiler header:
#ifndef PrefixHeader_pch
#define PrefixHeader_pch
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
#pragma ...
            
        
       
    
            5
            votes
        
        
            2
            answers
        
        
            320
            views
        
    Java latest update security pop up
                How should I remove the security pop up from developer side? I don't want the user to keep clicking "don't block". I have all my *.jar file signed. Any help?
and if I have click more information
...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            405
            views
        
    Runtime dynamic linker warning on Mac OS X when linking to both GameKit and StoreKit frameworks
                Using Mac OS X 10.8.2 and Xcode 4.5.2 if you create a new Mac OS X Cocoa application then add links to the GameKit and StoreKit frameworks you get the following warning on application startup:
objc[...
            
        
       
    
            5
            votes
        
        
            1
            answer
        
        
            5k
            views
        
    This Handler class should be static or leaks might occur
                I have a very simple code:
package com.example.conn08;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
public ...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            889
            views
        
    Webcore NSBeep() in console when debugging an iOS App?
                While I'm running my iOS 6 app on the iPhone I get this weird message in the console.
Webcore NSBeep() 
I read in other posts that this NSBeep doensn't even exist in iOS. Beside I'm not using ...
            
        
       
    
            5
            votes
        
        
            1
            answer
        
        
            1k
            views
        
    How do I pass multiple warning filters to python -W?
                According to the Python documentation, I can pass multiple warning filters:
  When listing multiple filters on a single line (as for PYTHONWARNINGS), the individual filters are separated by commas
...
            
        
       
    
            5
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    Kubernetes error syncing pod
                I installed Kubernetes, but in the creation of pod reported a mistake, I do not know where the problem is, I hope you can help me
I use centos7, use yum to install Kubernetes.
[root@k8s-master ~]# ...
            
        
       
    
            5
            votes
        
        
            2
            answers
        
        
            3k
            views
        
    Suppress warnings for missing @Override annotation in Eclipse
                I have warnings for the missing @Override annotation enabled by default in Eclipse, but for a couple of classes I'd rather have it disabled.
Is there a way to do this? Intuitively one would expect ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            267
            views
        
    Hide/Remove Permission-Policy header warnings in chrome
                We have added new permission policies in our application's web.xml file. Since then, we've been watching these warnings in google chrome's (MS Edge as well) console. Also, this is not visible in ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            841
            views
        
    Bean validation javax.validation gives javax.persistence.spi::No valid providers found. log message
                Following example code prints out the warning
import javax.validation.ConstraintViolation;
import javax.validation.ConstraintViolationException;
import javax.validation.Validation;
import javax....
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            977
            views
        
    How to suppress GCC warnings that take arguments?
                I'd like to suppress the warning Wstringop-overflow in a specific file, and I've tried to do so as follows
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-overflow"
......
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            112
            views
        
    bogus warning for constexpr if with function pointer template parameter
                I always get a mysterious warning if I compile the following code:
template < void(*FUNC)() >
struct Bla
{
    static void Do()
    {
        if constexpr ( FUNC != nullptr )// << compiler ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            543
            views
        
    How to suppress not traditional warnings in R Console for Shiny
                I have an R Shiny app. And I am making predictions from 10k xgboost models in the app. And the R console will show such error each time I make a prediction from a single model:
[23:13:24] WARNING: ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            753
            views
        
    Information about "Warning: no DISPLAY variable so Tk is not available" in shinyapps.io logs
                I have deployed my shinyapp online and I am constantly checking my logs for possible problems.
A warning message that often appears when some users connect to the platform is the following:
Warning: ...
            
        
       
    
            4
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    How to fix warnings okhttp and samsung spass sdk?
                I am writing an application using okhttp and samsung spass sdk. When I generate apk release using proguard, I get the warnings. 
Missing class: org.conscrypt.ConscryptHostnameVerifier
Missingclass:...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            3k
            views
        
    How to fix "[WARNING]: Timed out connecting to Chrome, retrying..."
                Recently we have added another test agent to run our automated selenium tests on Azure DevOps, and this warning has been appearing in the testAssemblies logs.
"[1559090506.462][WARNING]: Timed ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            145
            views
        
    How to control `warnings` for imported modules?
                In Python 3.7, I'm using the warnings module with the warning filter set to 'always'. This is not, however, reflected in a submodule I'm importing.
Is there a way to control the warning level across ...