[QGIS-Developer] Need help troubleshooting Browser Panel freezing QGIS

Richard Duivenvoorde rdmailings at duif.net
Fri Oct 9 00:19:22 PDT 2020


And besides that, have a look in the Settings/Data Sources, there are some settings related to the way the browser scans for item (Basic or Full scan), please try out that one too... And if then still failing, create a good issue, with how to reproduce and versions of everything, your setup (is your profile on the network disks) etc? (though I realize that it is hard to see what is going one, but maybe you can do some remote desktop thing? Or s screencast?
Can you check/disable your virusscanners?

Regards,

Richard Duivenvoorde

On 10/9/20 8:24 AM, Charles Dixon-Paver wrote:
> Have you tried a fresh user profile to see if the problem persists? This should be a quick way to test if it's data connection or plugin related. 
> 
> On Fri, 9 Oct 2020 at 04:45, i-s-o <46.i.s.o.64 at gmail.com <mailto:46.i.s.o.64 at gmail.com>> wrote:
> 
>     The Browser Panel hasn't worked for me for at least the past couple of years (I'm on Windows 10). My best guess: this is related to my computer being part of a Windows Domain. Seeing that DB Manager may be discontinued, and several of its functionalities are being moved to the Browser Panel, I tried to figure out what is wrong with it.
> 
>     The problem manifests itself when I disconnect my laptop from the company network: if the Browser Panel is enabled, QGIS would freeze 20-40 seconds every minute or so during active use. I am pretty sure this is not limited to my computer: I provide training to other staff, and they all have the same problem (both OSGeo4W-advanced and standalone installations).
> 
>     Note that the problem disappears if I remotely connect to my company's network via VPN: it looks like QGIS Browser Panel (or Qt) is periodically trying to query some resource(s) on the company's network, and gives up after some time.
> 
>     I ran QGIS with debug options, but I didn't see a clear pattern pointing to the source of the problem. Any suggestions about what to do next to figure out what's going on?
> 
>     Here is a redacted log around the freeze episodes:
> 
>     ..\..\..\src\app\main.cpp(510) : (main) [0ms] Starting qgis main
>     ..\..\..\src\core\qgsapplication.cpp(172) : (QgsApplication::QgsApplication) [32ms] loading of qgis translation failed C:/tools/OSGeo4W64/apps/qgis-dev/./i18n//qgis_en_US
>     ..\..\..\src\core\qgsapplication.cpp(187) : (QgsApplication::QgsApplication) [0ms] loading of qt translation failed C:/tools/OSGeo4W64/apps/Qt5/translations/qt_en_US
>     ..\..\..\src\core\qgsmessagelog.cpp(29) : (QgsMessageLog::logMessage) [488ms] 2020-10-01T11:31:52 [1] Successfully loaded globalsettingsfile path: C:/tools/OSGeo4W64/apps/qgis-dev/./resources/qgis_global_settings.ini
>     ..\..\..\src\app\main.cpp(1080) : (main) [2ms] User profile details:
>     ... skip
>     line 645
>     ..\..\..\src\gui\qgsmaptool.cpp(90) : (QgsMapTool::activate) [0ms] Cursor has been set
>     ..\..\..\src\gui\qgsmapcanvas.cpp(529) : (QgsMapCanvas::refresh) [16ms] CANVAS refresh - invalid settings -> nothing to do
>     ..\..\..\src\core\qgsdataitem.cpp(391) : (QgsDataItem::populate) [10543ms] mPath = favorites:
>     ..\..\..\src\core\qgsdataitem.cpp(463) : (QgsDataItem::populate) [0ms] mPath = favorites:
>     ... skip
>     line 743
>     ..\..\..\src\core\qgsbrowsermodel.cpp(783) : (QgsBrowserModel::addProviderRootItem) [0ms] Add new top level item : Spatial Bookmarks
>     ..\..\..\src\gui\qgsbrowsertreeview.cpp(73) : (QgsBrowserTreeView::restoreState) [1ms] mExpandPaths = favorites:
>     ..\..\..\src\core\qgsbrowsermodel.cpp(406) : (QgsBrowserModel::findPath) [0ms] Arrived favorites:
>     ..\..\..\src\core\qgsbrowsermodel.cpp(579) : (QgsBrowserModel::itemDataChanged) [11946ms] Entered
>     ..\..\..\src\core\qgsbrowsermodel.cpp(579) : (QgsBrowserModel::itemDataChanged) [340ms] Entered
>     ... skip
>     line 14860
>     ..\..\..\src\providers\wms\qgswmsprovider.cpp(247) : (QgsWmsProvider::~QgsWmsProvider) [0ms] deconstructing.
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(131) : (QgsMapRendererSequentialJob::internalFinished) [0ms] SEQUENTIAL finished
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(37) : (QgsMapRendererSequentialJob::~QgsMapRendererSequentialJob) [0ms] SEQUENTIAL destruct
>     ..\..\..\src\core\qgsmaprenderercustompainterjob.cpp(73) : (QgsMapRendererCustomPainterJob::~QgsMapRendererCustomPainterJob) [0ms] QPAINTER destruct
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [32572ms] returning name 'OpenStreetMap'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [193ms] returning name 'OpenStreetMap'
>     ..\..\..\src\core\qgsvectorlayer.cpp(1769) : (QgsVectorLayer::setDataProvider) [32020ms] Instantiated the data provider plugin
>     ..\..\..\src\core\qgsdatasourceuri.cpp(213) : (QgsDataSourceUri::QgsDataSourceUri) [0ms] parameter "Point?crs":"EPSG:4326&field=time:datetime(0,0)&uid={f2264946-651d-4539-aecc-e474431c88c9}" added
>     ... skip
>     line 14973
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [1ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [1ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [21210ms] returning name 'temporal-test-ML'
>     ..\..\..\src\gui\qgsmapcanvas.cpp(557) : (QgsMapCanvas::refreshMap) [33ms] CANVAS refresh!
>     ... skip
>     line 48764
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [0ms] returning name 'OpenStreetMap'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [24ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [28438ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [4ms] returning name 'temporal-test-ML'
>     ... skip
>     line 51945
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [0ms] returning name 'OpenStreetMap'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [16ms] returning name 'temporal-test-ML'
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [35479ms] loading feature 1
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [3ms] loading feature 2
>     ... skip
>     line 53921
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [0ms] loading feature 6
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [0ms] loading feature 7
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [11743ms] loading feature 1
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [0ms] loading feature 2
>     ... skip
>     line 72545
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(131) : (QgsMapRendererSequentialJob::internalFinished) [0ms] SEQUENTIAL finished
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(37) : (QgsMapRendererSequentialJob::~QgsMapRendererSequentialJob) [0ms] SEQUENTIAL destruct
>     ..\..\..\src\core\qgsmaprenderercustompainterjob.cpp(73) : (QgsMapRendererCustomPainterJob::~QgsMapRendererCustomPainterJob) [0ms] QPAINTER destruct
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [16888ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsvectorlayerundocommand.cpp(35) : (QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature) [0ms] Assigned feature id -46
>     ... skip
>     line 76773
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(131) : (QgsMapRendererSequentialJob::internalFinished) [0ms] SEQUENTIAL finished
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(37) : (QgsMapRendererSequentialJob::~QgsMapRendererSequentialJob) [0ms] SEQUENTIAL destruct
>     ..\..\..\src\core\qgsmaprenderercustompainterjob.cpp(73) : (QgsMapRendererCustomPainterJob::~QgsMapRendererCustomPainterJob) [0ms] QPAINTER destruct
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [10854ms] loading feature 1
>     ..\..\..\src\gui\attributetable\qgsattributetablemodel.cpp(84) : (QgsAttributeTableModel::loadFeatureAtId) [0ms] loading feature 2
>     ... skip
>     line 77837
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(131) : (QgsMapRendererSequentialJob::internalFinished) [0ms] SEQUENTIAL finished
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(37) : (QgsMapRendererSequentialJob::~QgsMapRendererSequentialJob) [0ms] SEQUENTIAL destruct
>     ..\..\..\src\core\qgsmaprenderercustompainterjob.cpp(73) : (QgsMapRendererCustomPainterJob::~QgsMapRendererCustomPainterJob) [2ms] QPAINTER destruct
>     ..\..\..\src\core\qgsvectorlayerundocommand.cpp(35) : (QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature) [12171ms] Assigned feature id -48
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [1ms] returning name 'temporal-test-ML'
>     ... skip
>     line 80975
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(131) : (QgsMapRendererSequentialJob::internalFinished) [0ms] SEQUENTIAL finished
>     ..\..\..\src\core\qgsmaprenderersequentialjob.cpp(37) : (QgsMapRendererSequentialJob::~QgsMapRendererSequentialJob) [0ms] SEQUENTIAL destruct
>     ..\..\..\src\core\qgsmaprenderercustompainterjob.cpp(73) : (QgsMapRendererCustomPainterJob::~QgsMapRendererCustomPainterJob) [0ms] QPAINTER destruct
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [10531ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [0ms] returning name 'temporal-test-ML'
>     ... skip
>     line 80991
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [0ms] returning name 'temporal-test-ML'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [0ms] returning name 'OpenStreetMap'
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [0ms] returning name 'OpenStreetMap'
>     ..\..\..\src\gui\qgsbrowsertreeview.cpp(65) : (QgsBrowserTreeView::saveState) [51391ms] expandedPaths = favorites: xyz:
>     ..\..\..\src\core\qgsmaplayer.cpp(165) : (QgsMapLayer::name) [21ms] returning name 'temporal-test-ML'
> 
> 
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 



More information about the QGIS-Developer mailing list