The Stack Overflow podcast is back! Listen to an interview with our new CEO.
13

Not sure if this is helpful, let's go down the rabbit hole. First we need to know what's happening when you call the function in SQL. To do this we reference the output of \dS+. \dS+ shows the override table with one entry for every function and prototype, as well as the function that it is dispatching to. You're calling ST_Distance($1::geog,$2::geog). ...


8

You're right, it is a debugging setting. It can be handy for troubleshooting labeling issues. It's next to the pull-down for the labeling list so you may have activated it by mistake. In my version, you have to specifically check on "show candidates" to enable this; perhaps in your version this is checked by default, so dismissing the dialog with OK ...


6

It seems there is no easy way to do this in QGis, so I solved it by adding a simple proxy, Python Logging Proxy which "does what it says on the can". I modified the file LoggingProxyHTTPHandler.py to comment out line 105 print response.content since I didn't need to see the "contents" of the images being sent back. Then to run the proxy all you do is ...


4

Try this: https://maps.ngdc.noaa.gov/arcgis/services/gebco08_hillshade/MapServer/WmsServer instead of this https://maps.ngdc.noaa.gov/arcgis/services/gebco08_hillshade/MapServer/WMSServer?request=GetCapabilities&service=WMS Hope it works...


4

As already suggested by user30184: Go in the global settings and switch the logging level to GEOTOOLS_DEVELOPER_LOGGING, see http://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#config-globalsettings Look in the logs for details about the queries being run, either directly on $GEOSERVER_DATA_DIR/logs/geoserver.log or from the web UI, "...


4

In general, debugging JavaScript code is not as easy as debugging your python code although firebug has made the problem much simpler already. When it comes to js libraries like OpenLayers, first make sure you have the uncompressed version for development. When some error occurs, you can find the source file and the code line the defect originates in ...


3

All javascript libraries come in source form, so it is only a matter of taking the time to dive into the code. OpenLayers is no different, only you are probably using the minified, compressed into a single huge file version which is hard to read for humans. To help with debugging you should use the non-minified version of the libraries when developing and ...


2

It's a bug in current master - http://hub.qgis.org/issues/10179


2

You could open a ticket (bug report) in QGIS Tracker web site with your problematic data. To do this, read these guidelines With all your data, the developers should be able to fix your problem.


2

You'll find it MUCH easier to debug under Linux. You could: setup a virtual machine running a linux distro. I'd suggest Ubuntu as it's easy to get the dependencies installed setup a built environment using QtCreator. Instructions are in the CODING file in the QGIS source (or they can be viewed on online here: https://htmlpreview.github.io/?https://raw....


2

I suggest you to add "C:/eclipse/plugins/org.python.pydev_3.9.2.201502050007/pysrc" to the pythonpath in Settings->Options->System->Envoronment". sys.path.append("C:/eclipse/plugins/org.python.pydev_3.9.2.201502050007/pysrc") and then call in the python console: from pydevd import * settrace(port=5678, suspend=False) in this way you don't have to setup ...


2

QGIS has a page Bug/Issues Page. QGIS is a largely volunteer driven project, and is the work of a dedicated team of developers, documenters, translators and supporters. Despite the efforts of the team to release QGIS without bugs, there may remain some bugs. If you find a bug or want new features to be added, please report it! Plugin bugs Plugin bugs ...


2

Upgrading my initial comment to an answer: I had a similar problem with ArcMap 10.3 in combination with Visual Studio 2013. I found all the same posts that @michael-miles-stimson mentioned, and indeed, at one point I could actually debug and hit a breakpoint. But for some reason that stopped working after a while, and there was no way I could get it to work ...


2

define in your OS this environment variables export CPL_DEBUG=ON export CPL_LOG_ERRORS=ON export CPL_LOG=/tmp/log_qgis.log


2

For QGIS 3.6 and up For QGIS 3.6 and more recent versions, there is a useful plugin called QGIS Network Logger, developed by Richard Duivenvoorde. It is much easier to check the requests sent out by QGIS (sent via the QgsNetworkAccessManager).


2

Your example is asking for a client-side operation (+) with inputs that are a client side object (5) and a server-side object (accumNum). Because of this mix, the result concatenates the client side object and the definition of server-side object (i.e. the part starting with ee.Number) Instead, you can specify that the computation is done server-side by ...


1

I find this happens sometimes if I launch QGIS twice by mistake (easily done in Ubuntu). Sometimes I launch QGIS and nothing seems to happen, so I try launching it again. The two copies of QGIS step on each others toes, which will give you that error message.


1

You can also download and debug the source code from Git repository. I personally looked up the function definitions by debugging the source code in Visual Studio and viewing the collaboration diagrams available at http://postgis.net/docs/doxygen/2.1/annotated.html


1

Whilst cleansing I noticed that addins for ArcCatalog are copied to %USERPROFILE%\Documents\ArcGIS\AddIns\Desktop10.X{AddInID}\ where ArcMap addins are not Actually Arcmap Addins are copied to that location after installation too(or a Build in Visual studio). To solve this problem try these steps: Clean your whole Solution in visual studio by right ...


1

Ok, I just verified I am able to step through code using this process. I am doing this in ArcMap, but I think it should apply to ArcCatalog since the process deals with debugging DLLs and not an ESRI specific item. I confirmed this in both ArcMap 10.2.2 and ArcCatalog 10.2.2. As this is a Windows process dealing with DLLs directly, ESRI software versions ...


1

I received an answer by Robert Scheitlin, one of ESRI's main WAB experts: I develop widget all the time and I never use that from the guide. Here is my workflow: https://geonet.esri.com/message/576495#comment-576497 So, do I have any better options for setting page debugging than app edit > widgets? Not that I have found. Later, Robert ...


1

Solution: 1) Use psql in the command line instead of loading with the SQL editor. 2) If you're using Windows and not logged in as postgres, add the -U flag to: psql -d postgis_in_action -U postgres -f ..path/ch11_data.sql -- for some reason, the username is not being picked up from the pgpass.conf file.


1

This is a file I built up over a couple of years wrangling with ArcMap & ArcCatalog extensions & then Add-Ins: Things that can prevent ArcMap from debugging Add-ins in Visual Studio: Release mode rather than Debug mode (if using old non-Add-in approach this can be a problem because most likely the \bin\Debug dll was registered with regasm, not \bin\...


1

as the compiler says, you have to construct the QApplication first. Instead of: QgsApplication a(argc, argv, true); you have to construct the QAPPLICATION QApplication a(argc, argv, true); I´m pretty shure, thats it.


1

What do you mean for "show messages in eclipse-pydev"? Generally speaking, as you can see in the code, QgsDebugMsg is a define tat use QgsLogger, QgsLogger documentation says: http://qgis.org/api/classQgsLogger.html#details that you can use QGIS_DEBUG (level 0,1,2,3) and QGIS_DEBUG_FILE env vars to generate log file regards


1

Please check out: https://github.com/boundlessgeo/suite/issues/612 and see if putting in that extra jar file resolves it for you as well.


1

To the question, Can anybody see anything wrong with how I've set up my settings.csv or data.csv? The files settings.csv or data.csv are easy to be generated by Excel macros file StatPlanet_data_editor.xlsm of StatPlanet plus. I am remembering manually edited files are always returning error for my case. I found another problem in shape file provided along ...


1

you can give the value of your points to your polygons using the spatial join (vector > management tools). Then you will have a depth value for all your polygons.


1

Most of what you are asking for is not really feasible or applicable to ModelBuilder. Either it works or it doesn't. Sometimes you get useful error messages, other times you just have to tweak things, futz around, send in bug reports, stand on one leg, make ritual sacrifices to the ModelBuilder gods, etc. There are a couple of useful "debugging" tips I ...


1

Try setting up remote debugging. I know the Wing IDE equivalent works in ArcMap, I assume if you set it up right PyCharm would as well.


Only top voted, non community-wiki answers of a minimum length are eligible