Cppcheck is stuck and has been in a progress - cppcheck

Cppcheck is stuck when scanning multiple files. How to solve it? The progress remains unchanged
enter image description here

Related

Skin lesion segmentation MaskRCNN error (bool index does not match)

i have a task of using MaskRCNN to do a skin lesion segmentation. I have my work on my github but i have an error on cell 22 when training the model.
https://github.com/leahcimali/Skin-cancer-segmentation/blob/main/Project%20Mask.ipynb
Knowing that the shape of my image is (128,128,3).
My code is based on this project, but i had to remove json description because we i download them, they get corrupted.
https://github.com/NeyoxDrago/Skin-lesion-detection-with-MRCNN
Thank, in advance for advice.
I tried installing different environment because some people with similar error had wrong environment setup. But everything i tried i got the same error. I even tried with the recommanded docker image on https://github.com/matterport/Mask_RCNN .

Wagtail Images Suddenly Not Rendering on Front End

I have just encountered an odd problem I'm trying to debug but cannot figure out what is wrong.
I have a wagtail site with images that were all working. At one point I refreshed the browser, and the images suddenly all disappeared from every page.
wagtailimages_tags is there
static is all loaded
the images are all in the correct media directory as specified and have been uploaded through the CMS
if i inspect element, the image is in fact coming through in the code perfectly.
But the site itself just does not show the image. I have checked the CSS and nothing has changed there and it is not hiding the image somehow.
My last resort - I actually started the project over completely in a new environment and added each application one by one to see if I could solve the issue ... nope. No images on the new install from scratch either!
No idea why all the images would suddenly just fail to appear in browser. Just seems super strange to me.
Any ideas on debugging appreciated.
Solved. The path to one of the js files had an extra /js in it and was not loading the file the page needed. The console showed and error and said it could not find /img.url - weird but the file in question where the error was found was the js file with the incorrect path.
This mistake caused every path to load perfectly but strategically blocked a few things globally that a little extra reading of the console would have helped me figure out sooner.
Fixed the .js file path and now all is good.

youtube-dl freezing whenever the folder is loading(?)

My youtube-dl keeps freezing/ stopping its download whenever my folders are loading(? not sure if that is the correct phrase for this), as shown here.
Every time this happens, I will need to restart my computer in order to fix this, is there anyway to solve this problem permanently.
I had tried going to properties of my Downloads folder, then go to customise and ticked the Also apply this template to all subfolders. And it seemed to have work currently, will be updated if the issues keep appearing.

How to show status of file loading in QT

I am loading a csv file using QFileDialog and displaying it on a qtableview . This loading process takes a lot of time. How do I indicate to the user that he has to wait till the file is getting loaded using qstatusbar or qprogressbar?
You can find an example of a working QProgressBar here. In the Qt forum, we had a great discussion about how to get it properly working. However, to be able to show the progress you need to know how many lines there are in the file. So far I have not found any other option than to read the whole file and count how many lines are there. This, getting the total number of lines in a file, was discussed in this stackoverflow topic. One option, if you are first generating this file and then reading it, is to add a header telling you how much information is there, then you will be able to do the QProgressDialog part.
I hope it helped!

Visual Studio C++ does not update new code after building

Before anything, I will first say that I've been looking everywhere for a solution to this problem for an hour now. There are many identical problems out there but none of the solutions help me.
I'm trying to debug a small project. When I started working on the project, I could place break points wherever I wanted and I would hit them. But for some reason, now when I place breakpoints outside of the main program (in a class definition, for example), the breakpoints hollow out while the code is running and I get a message saying the source code is different from the original version.
This led me to believe it was running a previous build, so I made an obvious change by having the code output some random letters "dajfhdjhfds";
I hit F7 as usual. Got a message saying Build: 1 succeeded. Hit F5, the program runs but does not display the random letters.
I clean my solution, then build and the changes show. I 'rebuild' the solution, and the changes show. The breakpoints also work.
But then if I make further changes, the breakpoints stop working and the changes don't appear in the program. Visual Studio is always running old code. I don't want to have to clean my solution every time I want to debug new code.
I've reset my settings, I checked off "build" in the configuration manager, I even started a whole new project and copied my code into new files. Same issue.
The problem resided in the fact that I copied the code from the original project into a brand new project saved elsewhere. When I tried to build the project in the new location it would always build it in the old location (Strange since I copied code directly into brand new files).
When I tried to run the files it would look for the built code in the new location. Therefore it would always get out of date code.
Problem can be fixed by putting the new code back in the old location!
Thanks everyone
I had this problem occur also, using WinForms. I was adding message boxes to test code and nothing was happening, only the pre-existing message boxes worked. I'm not sure 'exactly' how I fixed it, but after clicking "Build Solution", "Rebuild Solution", "Clean Solution" and "Build (program name)" all under the 'Build' menu the problem went away. Unlike the previous problems I had not copied+pasted any code between solutions.
I've started running into an identical problem and I think it all started when I re-created the project under a new name.
That is, I had to copy everything.
Problem is I don't know what DIDN'T get fully copied and is now responsible for requiring a rebuild to get my code changes. Checked the solution and project files in a text editor and no signs of the old folder structure.