Questions tagged [debugging]
A methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thereby making it more reliable
70 questions
2
votes
1
answer
211
views
QGIS Stuck during boot-up 'QGIS READY'
QGIS freezing during software boot-up, gets stuck on QGIS READY screen and then crashes.
I've deleted default user profiles, .ini etc and uninstalled / reinstalle and still having no luck.
When ...
1
vote
1
answer
188
views
QGIS 3.38.3 - 75min startup
QGIS on Windows 11 (Version 10.0.22631 Build 22631) was freezing on startup. It would run through the logo window and display "QGIS ready" - then freeze.
I deleted the user profile folders, ...
1
vote
0
answers
92
views
sampleRegions function returning an empty FeatureCollection
I first start by loading in Sentinel-2 data, filtering the date, and taking the median to produce a single image
COPERNICUS = ee.ImageCollection("COPERNICUS/S2_SR_HARMONIZED")
start_date = '...
0
votes
1
answer
434
views
Could not load file or assembly ArcGIS.Desktop.Core.XmlSerializers
I've upgraded ArcGIS Pro from 3.2 to 3.3. To adjust the AddIn I develop, I've upgraded it from .NET 6 to 8, and I made all necessary updates. Now, while running it, before ArcGIS Pro opens, I get the ...
0
votes
1
answer
152
views
QGIS incorrectly says a raster's max value is 0
This raster, 25.5mb uncompressed, 4.4kb compressed as 7z, has a min & max value both of 0:
However R says it has a max of 1:
And if I remove all the 0 values, there are 25 remaining values:
This ...
5
votes
1
answer
127
views
Print entire object in PyQGIS without being cut off with ellipsis
I am working in QGIS Python console (the editor to be more specific) and want to print an entire object using PyQGIS for debugging purposes. In my case it is a QgsGeometry, but I assume its the same ...
2
votes
1
answer
958
views
NNJoin plugin crash
I'm trying to run NNjoin plugin to compute nearest distance between my plot and buildings (urban) but I'm having this error :
Here are my files (maybe not projected yet but it should be in ESPG 23839)
...
1
vote
0
answers
373
views
How to preview PBF query results in the browser debugger?
Working with ArcGIS Maps SDK for JavaScript, I want a quick preview (in the browser debugger) of the results of a query. For example, when clicking on a polygon in the PopupTemplate sample, the ...
2
votes
0
answers
318
views
Mininum cluster size in QGIS ST-DBSCAN sometimes not applied correctly
I have 7 point vector layers which I am clustering as a batch in QGIS using the standard ST-DBSCAN tool.
On one instance, I formed two groups based on different minimum cluster sizes: 7 or 10. The ...
1
vote
1
answer
76
views
QGIS 3 incorrect rounding with QgsCoordinateFormatter.format()
I use QGIS 3.30.1 to format geographic coordinates.
At some precision values, the formatting result is not what I expected (it is wrong!).
Before writing a bug report, I would like to get a ...
0
votes
0
answers
89
views
Error exporting CSV file to drive from GEE
I am working on a project where I cross-classify several regions with each other. In other words: I train several classifiers on imagery from different regions and classify all images of all regions ...
0
votes
0
answers
62
views
Not getting any runtime errors from QGIS Plugin
I am working on developing QGIS plugin, but I don't get any errors (beside initial, for example when I try to import non existing class). My colleague gets window with error and message in Log Panel, ...
0
votes
1
answer
734
views
PyQGIS QgsMessageLog "NameError: name 'Qgis' is not defined"
I'm trying to debug a pyQGIS plugin, but can't get one of the Qthread working. I was told QgsMessageLog was the best way;
QgsMessageLog.logMessage("before simplify", "plugin", ...
1
vote
0
answers
63
views
"no data" result from raster calculator
Am trying to implement the following line in QGIS raster calculator:
("L@1" < 0) * ((1 - 16 * 200 / "L@1")^0.25) + ("L@1" >= 0) * 1
Basically, when L is less than ...
2
votes
0
answers
178
views
Debugging QGIS plugin using pdb
I typically use pdb for debugging. However, when I follow the docs for debugging with pdb, I get the error:
input(): lost sys.stdin
I'm developing my plugin straight out of the load directory:
%...