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

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

ArcPy script causes Python crash when run outside of ArcGIS Python window

I have a Python script that will successfully complete when run from the Python window in ArcMap or ArcCatalog, however, when I run as a standalone it will cause python.exe stopped working crash once ...
0
votes
0answers
71 views

QGIS 3.8 could not start ''Qgis_app.dll is missing'' check runtime environment check C:\OSGEO4W64\bin\qgis-dev-bin-g.exe

I had Qgis 3.4 running well on my PC Windows 10, 64 bit. I tried to upgrade to Qgis 3.8 Zanzibar and I had the error message: ''Qgis_app.dll is missing check runtime environment check C:\OSGEO4W64\bin\...
1
vote
1answer
49 views

Debug QGIS3 plugin with Visual Studio Code

I would like debug QGIS plugin using Visual Studio Code. I have Win10 and QGIS 3.4.4. I followed the instructions written in these two sites: How to setup QGIS 3 and Visual Studio Code plugin ...
0
votes
0answers
61 views

Debugging error with QGIS 3.8

I am writing a standalone application on QGIS3.8. The environment is as follows: @echo off SET OSGEO4W_ROOT=C:\OSGeo4W64 SET QGIS=%OSGEO4W_ROOT%\apps\qgis SET QGIS_PREFIX_PATH=%OSGEO4W_ROOT%\apps\...
1
vote
1answer
24 views

Measure loading time of layers in Mapserver

I use mapserver to generate one single tile per request. The mapfile contains several layers and I would like to know which of them is the bottleneck that needs too much time to render. WIth shp2img I ...
1
vote
1answer
33 views

Number converted to dictionary in Earth Engine

When reducing an image to number on it's geographical coordinates, the code does return a number, which is what should happen. var accum = ETo.reduce(ee.Reducer.sum()); var accumNum = accum....
1
vote
1answer
61 views

Update QGIS Canvas while debugging

I am upgrading some QGIS 2 plugins to QGIS 3 and need to do some debugging. It appears that the canvas does not update until the code stops running, regardless of any calls to self.iface.mapCanvas()....
1
vote
2answers
18 views

ArcPy error handling within a C# wrapper

I'm running arcPy commands from a C# script i.e. RunPythonScript("arcpy.Delete_management(\"C:\\\\Temp\\\\NW\\\\land.gdb\", \"Table\")"); private static void RunPythonScript(string script) { ...
0
votes
0answers
72 views

Developing and desirably debugging pygis-3 processing scripts?

The writing of processing scripts in QGIS3 changed substantially. On the basis of many tutorials/blog posts and answers on this site I got a running processing script in QGIS3. But it was, for a lousy ...
0
votes
0answers
12 views

IDL Workbench - error in comment line

I am working with IDL workbench for a project and I am having some troubles with it. Just now I have an error that doesn't make any sense to me, as it's actually in an uncommented line of code. This ...
0
votes
1answer
44 views

How to call GEOS error handlers provided during initialization (initGEOS)?

From what I learned, when using GEOS in C/C++, it should be initialized first using initGEOS : extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function, GEOSMessageHandler ...
2
votes
1answer
55 views

ERDAS Imagine signature picker colour changing RGB numbers?

I've noticed something with the signature picker in ERDAS and I was wondering if it is a bug or a feature. When I create classes I assign a colour to make them easily readable in the classified ...
1
vote
0answers
37 views

QGIS expressions don't evaluate as expected

I am using QGIS with a vector layer and the attribute table stored at this link: https://docs.google.com/spreadsheets/d/1K7rRdlcSheclJ6MqzpBNwSZei911WDV1Bl2zBGV38-s/edit?usp=sharing I then have the ...
1
vote
0answers
53 views

qgis: can't find eclipse pydev path using remote debugger in linux enviroment

I'm trying to configure pydev and eclipse with qgis for remote debug. Everything worked fine in eclipse and i can start the debug server. The problem is that Remote debugger plugin requires a pydev ...
7
votes
3answers
603 views

Easy way to see the requests QGIS makes to a remote server?

I'm attempting to debug an issue with a remote ArcGis Server's WMTS as seen from GeoServer. I can see the requests GeoTools is making (because they throw an error and get logged). However the service ...
3
votes
0answers
320 views

Autocompletion for VS and Eclipse when debugging QGIS plugins

I have been trying to get autocompletion to work in first Eclipse and afterwards tried with Visual Studio. I have been following these guidelines / Stack Questions IDE settings for writing and ...
5
votes
1answer
79 views

Labels displaying with multiple bounding rectangles

While setting up labeling of a line (road) layer, the labels started displaying with multiple bounding rectangles along with the text. After trying many different labeling configurations without ...
1
vote
1answer
242 views

Building QGIS master on Windows 7

I'm trying to build a debug version of QGIS on windows env for this I'm using the bat file package-nightly, I followed all steps presents in INSTALL file but without success. When I executed the bat ...
3
votes
1answer
991 views

Enable LOG Messages in QGIS

How to enable log message in QGIS? debug mode or verbose mode. I put variable in my env but without success. More informations to complete this question: I would like to see messages of detail the ...
2
votes
1answer
230 views

Add custom base-map in Carto.com

PROBLEM: The functionality 'Insert your WMS/WMTS URL' in the 'Add a custom base-map' menu does not work and cannot be debugged properly. BACKGROUND: Following the instructions at CARTODB MAKES IT ...
2
votes
2answers
109 views

Issue reporting in QGIS

I've had an issue with the Processing plugin over that last few days. QGIS has been really slow to start (about 15 minutes in some cases) and I then get a message that says "Plugin Processing: the ...
1
vote
1answer
859 views

How to trace SQL queries sent by geo Server to Oracle database?

When I open GML view of WFS layer in geoserver, it throws this exception: "java.io.IOExceptionORA-00918: column ambiguously defined" I am unable to trace SQL queries sent by geo Server to Oracle ...
5
votes
2answers
236 views

Investigating PostGIS functions to see what they are doing?

Let's say you have a function like ST_Distance and I want to know how it works. The docs don't say much at all, how do I go about debugging this or figuring out how it ticks.
1
vote
0answers
209 views

Where I can find QGIS debug libraries?

I use QGIS 2.12 in my standalone application. Now I want to upgrade my application to the lastest QGIS version (2.16). I use OSGeo4W installer to download all headers, libs and other files. I have ...
0
votes
2answers
157 views

Python code execution error in QGIS WIEN

I have tried to make several different actions in QGIS but keep getting similar error messages when I try to select the output filename. The error message reads as follows: An error has occurred ...
3
votes
0answers
105 views

QGIS crashes when selecting symbols

I am using QGIS version 2.14.1 (Essen). I can open it no problem and load shapefiles correctly. However, when I go in the file properties and select "style"/ "unique symbols", the system crashes and ...
1
vote
1answer
634 views

How to debug settings page of custom widgets?

I'm developing a setting page for my widget. To debug it, I consulted the guide again and found this advice: During development, use http://your host/webappbuilder/?appid=stemapp to directly ...
3
votes
0answers
344 views

QGIS 2.14 Processing plugin crashes - TypeError: must be string, not None

I've recently installed 2.14, and it worked fine for the first couple of days (Appart from Grass tools), including several program and computer reboots. Today I had this error show up Couldn't load ...
1
vote
1answer
787 views

Syntax error at or near “1” — PostGIS in Action — Chapter 11 SQL data dump

I'm following along with PostGIS in Action, 2nd ed., chapter 11, while attempting the SQL dump from the data files and I'm getting the following error: ERROR: syntax error at or near "1" LINE 189: 1 ...
8
votes
6answers
1k views

Unable to debug Esri Addin for ArcCatalog

It was a toss of a coin whether this question is a GIS.SE or StackOverflow question... I'm going with GIS.SE because the problem seems to lie with ArcCatalog. I have several addins that have been ...
2
votes
0answers
306 views

When debugging ArcGIS add-in, can't use “Edit and Continue”

I've been working on this add-in for years, and just today set up a new computer with VS 2013 and ArcGIS 10.3. When I run my add-in from the debugger, breakpoints can be hit, but I can't edit when ...
2
votes
1answer
1k views

Trouble shooting freezing/stalling issues in QGIS

I've been using QGIS for more than a year now (currently using 2.8.2 on MacOS 10.10.3, but also in Windows XP via VirtualBox for troubleshooting) and the application has been freezing and stalling ...
1
vote
1answer
395 views

Debug QGIS crash on Windows 7 - how?

I'm developing a QGIS plugin, and under certain circumstances, it causes QGIS itself to crash. How can I debug this, given that I am on Windows 7? I've tried using the QGIS nightly dev build (which ...
2
votes
1answer
1k views

PyQGIS plugin debugging from Eclipse?

having trouble with debuging QyPython plugins from Eclipse: - Win 7 x64 - QGIS 2.7 - Eclipse Luna with PyDev installed Tried to debug using Remote Debugger (http://docs.qgis.org/testing/en/docs/...
1
vote
1answer
426 views

Run C++ standalone application in debug mode

I write simple C++ standalone application using QGIS. It works and render vector layers from PostgeSQL database. #define CORE_EXPORT __declspec(dllimport) #define GUI_EXPORT __declspec(dllimport) #...
0
votes
0answers
627 views

MapServer Not Logging to MS_ERRORFILE

I'm attempting to debug a 500 server error with my MapServer (running as a FastCGI on IIS 7.5). This would be much less challenging if I could get some indication of where the failure is happening, ...
1
vote
0answers
131 views

How do I step into the C++ functions from an external Python app I'm debugging?

I just wanted to see how to step into the C++ class QgsVectorLayer()'s methods from the python call to QgsVectorLayer(self.uri.uri(),'foo','postgres'). I'm trying to debug and it trying to step into ...
3
votes
0answers
315 views

Using pdb in QGIS console

I am unable to use pdb from qgis console. If I run a function that calls pdb.set_trace() I get the error Traceback (most recent call last): File "<input>", line 1, in <module> File "D:...
2
votes
1answer
151 views

Legend not removed when layer changed [closed]

I made this webpage with JavaScript and CartoDB. The layer selector works like I expected it to but I noticed that the legend are stacking on top of each other and not being removed when the layer is ...
0
votes
1answer
298 views

How to show QgsDebugMsg in eclipse PyDev

In the source code of QGIS, I see a lot of QgsDebugMsg line. What should I do in order to show it when debug/run my standalone application in Eclipse PyDev?
2
votes
1answer
695 views

The 'suite-sdk debug' command failed. - Boundless SDK and OpenLayers 3

I have a few questions about the creation of an application with Boundless SDK and OpenLayers 3. I'm trying to create an application with the templates ol3view and ol3edit, using the command suite-...
3
votes
1answer
566 views

Getting StatPlanet to work with custom shapefile and data?

I'm assigned to get StatPlanet Plus working with some 3rd-party data to display a thematic map, on a Mac. I have the custom regions and attribute data in a map.shp/dbf. And I've configured the ...
1
vote
1answer
47 views

QGis 2.2 layer buggy in 2.3 master

Wondering if anyone else can reproduce this kind of problem? I dual boot windows 7 and ubuntu 13.04 with QGis on both. Have updated QGis to latest on both, and created a layer in my project in 2.2 in ...
0
votes
1answer
372 views

Graduated colouring Voronoi polygons? (QGis)

I've got a huge database of depth points for the whole Irish sea which I'd like to be a nice smooth surface, or at least have a depth value associated with the entire area (i.e. include the inter-...
-1
votes
1answer
256 views

How do I debug a GP Service in ArcServer?

I have a geoprocessing service that was successfully published to our ArcServer instance. I'm using 10.1 which means we could not publish unless it actually worked run as a tool in ArcMap. But now ...
4
votes
1answer
2k views

General strategies for debugging model builder

When coding a standard program in a text editor there are many tools for debugging problems (syntax errors, debuggers, logging information to the console, unit tests, etc.) What are some ways to do ...
1
vote
2answers
1k views

Setting up ArcMap to debug scripts in PyCharm?

I'm wondering whether anyone succeeded at setting up ArcMap to debug python scripts in PyCharm. I've tried several times to configure both, but failed.
3
votes
2answers
2k views

How to debug third party JavaScript libraries such as openlayers?

I am able to work with web development tools like firebug and dev tools and solve bugs in my javascript files. But when it comes to bugs that produce errors such as "typeError: e is null" which ...
2
votes
1answer
681 views

Problems with inspect element in browsers

I use google chromes inspect element for debugging. I have a map displayed on my page with 1 base layer (osm) and 2 overlays (wards, points) and a highlighter control. The map displays and works fine....
1
vote
1answer
137 views

Update Service config file with ArcIms java connector

We are using arcims java connector to create, update, delete services. it works fine for create and delete. However when we try to update the config file of service (ie : mxd file) the new mxd file is ...