[QGIS-Developer] Voronoi tool missing from processing, what could be wrong?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[QGIS-Developer] Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
Hi,

I wrote about this a few days ago in the user list but I still have the
problem and can find neither a cause nor a solution. I thus post it in
this list in the hope that some developer may have a hint on what is
going wrong here.

In my installation the Voronoi Polygon tool is missing from the
Processing menu, both from the bar (vector geometry dialog) and the
processing panel. It is also not listed in the Python console (see below
whole listing).

But, the code seems to be present in the /usr/local/share... folder,
where other plugins live as well:

localhost:/usr/local # find ./share -name *oronoi*
./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
./share/qgis/python/plugins/processing/algs/qgis/voronoi.py

I compile QGIS from source, things have gone smoothly every time and I
cannot see any obvious particular problem. I have tested with master a
couple of weeks ago, then 3.18.0 a couple of days ago, and moments ago
with 3.16.4 (after wiping all traces of previous installations) but the
problem persists.

Anyone has seen this? What could possibly be wrong here?

Thanks in advance,

Hernán


- - - - -

from qgis import processing
for alg in QgsApplication.processingRegistry().algorithms():
     print(alg.id(), "->", alg.displayName())

native:addautoincrementalfield -> Add autoincremental field
native:addfieldtoattributestable -> Add field to attributes table
native:adduniquevalueindexfield -> Add unique value index field
native:addxyfields -> Add X/Y fields to layer
native:affinetransform -> Affine transform
native:aggregate -> Aggregate
native:angletonearest -> Align points to features
native:antimeridiansplit -> Geodesic line split at antimeridian
native:arrayoffsetlines -> Array of offset (parallel) lines
native:arraytranslatedfeatures -> Array of translated features
native:aspect -> Aspect
native:assignprojection -> Assign projection
native:atlaslayouttoimage -> Export atlas layout as image
native:atlaslayouttopdf -> Export atlas layout as PDF
native:bookmarkstolayer -> Convert spatial bookmarks to layer
native:boundary -> Boundary
native:boundingboxes -> Bounding boxes
native:buffer -> Buffer
native:bufferbym -> Variable width buffer (by M value)
native:calculatevectoroverlaps -> Overlap analysis
native:categorizeusingstyle -> Create categorized renderer from styles
native:cellstatistics -> Cell statistics
native:centroids -> Centroids
native:clip -> Clip
native:collect -> Collect geometries
native:combinestyles -> Combine style databases
native:condition -> Conditional branch
native:converttocurves -> Convert to curved geometries
native:convexhull -> Convex hull
native:countpointsinpolygon -> Count points in polygon
native:createattributeindex -> Create attribute index
native:createconstantrasterlayer -> Create constant raster layer
native:createdirectory -> Create directory
native:creategrid -> Create grid
native:createpointslayerfromtable -> Create points layer from table
native:createrandombinomialrasterlayer -> Create random raster layer
(binomial distribution)
native:createrandomexponentialrasterlayer -> Create random raster layer
(exponential distribution)
native:createrandomgammarasterlayer -> Create random raster layer (gamma
distribution)
native:createrandomgeometricrasterlayer -> Create random raster layer
(geometric distribution)
native:createrandomnegativebinomialrasterlayer -> Create random raster
layer (negative binomial distribution)
native:createrandomnormalrasterlayer -> Create random raster layer
(normal distribution)
native:createrandompoissonrasterlayer -> Create random raster layer
(poisson distribution)
native:createrandomuniformrasterlayer -> Create random raster layer
(uniform distribution)
native:createspatialindex -> Create spatial index
native:dbscanclustering -> DBSCAN clustering
native:deleteduplicategeometries -> Delete duplicate geometries
native:deleteholes -> Delete holes
native:densifygeometries -> Densify by count
native:densifygeometriesgivenaninterval -> Densify by interval
native:detectvectorchanges -> Detect dataset changes
native:difference -> Difference
native:dissolve -> Dissolve
native:dropgeometries -> Drop geometries
native:dropmzvalues -> Drop M/Z values
native:equaltofrequency -> Equal to frequency
native:explodehstorefield -> Explode HStore Field
native:explodelines -> Explode lines
native:extendlines -> Extend lines
native:extenttolayer -> Create layer from extent
native:extractbinary -> Extract binary field
native:extractbyattribute -> Extract by attribute
native:extractbyexpression -> Extract by expression
native:extractbyextent -> Extract/clip by extent
native:extractbylocation -> Extract by location
native:extractmvalues -> Extract M values
native:extractspecificvertices -> Extract specific vertices
native:extractvertices -> Extract vertices
native:extractzvalues -> Extract Z values
native:fieldcalculator -> Field calculator
native:filedownloader -> Download file
native:fillnodata -> Fill NoData cells
native:filter -> Feature filter
native:filterbygeometry -> Filter by geometry type
native:filterlayersbytype -> Filter layers by type
native:filterverticesbym -> Filter vertices by M value
native:filterverticesbyz -> Filter vertices by Z value
native:fixgeometries -> Fix geometries
native:flattenrelationships -> Flatten relationship
native:forcerhr -> Force right-hand-rule
native:fuzzifyrastergaussianmembership -> Fuzzify raster (gaussian
membership)
native:fuzzifyrasterlargemembership -> Fuzzify raster (large membership)
native:fuzzifyrasterlinearmembership -> Fuzzify raster (linear membership)
native:fuzzifyrasternearmembership -> Fuzzify raster (near membership)
native:fuzzifyrasterpowermembership -> Fuzzify raster (power membership)
native:fuzzifyrastersmallmembership -> Fuzzify raster (small membership)
native:generatepointspixelcentroidsinsidepolygons -> Generate points
(pixel centroids) inside polygons
native:geometrybyexpression -> Geometry by expression
native:greaterthanfrequency -> Greater than frequency
native:highestpositioninrasterstack -> Highest position in raster stack
native:hillshade -> Hillshade
native:hublines -> Join by lines (hub lines)
native:importphotos -> Import geotagged photos
native:interpolatepoint -> Interpolate point on line
native:intersection -> Intersection
native:joinattributesbylocation -> Join attributes by location
native:joinattributestable -> Join attributes by field value
native:joinbynearest -> Join attributes by nearest
native:kmeansclustering -> K-means clustering
native:layertobookmarks -> Convert layer to spatial bookmarks
native:lessthanfrequency -> Less than frequency
native:linedensity -> Line density
native:lineintersections -> Line intersections
native:linesubstring -> Line substring
native:loadlayer -> Load layer into project
native:lowestpositioninrasterstack -> Lowest position in raster stack
native:meancoordinates -> Mean coordinate(s)
native:mergelines -> Merge lines
native:mergevectorlayers -> Merge vector layers
native:minimumenclosingcircle -> Minimum enclosing circles
native:multiparttosingleparts -> Multipart to singleparts
native:multiringconstantbuffer -> Multi-ring buffer (constant distance)
native:nearestneighbouranalysis -> Nearest neighbour analysis
native:offsetline -> Offset lines
native:orderbyexpression -> Order by expression
native:orientedminimumboundingbox -> Oriented minimum bounding box
native:orthogonalize -> Orthogonalize
native:package -> Package layers
native:pixelstopoints -> Raster pixels to points
native:pixelstopolygons -> Raster pixels to polygons
native:pointonsurface -> Point on surface
native:pointsalonglines -> Points along geometry
native:pointtolayer -> Create layer from point
native:poleofinaccessibility -> Pole of inaccessibility
native:polygonfromlayerextent -> Extract layer extent
native:polygonize -> Polygonize
native:polygonstolines -> Polygons to lines
native:postgisexecutesql -> PostgreSQL execute SQL
native:printlayoutmapextenttolayer -> Print layout map extent to layer
native:printlayouttoimage -> Export print layout as image
native:printlayouttopdf -> Export print layout as PDF
native:projectpointcartesian -> Project points (Cartesian)
native:promotetomulti -> Promote to multipart
native:raiseexception -> Raise exception
native:raisewarning -> Raise warning
native:randomextract -> Random extract
native:randompointsinextent -> Random points in extent
native:randompointsinpolygons -> Random points in polygons
native:randompointsonlines -> Random points on lines
native:rasterbooleanand -> Raster boolean AND
native:rasterize -> Convert map to raster
native:rasterlayerstatistics -> Raster layer statistics
native:rasterlayeruniquevaluesreport -> Raster layer unique values report
native:rasterlayerzonalstats -> Raster layer zonal statistics
native:rasterlogicalor -> Raster boolean OR
native:rastersampling -> Sample raster values
native:rastersurfacevolume -> Raster surface volume
native:reclassifybylayer -> Reclassify by layer
native:reclassifybytable -> Reclassify by table
native:rectanglesovalsdiamonds -> Rectangles, ovals, diamonds
native:refactorfields -> Refactor fields
native:removeduplicatesbyattribute -> Delete duplicates by attribute
native:removeduplicatevertices -> Remove duplicate vertices
native:removenullgeometries -> Remove null geometries
native:renamelayer -> Rename layer
native:renametablefield -> Rename field
native:repairshapefile -> Repair Shapefile
native:reprojectlayer -> Reproject layer
native:rescaleraster -> Rescale raster
native:reverselinedirection -> Reverse line direction
native:rotatefeatures -> Rotate
native:roundrastervalues -> Round raster
native:ruggednessindex -> Ruggedness index
native:savefeatures -> Save vector features to file
native:savelog -> Save log to file
native:saveselectedfeatures -> Extract selected features
native:segmentizebymaxangle -> Segmentize by maximum angle
native:segmentizebymaxdistance -> Segmentize by maximum distance
native:selectbylocation -> Select by location
native:serviceareafromlayer -> Service area (from layer)
native:serviceareafrompoint -> Service area (from point)
native:setlayerencoding -> Set layer encoding
native:setlayerstyle -> Set layer style
native:setmfromraster -> Set M value from raster
native:setmvalue -> Set M value
native:setprojectvariable -> Set project variable
native:setzfromraster -> Drape (set Z value from raster)
native:setzvalue -> Set Z value
native:shortestpathlayertopoint -> Shortest path (layer to point)
native:shortestpathpointtolayer -> Shortest path (point to layer)
native:shortestpathpointtopoint -> Shortest path (point to point)
native:shpencodinginfo -> Extract Shapefile encoding
native:simplifygeometries -> Simplify
native:singlesidedbuffer -> Single sided buffer
native:slope -> Slope
native:smoothgeometry -> Smooth
native:snapgeometries -> Snap geometries to layer
native:snappointstogrid -> Snap points to grid
native:spatialiteexecutesql -> SpatiaLite execute SQL
native:spatialiteexecutesqlregistered -> SpatiaLite execute SQL
(registered DB)
native:splitfeaturesbycharacter -> Split features by character
native:splitlinesbylength -> Split lines by maximum length
native:splitvectorlayer -> Split vector layer
native:splitwithlines -> Split with lines
native:stringconcatenation -> String concatenation
native:stylefromproject -> Create style database from project
native:subdivide -> Subdivide
native:sumlinelengths -> Sum line lengths
native:swapxy -> Swap X and Y coordinates
native:symmetricaldifference -> Symmetrical difference
native:taperedbuffer -> Tapered buffers
native:tinmeshcreation -> TIN Mesh Creation
native:transect -> Transect
native:translategeometry -> Translate
native:truncatetable -> Truncate table
native:union -> Union
native:wedgebuffers -> Create wedge buffers
native:writevectortiles_mbtiles -> Write Vector Tiles (MBTiles)
native:writevectortiles_xyz -> Write Vector Tiles (XYZ)
native:zonalhistogram -> Zonal histogram
native:zonalstatistics -> Zonal statistics
native:zonalstatisticsfb -> Zonal statistics

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Alexandre Neto
Might seem obvious, but have you tried using a brand new profile?

A terça, 2/03/2021, 08:34, Hernán De Angelis <[hidden email]> escreveu:
Hi,

I wrote about this a few days ago in the user list but I still have the
problem and can find neither a cause nor a solution. I thus post it in
this list in the hope that some developer may have a hint on what is
going wrong here.

In my installation the Voronoi Polygon tool is missing from the
Processing menu, both from the bar (vector geometry dialog) and the
processing panel. It is also not listed in the Python console (see below
whole listing).

But, the code seems to be present in the /usr/local/share... folder,
where other plugins live as well:

localhost:/usr/local # find ./share -name *oronoi*
./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
./share/qgis/python/plugins/processing/algs/qgis/voronoi.py

I compile QGIS from source, things have gone smoothly every time and I
cannot see any obvious particular problem. I have tested with master a
couple of weeks ago, then 3.18.0 a couple of days ago, and moments ago
with 3.16.4 (after wiping all traces of previous installations) but the
problem persists.

Anyone has seen this? What could possibly be wrong here?

Thanks in advance,

Hernán


- - - - -

from qgis import processing
for alg in QgsApplication.processingRegistry().algorithms():
     print(alg.id(), "->", alg.displayName())

native:addautoincrementalfield -> Add autoincremental field
native:addfieldtoattributestable -> Add field to attributes table
native:adduniquevalueindexfield -> Add unique value index field
native:addxyfields -> Add X/Y fields to layer
native:affinetransform -> Affine transform
native:aggregate -> Aggregate
native:angletonearest -> Align points to features
native:antimeridiansplit -> Geodesic line split at antimeridian
native:arrayoffsetlines -> Array of offset (parallel) lines
native:arraytranslatedfeatures -> Array of translated features
native:aspect -> Aspect
native:assignprojection -> Assign projection
native:atlaslayouttoimage -> Export atlas layout as image
native:atlaslayouttopdf -> Export atlas layout as PDF
native:bookmarkstolayer -> Convert spatial bookmarks to layer
native:boundary -> Boundary
native:boundingboxes -> Bounding boxes
native:buffer -> Buffer
native:bufferbym -> Variable width buffer (by M value)
native:calculatevectoroverlaps -> Overlap analysis
native:categorizeusingstyle -> Create categorized renderer from styles
native:cellstatistics -> Cell statistics
native:centroids -> Centroids
native:clip -> Clip
native:collect -> Collect geometries
native:combinestyles -> Combine style databases
native:condition -> Conditional branch
native:converttocurves -> Convert to curved geometries
native:convexhull -> Convex hull
native:countpointsinpolygon -> Count points in polygon
native:createattributeindex -> Create attribute index
native:createconstantrasterlayer -> Create constant raster layer
native:createdirectory -> Create directory
native:creategrid -> Create grid
native:createpointslayerfromtable -> Create points layer from table
native:createrandombinomialrasterlayer -> Create random raster layer
(binomial distribution)
native:createrandomexponentialrasterlayer -> Create random raster layer
(exponential distribution)
native:createrandomgammarasterlayer -> Create random raster layer (gamma
distribution)
native:createrandomgeometricrasterlayer -> Create random raster layer
(geometric distribution)
native:createrandomnegativebinomialrasterlayer -> Create random raster
layer (negative binomial distribution)
native:createrandomnormalrasterlayer -> Create random raster layer
(normal distribution)
native:createrandompoissonrasterlayer -> Create random raster layer
(poisson distribution)
native:createrandomuniformrasterlayer -> Create random raster layer
(uniform distribution)
native:createspatialindex -> Create spatial index
native:dbscanclustering -> DBSCAN clustering
native:deleteduplicategeometries -> Delete duplicate geometries
native:deleteholes -> Delete holes
native:densifygeometries -> Densify by count
native:densifygeometriesgivenaninterval -> Densify by interval
native:detectvectorchanges -> Detect dataset changes
native:difference -> Difference
native:dissolve -> Dissolve
native:dropgeometries -> Drop geometries
native:dropmzvalues -> Drop M/Z values
native:equaltofrequency -> Equal to frequency
native:explodehstorefield -> Explode HStore Field
native:explodelines -> Explode lines
native:extendlines -> Extend lines
native:extenttolayer -> Create layer from extent
native:extractbinary -> Extract binary field
native:extractbyattribute -> Extract by attribute
native:extractbyexpression -> Extract by expression
native:extractbyextent -> Extract/clip by extent
native:extractbylocation -> Extract by location
native:extractmvalues -> Extract M values
native:extractspecificvertices -> Extract specific vertices
native:extractvertices -> Extract vertices
native:extractzvalues -> Extract Z values
native:fieldcalculator -> Field calculator
native:filedownloader -> Download file
native:fillnodata -> Fill NoData cells
native:filter -> Feature filter
native:filterbygeometry -> Filter by geometry type
native:filterlayersbytype -> Filter layers by type
native:filterverticesbym -> Filter vertices by M value
native:filterverticesbyz -> Filter vertices by Z value
native:fixgeometries -> Fix geometries
native:flattenrelationships -> Flatten relationship
native:forcerhr -> Force right-hand-rule
native:fuzzifyrastergaussianmembership -> Fuzzify raster (gaussian
membership)
native:fuzzifyrasterlargemembership -> Fuzzify raster (large membership)
native:fuzzifyrasterlinearmembership -> Fuzzify raster (linear membership)
native:fuzzifyrasternearmembership -> Fuzzify raster (near membership)
native:fuzzifyrasterpowermembership -> Fuzzify raster (power membership)
native:fuzzifyrastersmallmembership -> Fuzzify raster (small membership)
native:generatepointspixelcentroidsinsidepolygons -> Generate points
(pixel centroids) inside polygons
native:geometrybyexpression -> Geometry by expression
native:greaterthanfrequency -> Greater than frequency
native:highestpositioninrasterstack -> Highest position in raster stack
native:hillshade -> Hillshade
native:hublines -> Join by lines (hub lines)
native:importphotos -> Import geotagged photos
native:interpolatepoint -> Interpolate point on line
native:intersection -> Intersection
native:joinattributesbylocation -> Join attributes by location
native:joinattributestable -> Join attributes by field value
native:joinbynearest -> Join attributes by nearest
native:kmeansclustering -> K-means clustering
native:layertobookmarks -> Convert layer to spatial bookmarks
native:lessthanfrequency -> Less than frequency
native:linedensity -> Line density
native:lineintersections -> Line intersections
native:linesubstring -> Line substring
native:loadlayer -> Load layer into project
native:lowestpositioninrasterstack -> Lowest position in raster stack
native:meancoordinates -> Mean coordinate(s)
native:mergelines -> Merge lines
native:mergevectorlayers -> Merge vector layers
native:minimumenclosingcircle -> Minimum enclosing circles
native:multiparttosingleparts -> Multipart to singleparts
native:multiringconstantbuffer -> Multi-ring buffer (constant distance)
native:nearestneighbouranalysis -> Nearest neighbour analysis
native:offsetline -> Offset lines
native:orderbyexpression -> Order by expression
native:orientedminimumboundingbox -> Oriented minimum bounding box
native:orthogonalize -> Orthogonalize
native:package -> Package layers
native:pixelstopoints -> Raster pixels to points
native:pixelstopolygons -> Raster pixels to polygons
native:pointonsurface -> Point on surface
native:pointsalonglines -> Points along geometry
native:pointtolayer -> Create layer from point
native:poleofinaccessibility -> Pole of inaccessibility
native:polygonfromlayerextent -> Extract layer extent
native:polygonize -> Polygonize
native:polygonstolines -> Polygons to lines
native:postgisexecutesql -> PostgreSQL execute SQL
native:printlayoutmapextenttolayer -> Print layout map extent to layer
native:printlayouttoimage -> Export print layout as image
native:printlayouttopdf -> Export print layout as PDF
native:projectpointcartesian -> Project points (Cartesian)
native:promotetomulti -> Promote to multipart
native:raiseexception -> Raise exception
native:raisewarning -> Raise warning
native:randomextract -> Random extract
native:randompointsinextent -> Random points in extent
native:randompointsinpolygons -> Random points in polygons
native:randompointsonlines -> Random points on lines
native:rasterbooleanand -> Raster boolean AND
native:rasterize -> Convert map to raster
native:rasterlayerstatistics -> Raster layer statistics
native:rasterlayeruniquevaluesreport -> Raster layer unique values report
native:rasterlayerzonalstats -> Raster layer zonal statistics
native:rasterlogicalor -> Raster boolean OR
native:rastersampling -> Sample raster values
native:rastersurfacevolume -> Raster surface volume
native:reclassifybylayer -> Reclassify by layer
native:reclassifybytable -> Reclassify by table
native:rectanglesovalsdiamonds -> Rectangles, ovals, diamonds
native:refactorfields -> Refactor fields
native:removeduplicatesbyattribute -> Delete duplicates by attribute
native:removeduplicatevertices -> Remove duplicate vertices
native:removenullgeometries -> Remove null geometries
native:renamelayer -> Rename layer
native:renametablefield -> Rename field
native:repairshapefile -> Repair Shapefile
native:reprojectlayer -> Reproject layer
native:rescaleraster -> Rescale raster
native:reverselinedirection -> Reverse line direction
native:rotatefeatures -> Rotate
native:roundrastervalues -> Round raster
native:ruggednessindex -> Ruggedness index
native:savefeatures -> Save vector features to file
native:savelog -> Save log to file
native:saveselectedfeatures -> Extract selected features
native:segmentizebymaxangle -> Segmentize by maximum angle
native:segmentizebymaxdistance -> Segmentize by maximum distance
native:selectbylocation -> Select by location
native:serviceareafromlayer -> Service area (from layer)
native:serviceareafrompoint -> Service area (from point)
native:setlayerencoding -> Set layer encoding
native:setlayerstyle -> Set layer style
native:setmfromraster -> Set M value from raster
native:setmvalue -> Set M value
native:setprojectvariable -> Set project variable
native:setzfromraster -> Drape (set Z value from raster)
native:setzvalue -> Set Z value
native:shortestpathlayertopoint -> Shortest path (layer to point)
native:shortestpathpointtolayer -> Shortest path (point to layer)
native:shortestpathpointtopoint -> Shortest path (point to point)
native:shpencodinginfo -> Extract Shapefile encoding
native:simplifygeometries -> Simplify
native:singlesidedbuffer -> Single sided buffer
native:slope -> Slope
native:smoothgeometry -> Smooth
native:snapgeometries -> Snap geometries to layer
native:snappointstogrid -> Snap points to grid
native:spatialiteexecutesql -> SpatiaLite execute SQL
native:spatialiteexecutesqlregistered -> SpatiaLite execute SQL
(registered DB)
native:splitfeaturesbycharacter -> Split features by character
native:splitlinesbylength -> Split lines by maximum length
native:splitvectorlayer -> Split vector layer
native:splitwithlines -> Split with lines
native:stringconcatenation -> String concatenation
native:stylefromproject -> Create style database from project
native:subdivide -> Subdivide
native:sumlinelengths -> Sum line lengths
native:swapxy -> Swap X and Y coordinates
native:symmetricaldifference -> Symmetrical difference
native:taperedbuffer -> Tapered buffers
native:tinmeshcreation -> TIN Mesh Creation
native:transect -> Transect
native:translategeometry -> Translate
native:truncatetable -> Truncate table
native:union -> Union
native:wedgebuffers -> Create wedge buffers
native:writevectortiles_mbtiles -> Write Vector Tiles (MBTiles)
native:writevectortiles_xyz -> Write Vector Tiles (XYZ)
native:zonalhistogram -> Zonal histogram
native:zonalstatistics -> Zonal statistics
native:zonalstatisticsfb -> Zonal statistics

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
On 2021-03-02 09:48, Alexandre Neto wrote:
Might seem obvious, but have you tried using a brand new profile?

Yes, I just forgot to add that to the description below.

/H.


A terça, 2/03/2021, 08:34, Hernán De Angelis <[hidden email]> escreveu:
Hi,

I wrote about this a few days ago in the user list but I still have the
problem and can find neither a cause nor a solution. I thus post it in
this list in the hope that some developer may have a hint on what is
going wrong here.

In my installation the Voronoi Polygon tool is missing from the
Processing menu, both from the bar (vector geometry dialog) and the
processing panel. It is also not listed in the Python console (see below
whole listing).

But, the code seems to be present in the /usr/local/share... folder,
where other plugins live as well:

localhost:/usr/local # find ./share -name *oronoi*
./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
./share/qgis/python/plugins/processing/algs/qgis/voronoi.py

I compile QGIS from source, things have gone smoothly every time and I
cannot see any obvious particular problem. I have tested with master a
couple of weeks ago, then 3.18.0 a couple of days ago, and moments ago
with 3.16.4 (after wiping all traces of previous installations) but the
problem persists.

Anyone has seen this? What could possibly be wrong here?

Thanks in advance,

Hernán


- - - - -

from qgis import processing
for alg in QgsApplication.processingRegistry().algorithms():
     print(alg.id(), "->", alg.displayName())

native:addautoincrementalfield -> Add autoincremental field
native:addfieldtoattributestable -> Add field to attributes table
native:adduniquevalueindexfield -> Add unique value index field
native:addxyfields -> Add X/Y fields to layer
native:affinetransform -> Affine transform
native:aggregate -> Aggregate
native:angletonearest -> Align points to features
native:antimeridiansplit -> Geodesic line split at antimeridian
native:arrayoffsetlines -> Array of offset (parallel) lines
native:arraytranslatedfeatures -> Array of translated features
native:aspect -> Aspect
native:assignprojection -> Assign projection
native:atlaslayouttoimage -> Export atlas layout as image
native:atlaslayouttopdf -> Export atlas layout as PDF
native:bookmarkstolayer -> Convert spatial bookmarks to layer
native:boundary -> Boundary
native:boundingboxes -> Bounding boxes
native:buffer -> Buffer
native:bufferbym -> Variable width buffer (by M value)
native:calculatevectoroverlaps -> Overlap analysis
native:categorizeusingstyle -> Create categorized renderer from styles
native:cellstatistics -> Cell statistics
native:centroids -> Centroids
native:clip -> Clip
native:collect -> Collect geometries
native:combinestyles -> Combine style databases
native:condition -> Conditional branch
native:converttocurves -> Convert to curved geometries
native:convexhull -> Convex hull
native:countpointsinpolygon -> Count points in polygon
native:createattributeindex -> Create attribute index
native:createconstantrasterlayer -> Create constant raster layer
native:createdirectory -> Create directory
native:creategrid -> Create grid
native:createpointslayerfromtable -> Create points layer from table
native:createrandombinomialrasterlayer -> Create random raster layer
(binomial distribution)
native:createrandomexponentialrasterlayer -> Create random raster layer
(exponential distribution)
native:createrandomgammarasterlayer -> Create random raster layer (gamma
distribution)
native:createrandomgeometricrasterlayer -> Create random raster layer
(geometric distribution)
native:createrandomnegativebinomialrasterlayer -> Create random raster
layer (negative binomial distribution)
native:createrandomnormalrasterlayer -> Create random raster layer
(normal distribution)
native:createrandompoissonrasterlayer -> Create random raster layer
(poisson distribution)
native:createrandomuniformrasterlayer -> Create random raster layer
(uniform distribution)
native:createspatialindex -> Create spatial index
native:dbscanclustering -> DBSCAN clustering
native:deleteduplicategeometries -> Delete duplicate geometries
native:deleteholes -> Delete holes
native:densifygeometries -> Densify by count
native:densifygeometriesgivenaninterval -> Densify by interval
native:detectvectorchanges -> Detect dataset changes
native:difference -> Difference
native:dissolve -> Dissolve
native:dropgeometries -> Drop geometries
native:dropmzvalues -> Drop M/Z values
native:equaltofrequency -> Equal to frequency
native:explodehstorefield -> Explode HStore Field
native:explodelines -> Explode lines
native:extendlines -> Extend lines
native:extenttolayer -> Create layer from extent
native:extractbinary -> Extract binary field
native:extractbyattribute -> Extract by attribute
native:extractbyexpression -> Extract by expression
native:extractbyextent -> Extract/clip by extent
native:extractbylocation -> Extract by location
native:extractmvalues -> Extract M values
native:extractspecificvertices -> Extract specific vertices
native:extractvertices -> Extract vertices
native:extractzvalues -> Extract Z values
native:fieldcalculator -> Field calculator
native:filedownloader -> Download file
native:fillnodata -> Fill NoData cells
native:filter -> Feature filter
native:filterbygeometry -> Filter by geometry type
native:filterlayersbytype -> Filter layers by type
native:filterverticesbym -> Filter vertices by M value
native:filterverticesbyz -> Filter vertices by Z value
native:fixgeometries -> Fix geometries
native:flattenrelationships -> Flatten relationship
native:forcerhr -> Force right-hand-rule
native:fuzzifyrastergaussianmembership -> Fuzzify raster (gaussian
membership)
native:fuzzifyrasterlargemembership -> Fuzzify raster (large membership)
native:fuzzifyrasterlinearmembership -> Fuzzify raster (linear membership)
native:fuzzifyrasternearmembership -> Fuzzify raster (near membership)
native:fuzzifyrasterpowermembership -> Fuzzify raster (power membership)
native:fuzzifyrastersmallmembership -> Fuzzify raster (small membership)
native:generatepointspixelcentroidsinsidepolygons -> Generate points
(pixel centroids) inside polygons
native:geometrybyexpression -> Geometry by expression
native:greaterthanfrequency -> Greater than frequency
native:highestpositioninrasterstack -> Highest position in raster stack
native:hillshade -> Hillshade
native:hublines -> Join by lines (hub lines)
native:importphotos -> Import geotagged photos
native:interpolatepoint -> Interpolate point on line
native:intersection -> Intersection
native:joinattributesbylocation -> Join attributes by location
native:joinattributestable -> Join attributes by field value
native:joinbynearest -> Join attributes by nearest
native:kmeansclustering -> K-means clustering
native:layertobookmarks -> Convert layer to spatial bookmarks
native:lessthanfrequency -> Less than frequency
native:linedensity -> Line density
native:lineintersections -> Line intersections
native:linesubstring -> Line substring
native:loadlayer -> Load layer into project
native:lowestpositioninrasterstack -> Lowest position in raster stack
native:meancoordinates -> Mean coordinate(s)
native:mergelines -> Merge lines
native:mergevectorlayers -> Merge vector layers
native:minimumenclosingcircle -> Minimum enclosing circles
native:multiparttosingleparts -> Multipart to singleparts
native:multiringconstantbuffer -> Multi-ring buffer (constant distance)
native:nearestneighbouranalysis -> Nearest neighbour analysis
native:offsetline -> Offset lines
native:orderbyexpression -> Order by expression
native:orientedminimumboundingbox -> Oriented minimum bounding box
native:orthogonalize -> Orthogonalize
native:package -> Package layers
native:pixelstopoints -> Raster pixels to points
native:pixelstopolygons -> Raster pixels to polygons
native:pointonsurface -> Point on surface
native:pointsalonglines -> Points along geometry
native:pointtolayer -> Create layer from point
native:poleofinaccessibility -> Pole of inaccessibility
native:polygonfromlayerextent -> Extract layer extent
native:polygonize -> Polygonize
native:polygonstolines -> Polygons to lines
native:postgisexecutesql -> PostgreSQL execute SQL
native:printlayoutmapextenttolayer -> Print layout map extent to layer
native:printlayouttoimage -> Export print layout as image
native:printlayouttopdf -> Export print layout as PDF
native:projectpointcartesian -> Project points (Cartesian)
native:promotetomulti -> Promote to multipart
native:raiseexception -> Raise exception
native:raisewarning -> Raise warning
native:randomextract -> Random extract
native:randompointsinextent -> Random points in extent
native:randompointsinpolygons -> Random points in polygons
native:randompointsonlines -> Random points on lines
native:rasterbooleanand -> Raster boolean AND
native:rasterize -> Convert map to raster
native:rasterlayerstatistics -> Raster layer statistics
native:rasterlayeruniquevaluesreport -> Raster layer unique values report
native:rasterlayerzonalstats -> Raster layer zonal statistics
native:rasterlogicalor -> Raster boolean OR
native:rastersampling -> Sample raster values
native:rastersurfacevolume -> Raster surface volume
native:reclassifybylayer -> Reclassify by layer
native:reclassifybytable -> Reclassify by table
native:rectanglesovalsdiamonds -> Rectangles, ovals, diamonds
native:refactorfields -> Refactor fields
native:removeduplicatesbyattribute -> Delete duplicates by attribute
native:removeduplicatevertices -> Remove duplicate vertices
native:removenullgeometries -> Remove null geometries
native:renamelayer -> Rename layer
native:renametablefield -> Rename field
native:repairshapefile -> Repair Shapefile
native:reprojectlayer -> Reproject layer
native:rescaleraster -> Rescale raster
native:reverselinedirection -> Reverse line direction
native:rotatefeatures -> Rotate
native:roundrastervalues -> Round raster
native:ruggednessindex -> Ruggedness index
native:savefeatures -> Save vector features to file
native:savelog -> Save log to file
native:saveselectedfeatures -> Extract selected features
native:segmentizebymaxangle -> Segmentize by maximum angle
native:segmentizebymaxdistance -> Segmentize by maximum distance
native:selectbylocation -> Select by location
native:serviceareafromlayer -> Service area (from layer)
native:serviceareafrompoint -> Service area (from point)
native:setlayerencoding -> Set layer encoding
native:setlayerstyle -> Set layer style
native:setmfromraster -> Set M value from raster
native:setmvalue -> Set M value
native:setprojectvariable -> Set project variable
native:setzfromraster -> Drape (set Z value from raster)
native:setzvalue -> Set Z value
native:shortestpathlayertopoint -> Shortest path (layer to point)
native:shortestpathpointtolayer -> Shortest path (point to layer)
native:shortestpathpointtopoint -> Shortest path (point to point)
native:shpencodinginfo -> Extract Shapefile encoding
native:simplifygeometries -> Simplify
native:singlesidedbuffer -> Single sided buffer
native:slope -> Slope
native:smoothgeometry -> Smooth
native:snapgeometries -> Snap geometries to layer
native:snappointstogrid -> Snap points to grid
native:spatialiteexecutesql -> SpatiaLite execute SQL
native:spatialiteexecutesqlregistered -> SpatiaLite execute SQL
(registered DB)
native:splitfeaturesbycharacter -> Split features by character
native:splitlinesbylength -> Split lines by maximum length
native:splitvectorlayer -> Split vector layer
native:splitwithlines -> Split with lines
native:stringconcatenation -> String concatenation
native:stylefromproject -> Create style database from project
native:subdivide -> Subdivide
native:sumlinelengths -> Sum line lengths
native:swapxy -> Swap X and Y coordinates
native:symmetricaldifference -> Symmetrical difference
native:taperedbuffer -> Tapered buffers
native:tinmeshcreation -> TIN Mesh Creation
native:transect -> Transect
native:translategeometry -> Translate
native:truncatetable -> Truncate table
native:union -> Union
native:wedgebuffers -> Create wedge buffers
native:writevectortiles_mbtiles -> Write Vector Tiles (MBTiles)
native:writevectortiles_xyz -> Write Vector Tiles (XYZ)
native:zonalhistogram -> Zonal histogram
native:zonalstatistics -> Zonal statistics
native:zonalstatisticsfb -> Zonal statistics

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Richard Duivenvoorde
In reply to this post by Hernán De Angelis-5
On 3/2/21 9:34 AM, Hernán De Angelis wrote:

> Hi,
>
> I wrote about this a few days ago in the user list but I still have the problem and can find neither a cause nor a solution. I thus post it in this list in the hope that some developer may have a hint on what is going wrong here.
>
> In my installation the Voronoi Polygon tool is missing from the Processing menu, both from the bar (vector geometry dialog) and the processing panel. It is also not listed in the Python console (see below whole listing).
>
> But, the code seems to be present in the /usr/local/share... folder, where other plugins live as well:
>
> localhost:/usr/local # find ./share -name *oronoi*
> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
> ./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
> ./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
> ./share/qgis/python/plugins/processing/algs/qgis/voronoi.py
With me your find-output looks exactly the same

> from qgis import processing
> for alg in QgsApplication.processingRegistry().algorithms():
>     print(alg.id(), "->", alg.displayName())
>
> native:addautoincrementalfield -> Add autoincremental field
> native:addfieldtoattributestable -> Add field to attributes table

With me your python code shows voronoi in the 'qgis' group instead of the 'native' one:

qgis:voronoipolygons -> Voronoi polygons

I do have like 58 algorithms in the 'qgis' group. Are you missing all qgis ones? Or just voronoi?

And in processing it just shows up with me (see screenie)

Some things to check:

-1- is the /usr/local/share/qgis/python/plugins/ dir in your PYTHONPATH ?

With me (installed QGIS in /home/richard/bin/qgis_/3.18/debug) these to are in my PYTHONPATH:
/home/richard/bin/qgis_/3.18/debug/share/qgis/python
/home/richard/bin/qgis_/3.18/debug/share/qgis/python/plugins

import sys
print(sys.path)

or is there other 'cruft' in it?

-2- is your LD_LIBRARY_PATH ok? To me (installing in my homedir), I have to add the debug/lib dir to my LD_LIBRARY_PATH.
adding:
export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
to my startup of qgis 3.18

I think if you install in default locations (like you do) then this should not be a problem, but maybe the QGIS python code can not load the right c++-libs?



Regards,

Richard Duivenvoorde

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Screenshot-20210302100041-317x201.png (31K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Nyall Dawson
In reply to this post by Hernán De Angelis-5
On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
<[hidden email]> wrote:
>
> Hi,
>
> I wrote about this a few days ago in the user list but I still have the
> problem and can find neither a cause nor a solution. I thus post it in
> this list in the hope that some developer may have a hint on what is
> going wrong here.

Double check that you have the gdal python packages installed

Nyall

>
> In my installation the Voronoi Polygon tool is missing from the
> Processing menu, both from the bar (vector geometry dialog) and the
> processing panel. It is also not listed in the Python console (see below
> whole listing).
>
> But, the code seems to be present in the /usr/local/share... folder,
> where other plugins live as well:
>
> localhost:/usr/local # find ./share -name *oronoi*
> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
> ./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
> ./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
> ./share/qgis/python/plugins/processing/algs/qgis/voronoi.py
>
> I compile QGIS from source, things have gone smoothly every time and I
> cannot see any obvious particular problem. I have tested with master a
> couple of weeks ago, then 3.18.0 a couple of days ago, and moments ago
> with 3.16.4 (after wiping all traces of previous installations) but the
> problem persists.
>
> Anyone has seen this? What could possibly be wrong here?
>
> Thanks in advance,
>
> Hernán
>
>
> - - - - -
>
> from qgis import processing
> for alg in QgsApplication.processingRegistry().algorithms():
>      print(alg.id(), "->", alg.displayName())
>
> native:addautoincrementalfield -> Add autoincremental field
> native:addfieldtoattributestable -> Add field to attributes table
> native:adduniquevalueindexfield -> Add unique value index field
> native:addxyfields -> Add X/Y fields to layer
> native:affinetransform -> Affine transform
> native:aggregate -> Aggregate
> native:angletonearest -> Align points to features
> native:antimeridiansplit -> Geodesic line split at antimeridian
> native:arrayoffsetlines -> Array of offset (parallel) lines
> native:arraytranslatedfeatures -> Array of translated features
> native:aspect -> Aspect
> native:assignprojection -> Assign projection
> native:atlaslayouttoimage -> Export atlas layout as image
> native:atlaslayouttopdf -> Export atlas layout as PDF
> native:bookmarkstolayer -> Convert spatial bookmarks to layer
> native:boundary -> Boundary
> native:boundingboxes -> Bounding boxes
> native:buffer -> Buffer
> native:bufferbym -> Variable width buffer (by M value)
> native:calculatevectoroverlaps -> Overlap analysis
> native:categorizeusingstyle -> Create categorized renderer from styles
> native:cellstatistics -> Cell statistics
> native:centroids -> Centroids
> native:clip -> Clip
> native:collect -> Collect geometries
> native:combinestyles -> Combine style databases
> native:condition -> Conditional branch
> native:converttocurves -> Convert to curved geometries
> native:convexhull -> Convex hull
> native:countpointsinpolygon -> Count points in polygon
> native:createattributeindex -> Create attribute index
> native:createconstantrasterlayer -> Create constant raster layer
> native:createdirectory -> Create directory
> native:creategrid -> Create grid
> native:createpointslayerfromtable -> Create points layer from table
> native:createrandombinomialrasterlayer -> Create random raster layer
> (binomial distribution)
> native:createrandomexponentialrasterlayer -> Create random raster layer
> (exponential distribution)
> native:createrandomgammarasterlayer -> Create random raster layer (gamma
> distribution)
> native:createrandomgeometricrasterlayer -> Create random raster layer
> (geometric distribution)
> native:createrandomnegativebinomialrasterlayer -> Create random raster
> layer (negative binomial distribution)
> native:createrandomnormalrasterlayer -> Create random raster layer
> (normal distribution)
> native:createrandompoissonrasterlayer -> Create random raster layer
> (poisson distribution)
> native:createrandomuniformrasterlayer -> Create random raster layer
> (uniform distribution)
> native:createspatialindex -> Create spatial index
> native:dbscanclustering -> DBSCAN clustering
> native:deleteduplicategeometries -> Delete duplicate geometries
> native:deleteholes -> Delete holes
> native:densifygeometries -> Densify by count
> native:densifygeometriesgivenaninterval -> Densify by interval
> native:detectvectorchanges -> Detect dataset changes
> native:difference -> Difference
> native:dissolve -> Dissolve
> native:dropgeometries -> Drop geometries
> native:dropmzvalues -> Drop M/Z values
> native:equaltofrequency -> Equal to frequency
> native:explodehstorefield -> Explode HStore Field
> native:explodelines -> Explode lines
> native:extendlines -> Extend lines
> native:extenttolayer -> Create layer from extent
> native:extractbinary -> Extract binary field
> native:extractbyattribute -> Extract by attribute
> native:extractbyexpression -> Extract by expression
> native:extractbyextent -> Extract/clip by extent
> native:extractbylocation -> Extract by location
> native:extractmvalues -> Extract M values
> native:extractspecificvertices -> Extract specific vertices
> native:extractvertices -> Extract vertices
> native:extractzvalues -> Extract Z values
> native:fieldcalculator -> Field calculator
> native:filedownloader -> Download file
> native:fillnodata -> Fill NoData cells
> native:filter -> Feature filter
> native:filterbygeometry -> Filter by geometry type
> native:filterlayersbytype -> Filter layers by type
> native:filterverticesbym -> Filter vertices by M value
> native:filterverticesbyz -> Filter vertices by Z value
> native:fixgeometries -> Fix geometries
> native:flattenrelationships -> Flatten relationship
> native:forcerhr -> Force right-hand-rule
> native:fuzzifyrastergaussianmembership -> Fuzzify raster (gaussian
> membership)
> native:fuzzifyrasterlargemembership -> Fuzzify raster (large membership)
> native:fuzzifyrasterlinearmembership -> Fuzzify raster (linear membership)
> native:fuzzifyrasternearmembership -> Fuzzify raster (near membership)
> native:fuzzifyrasterpowermembership -> Fuzzify raster (power membership)
> native:fuzzifyrastersmallmembership -> Fuzzify raster (small membership)
> native:generatepointspixelcentroidsinsidepolygons -> Generate points
> (pixel centroids) inside polygons
> native:geometrybyexpression -> Geometry by expression
> native:greaterthanfrequency -> Greater than frequency
> native:highestpositioninrasterstack -> Highest position in raster stack
> native:hillshade -> Hillshade
> native:hublines -> Join by lines (hub lines)
> native:importphotos -> Import geotagged photos
> native:interpolatepoint -> Interpolate point on line
> native:intersection -> Intersection
> native:joinattributesbylocation -> Join attributes by location
> native:joinattributestable -> Join attributes by field value
> native:joinbynearest -> Join attributes by nearest
> native:kmeansclustering -> K-means clustering
> native:layertobookmarks -> Convert layer to spatial bookmarks
> native:lessthanfrequency -> Less than frequency
> native:linedensity -> Line density
> native:lineintersections -> Line intersections
> native:linesubstring -> Line substring
> native:loadlayer -> Load layer into project
> native:lowestpositioninrasterstack -> Lowest position in raster stack
> native:meancoordinates -> Mean coordinate(s)
> native:mergelines -> Merge lines
> native:mergevectorlayers -> Merge vector layers
> native:minimumenclosingcircle -> Minimum enclosing circles
> native:multiparttosingleparts -> Multipart to singleparts
> native:multiringconstantbuffer -> Multi-ring buffer (constant distance)
> native:nearestneighbouranalysis -> Nearest neighbour analysis
> native:offsetline -> Offset lines
> native:orderbyexpression -> Order by expression
> native:orientedminimumboundingbox -> Oriented minimum bounding box
> native:orthogonalize -> Orthogonalize
> native:package -> Package layers
> native:pixelstopoints -> Raster pixels to points
> native:pixelstopolygons -> Raster pixels to polygons
> native:pointonsurface -> Point on surface
> native:pointsalonglines -> Points along geometry
> native:pointtolayer -> Create layer from point
> native:poleofinaccessibility -> Pole of inaccessibility
> native:polygonfromlayerextent -> Extract layer extent
> native:polygonize -> Polygonize
> native:polygonstolines -> Polygons to lines
> native:postgisexecutesql -> PostgreSQL execute SQL
> native:printlayoutmapextenttolayer -> Print layout map extent to layer
> native:printlayouttoimage -> Export print layout as image
> native:printlayouttopdf -> Export print layout as PDF
> native:projectpointcartesian -> Project points (Cartesian)
> native:promotetomulti -> Promote to multipart
> native:raiseexception -> Raise exception
> native:raisewarning -> Raise warning
> native:randomextract -> Random extract
> native:randompointsinextent -> Random points in extent
> native:randompointsinpolygons -> Random points in polygons
> native:randompointsonlines -> Random points on lines
> native:rasterbooleanand -> Raster boolean AND
> native:rasterize -> Convert map to raster
> native:rasterlayerstatistics -> Raster layer statistics
> native:rasterlayeruniquevaluesreport -> Raster layer unique values report
> native:rasterlayerzonalstats -> Raster layer zonal statistics
> native:rasterlogicalor -> Raster boolean OR
> native:rastersampling -> Sample raster values
> native:rastersurfacevolume -> Raster surface volume
> native:reclassifybylayer -> Reclassify by layer
> native:reclassifybytable -> Reclassify by table
> native:rectanglesovalsdiamonds -> Rectangles, ovals, diamonds
> native:refactorfields -> Refactor fields
> native:removeduplicatesbyattribute -> Delete duplicates by attribute
> native:removeduplicatevertices -> Remove duplicate vertices
> native:removenullgeometries -> Remove null geometries
> native:renamelayer -> Rename layer
> native:renametablefield -> Rename field
> native:repairshapefile -> Repair Shapefile
> native:reprojectlayer -> Reproject layer
> native:rescaleraster -> Rescale raster
> native:reverselinedirection -> Reverse line direction
> native:rotatefeatures -> Rotate
> native:roundrastervalues -> Round raster
> native:ruggednessindex -> Ruggedness index
> native:savefeatures -> Save vector features to file
> native:savelog -> Save log to file
> native:saveselectedfeatures -> Extract selected features
> native:segmentizebymaxangle -> Segmentize by maximum angle
> native:segmentizebymaxdistance -> Segmentize by maximum distance
> native:selectbylocation -> Select by location
> native:serviceareafromlayer -> Service area (from layer)
> native:serviceareafrompoint -> Service area (from point)
> native:setlayerencoding -> Set layer encoding
> native:setlayerstyle -> Set layer style
> native:setmfromraster -> Set M value from raster
> native:setmvalue -> Set M value
> native:setprojectvariable -> Set project variable
> native:setzfromraster -> Drape (set Z value from raster)
> native:setzvalue -> Set Z value
> native:shortestpathlayertopoint -> Shortest path (layer to point)
> native:shortestpathpointtolayer -> Shortest path (point to layer)
> native:shortestpathpointtopoint -> Shortest path (point to point)
> native:shpencodinginfo -> Extract Shapefile encoding
> native:simplifygeometries -> Simplify
> native:singlesidedbuffer -> Single sided buffer
> native:slope -> Slope
> native:smoothgeometry -> Smooth
> native:snapgeometries -> Snap geometries to layer
> native:snappointstogrid -> Snap points to grid
> native:spatialiteexecutesql -> SpatiaLite execute SQL
> native:spatialiteexecutesqlregistered -> SpatiaLite execute SQL
> (registered DB)
> native:splitfeaturesbycharacter -> Split features by character
> native:splitlinesbylength -> Split lines by maximum length
> native:splitvectorlayer -> Split vector layer
> native:splitwithlines -> Split with lines
> native:stringconcatenation -> String concatenation
> native:stylefromproject -> Create style database from project
> native:subdivide -> Subdivide
> native:sumlinelengths -> Sum line lengths
> native:swapxy -> Swap X and Y coordinates
> native:symmetricaldifference -> Symmetrical difference
> native:taperedbuffer -> Tapered buffers
> native:tinmeshcreation -> TIN Mesh Creation
> native:transect -> Transect
> native:translategeometry -> Translate
> native:truncatetable -> Truncate table
> native:union -> Union
> native:wedgebuffers -> Create wedge buffers
> native:writevectortiles_mbtiles -> Write Vector Tiles (MBTiles)
> native:writevectortiles_xyz -> Write Vector Tiles (XYZ)
> native:zonalhistogram -> Zonal histogram
> native:zonalstatistics -> Zonal statistics
> native:zonalstatisticsfb -> Zonal statistics
>
> _______________________________________________
> QGIS-Developer mailing list
> [hidden email]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
In reply to this post by Richard Duivenvoorde
Thanks for your detailed answer, Richard.


On 2021-03-02 10:16, Richard Duivenvoorde wrote:

> On 3/2/21 9:34 AM, Hernán De Angelis wrote:
>> Hi,
>>
>> I wrote about this a few days ago in the user list but I still have the problem and can find neither a cause nor a solution. I thus post it in this list in the hope that some developer may have a hint on what is going wrong here.
>>
>> In my installation the Voronoi Polygon tool is missing from the Processing menu, both from the bar (vector geometry dialog) and the processing panel. It is also not listed in the Python console (see below whole listing).
>>
>> But, the code seems to be present in the /usr/local/share... folder, where other plugins live as well:
>>
>> localhost:/usr/local # find ./share -name *oronoi*
>> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
>> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
>> ./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
>> ./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
>> ./share/qgis/python/plugins/processing/algs/qgis/voronoi.py
> With me your find-output looks exactly the same

Good


>
>> from qgis import processing
>> for alg in QgsApplication.processingRegistry().algorithms():
>>      print(alg.id(), "->", alg.displayName())
>>
>> native:addautoincrementalfield -> Add autoincremental field
>> native:addfieldtoattributestable -> Add field to attributes table
> With me your python code shows voronoi in the 'qgis' group instead of the 'native' one:
>
> qgis:voronoipolygons -> Voronoi polygons
>
> I do have like 58 algorithms in the 'qgis' group. Are you missing all qgis ones? Or just voronoi?

I see, I only have the "native" ones ...


>
> And in processing it just shows up with me (see screenie)
>
> Some things to check:
>
> -1- is the /usr/local/share/qgis/python/plugins/ dir in your PYTHONPATH ?
>
> With me (installed QGIS in /home/richard/bin/qgis_/3.18/debug) these to are in my PYTHONPATH:
> /home/richard/bin/qgis_/3.18/debug/share/qgis/python
> /home/richard/bin/qgis_/3.18/debug/share/qgis/python/plugins
>
> import sys
> print(sys.path)
import sys
print(sys.path)

['/usr/local/share/qgis/python',
'/home/hernan/.local/share/QGIS/QGIS3/profiles/default/python',
'/home/hernan/.local/share/QGIS/QGIS3/profiles/default/python/plugins',
'/usr/local/share/qgis/python/plugins', '/usr/lib/python38.zip',
'/usr/lib64/python3.8', '/usr/lib64/python3.8/lib-dynload',
'/usr/lib64/python3.8/site-packages',
'/usr/lib64/python3.8/_import_failed',
'/usr/lib/python3.8/site-packages',
'/usr/local/lib64/python3.8/site-packages',
'/home/hernan/.local/share/QGIS/QGIS3/profiles/default/python']

>
> or is there other 'cruft' in it?
>
> -2- is your LD_LIBRARY_PATH ok? To me (installing in my homedir), I have to add the debug/lib dir to my LD_LIBRARY_PATH.
> adding:
> export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
> to my startup of qgis 3.18
>
> I think if you install in default locations (like you do) then this should not be a problem, but maybe the QGIS python code can not load the right c++-libs?
>
Yes, I install in default /usr/local




_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
In reply to this post by Nyall Dawson

On 2021-03-02 10:21, Nyall Dawson wrote:
> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
> <[hidden email]> wrote:
>> Hi,
>>
>> I wrote about this a few days ago in the user list but I still have the
>> problem and can find neither a cause nor a solution. I thus post it in
>> this list in the hope that some developer may have a hint on what is
>> going wrong here.
> Double check that you have the gdal python packages installed

Thanks for this,

from osgeo import gdal

just works, so I guess it is installed.


>
> Nyall
>
>> In my installation the Voronoi Polygon tool is missing from the
>> Processing menu, both from the bar (vector geometry dialog) and the
>> processing panel. It is also not listed in the Python console (see below
>> whole listing).
>>
>> But, the code seems to be present in the /usr/local/share... folder,
>> where other plugins live as well:
>>
>> localhost:/usr/local # find ./share -name *oronoi*
>> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.skeleton.txt
>> ./share/qgis/python/plugins/processing/algs/grass7/description/v.voronoi.txt
>> ./share/qgis/python/plugins/processing/algs/grass7/ext/v_voronoi.py
>> ./share/qgis/python/plugins/processing/algs/qgis/VoronoiPolygons.py
>> ./share/qgis/python/plugins/processing/algs/qgis/voronoi.py
>>
>> I compile QGIS from source, things have gone smoothly every time and I
>> cannot see any obvious particular problem. I have tested with master a
>> couple of weeks ago, then 3.18.0 a couple of days ago, and moments ago
>> with 3.16.4 (after wiping all traces of previous installations) but the
>> problem persists.
>>
>> Anyone has seen this? What could possibly be wrong here?
>>
>> Thanks in advance,
>>
>> Hernán
>>
>>
>> - - - - -
>>
>> from qgis import processing
>> for alg in QgsApplication.processingRegistry().algorithms():
>>       print(alg.id(), "->", alg.displayName())
>>
>> native:addautoincrementalfield -> Add autoincremental field
>> native:addfieldtoattributestable -> Add field to attributes table
>> native:adduniquevalueindexfield -> Add unique value index field
>> native:addxyfields -> Add X/Y fields to layer
>> native:affinetransform -> Affine transform
>> native:aggregate -> Aggregate
>> native:angletonearest -> Align points to features
>> native:antimeridiansplit -> Geodesic line split at antimeridian
>> native:arrayoffsetlines -> Array of offset (parallel) lines
>> native:arraytranslatedfeatures -> Array of translated features
>> native:aspect -> Aspect
>> native:assignprojection -> Assign projection
>> native:atlaslayouttoimage -> Export atlas layout as image
>> native:atlaslayouttopdf -> Export atlas layout as PDF
>> native:bookmarkstolayer -> Convert spatial bookmarks to layer
>> native:boundary -> Boundary
>> native:boundingboxes -> Bounding boxes
>> native:buffer -> Buffer
>> native:bufferbym -> Variable width buffer (by M value)
>> native:calculatevectoroverlaps -> Overlap analysis
>> native:categorizeusingstyle -> Create categorized renderer from styles
>> native:cellstatistics -> Cell statistics
>> native:centroids -> Centroids
>> native:clip -> Clip
>> native:collect -> Collect geometries
>> native:combinestyles -> Combine style databases
>> native:condition -> Conditional branch
>> native:converttocurves -> Convert to curved geometries
>> native:convexhull -> Convex hull
>> native:countpointsinpolygon -> Count points in polygon
>> native:createattributeindex -> Create attribute index
>> native:createconstantrasterlayer -> Create constant raster layer
>> native:createdirectory -> Create directory
>> native:creategrid -> Create grid
>> native:createpointslayerfromtable -> Create points layer from table
>> native:createrandombinomialrasterlayer -> Create random raster layer
>> (binomial distribution)
>> native:createrandomexponentialrasterlayer -> Create random raster layer
>> (exponential distribution)
>> native:createrandomgammarasterlayer -> Create random raster layer (gamma
>> distribution)
>> native:createrandomgeometricrasterlayer -> Create random raster layer
>> (geometric distribution)
>> native:createrandomnegativebinomialrasterlayer -> Create random raster
>> layer (negative binomial distribution)
>> native:createrandomnormalrasterlayer -> Create random raster layer
>> (normal distribution)
>> native:createrandompoissonrasterlayer -> Create random raster layer
>> (poisson distribution)
>> native:createrandomuniformrasterlayer -> Create random raster layer
>> (uniform distribution)
>> native:createspatialindex -> Create spatial index
>> native:dbscanclustering -> DBSCAN clustering
>> native:deleteduplicategeometries -> Delete duplicate geometries
>> native:deleteholes -> Delete holes
>> native:densifygeometries -> Densify by count
>> native:densifygeometriesgivenaninterval -> Densify by interval
>> native:detectvectorchanges -> Detect dataset changes
>> native:difference -> Difference
>> native:dissolve -> Dissolve
>> native:dropgeometries -> Drop geometries
>> native:dropmzvalues -> Drop M/Z values
>> native:equaltofrequency -> Equal to frequency
>> native:explodehstorefield -> Explode HStore Field
>> native:explodelines -> Explode lines
>> native:extendlines -> Extend lines
>> native:extenttolayer -> Create layer from extent
>> native:extractbinary -> Extract binary field
>> native:extractbyattribute -> Extract by attribute
>> native:extractbyexpression -> Extract by expression
>> native:extractbyextent -> Extract/clip by extent
>> native:extractbylocation -> Extract by location
>> native:extractmvalues -> Extract M values
>> native:extractspecificvertices -> Extract specific vertices
>> native:extractvertices -> Extract vertices
>> native:extractzvalues -> Extract Z values
>> native:fieldcalculator -> Field calculator
>> native:filedownloader -> Download file
>> native:fillnodata -> Fill NoData cells
>> native:filter -> Feature filter
>> native:filterbygeometry -> Filter by geometry type
>> native:filterlayersbytype -> Filter layers by type
>> native:filterverticesbym -> Filter vertices by M value
>> native:filterverticesbyz -> Filter vertices by Z value
>> native:fixgeometries -> Fix geometries
>> native:flattenrelationships -> Flatten relationship
>> native:forcerhr -> Force right-hand-rule
>> native:fuzzifyrastergaussianmembership -> Fuzzify raster (gaussian
>> membership)
>> native:fuzzifyrasterlargemembership -> Fuzzify raster (large membership)
>> native:fuzzifyrasterlinearmembership -> Fuzzify raster (linear membership)
>> native:fuzzifyrasternearmembership -> Fuzzify raster (near membership)
>> native:fuzzifyrasterpowermembership -> Fuzzify raster (power membership)
>> native:fuzzifyrastersmallmembership -> Fuzzify raster (small membership)
>> native:generatepointspixelcentroidsinsidepolygons -> Generate points
>> (pixel centroids) inside polygons
>> native:geometrybyexpression -> Geometry by expression
>> native:greaterthanfrequency -> Greater than frequency
>> native:highestpositioninrasterstack -> Highest position in raster stack
>> native:hillshade -> Hillshade
>> native:hublines -> Join by lines (hub lines)
>> native:importphotos -> Import geotagged photos
>> native:interpolatepoint -> Interpolate point on line
>> native:intersection -> Intersection
>> native:joinattributesbylocation -> Join attributes by location
>> native:joinattributestable -> Join attributes by field value
>> native:joinbynearest -> Join attributes by nearest
>> native:kmeansclustering -> K-means clustering
>> native:layertobookmarks -> Convert layer to spatial bookmarks
>> native:lessthanfrequency -> Less than frequency
>> native:linedensity -> Line density
>> native:lineintersections -> Line intersections
>> native:linesubstring -> Line substring
>> native:loadlayer -> Load layer into project
>> native:lowestpositioninrasterstack -> Lowest position in raster stack
>> native:meancoordinates -> Mean coordinate(s)
>> native:mergelines -> Merge lines
>> native:mergevectorlayers -> Merge vector layers
>> native:minimumenclosingcircle -> Minimum enclosing circles
>> native:multiparttosingleparts -> Multipart to singleparts
>> native:multiringconstantbuffer -> Multi-ring buffer (constant distance)
>> native:nearestneighbouranalysis -> Nearest neighbour analysis
>> native:offsetline -> Offset lines
>> native:orderbyexpression -> Order by expression
>> native:orientedminimumboundingbox -> Oriented minimum bounding box
>> native:orthogonalize -> Orthogonalize
>> native:package -> Package layers
>> native:pixelstopoints -> Raster pixels to points
>> native:pixelstopolygons -> Raster pixels to polygons
>> native:pointonsurface -> Point on surface
>> native:pointsalonglines -> Points along geometry
>> native:pointtolayer -> Create layer from point
>> native:poleofinaccessibility -> Pole of inaccessibility
>> native:polygonfromlayerextent -> Extract layer extent
>> native:polygonize -> Polygonize
>> native:polygonstolines -> Polygons to lines
>> native:postgisexecutesql -> PostgreSQL execute SQL
>> native:printlayoutmapextenttolayer -> Print layout map extent to layer
>> native:printlayouttoimage -> Export print layout as image
>> native:printlayouttopdf -> Export print layout as PDF
>> native:projectpointcartesian -> Project points (Cartesian)
>> native:promotetomulti -> Promote to multipart
>> native:raiseexception -> Raise exception
>> native:raisewarning -> Raise warning
>> native:randomextract -> Random extract
>> native:randompointsinextent -> Random points in extent
>> native:randompointsinpolygons -> Random points in polygons
>> native:randompointsonlines -> Random points on lines
>> native:rasterbooleanand -> Raster boolean AND
>> native:rasterize -> Convert map to raster
>> native:rasterlayerstatistics -> Raster layer statistics
>> native:rasterlayeruniquevaluesreport -> Raster layer unique values report
>> native:rasterlayerzonalstats -> Raster layer zonal statistics
>> native:rasterlogicalor -> Raster boolean OR
>> native:rastersampling -> Sample raster values
>> native:rastersurfacevolume -> Raster surface volume
>> native:reclassifybylayer -> Reclassify by layer
>> native:reclassifybytable -> Reclassify by table
>> native:rectanglesovalsdiamonds -> Rectangles, ovals, diamonds
>> native:refactorfields -> Refactor fields
>> native:removeduplicatesbyattribute -> Delete duplicates by attribute
>> native:removeduplicatevertices -> Remove duplicate vertices
>> native:removenullgeometries -> Remove null geometries
>> native:renamelayer -> Rename layer
>> native:renametablefield -> Rename field
>> native:repairshapefile -> Repair Shapefile
>> native:reprojectlayer -> Reproject layer
>> native:rescaleraster -> Rescale raster
>> native:reverselinedirection -> Reverse line direction
>> native:rotatefeatures -> Rotate
>> native:roundrastervalues -> Round raster
>> native:ruggednessindex -> Ruggedness index
>> native:savefeatures -> Save vector features to file
>> native:savelog -> Save log to file
>> native:saveselectedfeatures -> Extract selected features
>> native:segmentizebymaxangle -> Segmentize by maximum angle
>> native:segmentizebymaxdistance -> Segmentize by maximum distance
>> native:selectbylocation -> Select by location
>> native:serviceareafromlayer -> Service area (from layer)
>> native:serviceareafrompoint -> Service area (from point)
>> native:setlayerencoding -> Set layer encoding
>> native:setlayerstyle -> Set layer style
>> native:setmfromraster -> Set M value from raster
>> native:setmvalue -> Set M value
>> native:setprojectvariable -> Set project variable
>> native:setzfromraster -> Drape (set Z value from raster)
>> native:setzvalue -> Set Z value
>> native:shortestpathlayertopoint -> Shortest path (layer to point)
>> native:shortestpathpointtolayer -> Shortest path (point to layer)
>> native:shortestpathpointtopoint -> Shortest path (point to point)
>> native:shpencodinginfo -> Extract Shapefile encoding
>> native:simplifygeometries -> Simplify
>> native:singlesidedbuffer -> Single sided buffer
>> native:slope -> Slope
>> native:smoothgeometry -> Smooth
>> native:snapgeometries -> Snap geometries to layer
>> native:snappointstogrid -> Snap points to grid
>> native:spatialiteexecutesql -> SpatiaLite execute SQL
>> native:spatialiteexecutesqlregistered -> SpatiaLite execute SQL
>> (registered DB)
>> native:splitfeaturesbycharacter -> Split features by character
>> native:splitlinesbylength -> Split lines by maximum length
>> native:splitvectorlayer -> Split vector layer
>> native:splitwithlines -> Split with lines
>> native:stringconcatenation -> String concatenation
>> native:stylefromproject -> Create style database from project
>> native:subdivide -> Subdivide
>> native:sumlinelengths -> Sum line lengths
>> native:swapxy -> Swap X and Y coordinates
>> native:symmetricaldifference -> Symmetrical difference
>> native:taperedbuffer -> Tapered buffers
>> native:tinmeshcreation -> TIN Mesh Creation
>> native:transect -> Transect
>> native:translategeometry -> Translate
>> native:truncatetable -> Truncate table
>> native:union -> Union
>> native:wedgebuffers -> Create wedge buffers
>> native:writevectortiles_mbtiles -> Write Vector Tiles (MBTiles)
>> native:writevectortiles_xyz -> Write Vector Tiles (XYZ)
>> native:zonalhistogram -> Zonal histogram
>> native:zonalstatistics -> Zonal statistics
>> native:zonalstatisticsfb -> Zonal statistics
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> [hidden email]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Richard Duivenvoorde
In reply to this post by Hernán De Angelis-5
On 3/2/21 9:51 AM, Hernán De Angelis wrote:
> On 2021-03-02 09:48, Alexandre Neto wrote:
>> Might seem obvious, but have you tried using a brand new profile?
>>
> Yes, I just forgot to add that to the description below.

Or even a new profiles_path ?

$ qgis --help
QGIS is a user friendly Open Source Geographic Information System.
Usage: qgis [OPTION] [FILE]
  OPTION:
        [--version] display version information and exit
        [--snapshot filename] emit snapshot of loaded datasets to given file
        [--width width] width of snapshot to emit
        [--height height] height of snapshot to emit
        [--lang language] use language for interface text (changes existing override)
        [--project projectfile] load the given QGIS project
        [--extent xmin,ymin,xmax,ymax] set initial map extent
        [--nologo] hide splash screen
        [--noversioncheck] don't check for new version of QGIS at startup
        [--noplugins] don't restore plugins on startup
        [--nocustomization] don't apply GUI customization
        [--customizationfile path] use the given ini file as GUI customization
        [--globalsettingsfile path] use the given ini file as Global Settings (defaults)
        [--authdbdirectory path] use the given directory for authentication database
        [--code path] run the given python file on load
        [--defaultui] start by resetting user ui settings to default
        [--hide-browser] hide the browser widget
        [--dxf-export filename.dxf] emit dxf output of loaded datasets to given file
        [--dxf-extent xmin,ymin,xmax,ymax] set extent to export to dxf
        [--dxf-symbology-mode none|symbollayer|feature] symbology mode for dxf output
        [--dxf-scale-denom scale] scale for dxf output
        [--dxf-encoding encoding] encoding to use for dxf output
        [--dxf-map-theme maptheme] map theme to use for dxf output
        [--take-screenshots output_path] take screen shots for the user documentation
        [--screenshots-categories categories] specify the categories of screenshot to be used (see QgsAppScreenShots::Categories).
        [--profile name] load a named profile from the users profiles folder.
        [--profiles-path path] path to store user profile folders. Will create profiles inside a {path}\profiles folder
        [--version-migration] force the settings migration from older version if found
        [--openclprogramfolder] path to the folder containing the sources for OpenCL programs.
        [--help] this text
        [--] treat all following arguments as FILEs


So:

qgis --profiles-name /tmp/superclean

I would not know if this would help... but just in case

Richard
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Richard Duivenvoorde
In reply to this post by Hernán De Angelis-5
On 3/2/21 10:41 AM, Hernán De Angelis wrote:

>
> On 2021-03-02 10:21, Nyall Dawson wrote:
>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>> <[hidden email]> wrote:
>>> Hi,
>>>
>>> I wrote about this a few days ago in the user list but I still have the
>>> problem and can find neither a cause nor a solution. I thus post it in
>>> this list in the hope that some developer may have a hint on what is
>>> going wrong here.
>> Double check that you have the gdal python packages installed
>
> Thanks for this,
>
> from osgeo import gdal
>
> just works, so I guess it is installed.

What is the value of
BINDINGS_GLOBAL_INSTALL
in your compile config?

Looks like something is not picked up with your install.

What if you run qgis 31.8 from the 'output/bin' dir in your build directory?

If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME

I did in ~/bin/qgis_/3.18/debug (for debug build):

And create a startup script like

export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
export QGIS_DEBUG=0
# passing ALL parameters to qgis bin
# eg to be able to call a certain translation
# qgis --lang nl
~/bin/qgis_/3.18/debug/bin/qgis "$@"

Suc6

Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
In reply to this post by Richard Duivenvoorde
On 2021-03-02 10:45, Richard Duivenvoorde wrote:

> On 3/2/21 9:51 AM, Hernán De Angelis wrote:
>> On 2021-03-02 09:48, Alexandre Neto wrote:
>>> Might seem obvious, but have you tried using a brand new profile?
>>>
>> Yes, I just forgot to add that to the description below.
> Or even a new profiles_path ?
>
> $ qgis --help
> QGIS is a user friendly Open Source Geographic Information System.
> Usage: qgis [OPTION] [FILE]
>    OPTION:
> [--version] display version information and exit
> [--snapshot filename] emit snapshot of loaded datasets to given file
> [--width width] width of snapshot to emit
> [--height height] height of snapshot to emit
> [--lang language] use language for interface text (changes existing override)
> [--project projectfile] load the given QGIS project
> [--extent xmin,ymin,xmax,ymax] set initial map extent
> [--nologo] hide splash screen
> [--noversioncheck] don't check for new version of QGIS at startup
> [--noplugins] don't restore plugins on startup
> [--nocustomization] don't apply GUI customization
> [--customizationfile path] use the given ini file as GUI customization
> [--globalsettingsfile path] use the given ini file as Global Settings (defaults)
> [--authdbdirectory path] use the given directory for authentication database
> [--code path] run the given python file on load
> [--defaultui] start by resetting user ui settings to default
> [--hide-browser] hide the browser widget
> [--dxf-export filename.dxf] emit dxf output of loaded datasets to given file
> [--dxf-extent xmin,ymin,xmax,ymax] set extent to export to dxf
> [--dxf-symbology-mode none|symbollayer|feature] symbology mode for dxf output
> [--dxf-scale-denom scale] scale for dxf output
> [--dxf-encoding encoding] encoding to use for dxf output
> [--dxf-map-theme maptheme] map theme to use for dxf output
> [--take-screenshots output_path] take screen shots for the user documentation
> [--screenshots-categories categories] specify the categories of screenshot to be used (see QgsAppScreenShots::Categories).
> [--profile name] load a named profile from the users profiles folder.
> [--profiles-path path] path to store user profile folders. Will create profiles inside a {path}\profiles folder
> [--version-migration] force the settings migration from older version if found
> [--openclprogramfolder] path to the folder containing the sources for OpenCL programs.
> [--help] this text
> [--] treat all following arguments as FILEs
>
>
> So:
>
> qgis --profiles-name /tmp/superclean
>
> I would not know if this would help... but just in case

Thanks you Richard, but that did not work either.

Thanks Alexander and Nyall too.


This is happening in a fresh install (one month old) of openSUSE
Tumbleweed in a new machine. No older profiles to blame here. Also I did
delete the profiles many times.

No clue by now, will have to keep looking.

Thanks again everyone

Hernán

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
In reply to this post by Richard Duivenvoorde

On 2021-03-02 10:51, Richard Duivenvoorde wrote:

> On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>> On 2021-03-02 10:21, Nyall Dawson wrote:
>>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>>> <[hidden email]> wrote:
>>>> Hi,
>>>>
>>>> I wrote about this a few days ago in the user list but I still have the
>>>> problem and can find neither a cause nor a solution. I thus post it in
>>>> this list in the hope that some developer may have a hint on what is
>>>> going wrong here.
>>> Double check that you have the gdal python packages installed
>> Thanks for this,
>>
>> from osgeo import gdal
>>
>> just works, so I guess it is installed.
> What is the value of
> BINDINGS_GLOBAL_INSTALL
> in your compile config?
The value is "YES"
>
> Looks like something is not picked up with your install.
Agree
>
> What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
Behaves just the same

>
> If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>
> I did in ~/bin/qgis_/3.18/debug (for debug build):
>
> And create a startup script like
>
> export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
> export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
> export QGIS_DEBUG=0
> # passing ALL parameters to qgis bin
> # eg to be able to call a certain translation
> # qgis --lang nl
> ~/bin/qgis_/3.18/debug/bin/qgis "$@"

Thanks, will think about this and try it.

Thank you again for your ansers. I see I have a sort of linking/library
problem. GRASS is installed and GRASS modules are compiled but then
these do not appear either in the menu.


/Hernán


>
> Suc6
>
> Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Tim Sutton-6
Hi

Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).

Regards

Tim

On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:

On 2021-03-02 10:51, Richard Duivenvoorde wrote:
> On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>> On 2021-03-02 10:21, Nyall Dawson wrote:
>>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>>> <[hidden email]> wrote:
>>>> Hi,
>>>>
>>>> I wrote about this a few days ago in the user list but I still have the
>>>> problem and can find neither a cause nor a solution. I thus post it in
>>>> this list in the hope that some developer may have a hint on what is
>>>> going wrong here.
>>> Double check that you have the gdal python packages installed
>> Thanks for this,
>>
>> from osgeo import gdal
>>
>> just works, so I guess it is installed.
> What is the value of
> BINDINGS_GLOBAL_INSTALL
> in your compile config?
The value is "YES"
>
> Looks like something is not picked up with your install.
Agree
>
> What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
Behaves just the same
>
> If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>
> I did in ~/bin/qgis_/3.18/debug (for debug build):
>
> And create a startup script like
>
> export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
> export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
> export QGIS_DEBUG=0
> # passing ALL parameters to qgis bin
> # eg to be able to call a certain translation
> # qgis --lang nl
> ~/bin/qgis_/3.18/debug/bin/qgis "$@"

Thanks, will think about this and try it.

Thank you again for your ansers. I see I have a sort of linking/library
problem. GRASS is installed and GRASS modules are compiled but then
these do not appear either in the menu.


/Hernán


>
> Suc6
>
> Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
------------------------------------------------------------------------------------------

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Nyall Dawson
On Wed, 3 Mar 2021 at 09:10, Tim Sutton <[hidden email]> wrote:
>
> Hi
>
> Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).

Ah -- that was the one!  I thought it was gdal for some reason...
flaky memory :)

We should really investigate why this caused a silent failure to show
the algorithms instead of an error...

Nyall


>
> Regards
>
> Tim
>
> On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:
>>
>>
>> On 2021-03-02 10:51, Richard Duivenvoorde wrote:
>> > On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>> >> On 2021-03-02 10:21, Nyall Dawson wrote:
>> >>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>> >>> <[hidden email]> wrote:
>> >>>> Hi,
>> >>>>
>> >>>> I wrote about this a few days ago in the user list but I still have the
>> >>>> problem and can find neither a cause nor a solution. I thus post it in
>> >>>> this list in the hope that some developer may have a hint on what is
>> >>>> going wrong here.
>> >>> Double check that you have the gdal python packages installed
>> >> Thanks for this,
>> >>
>> >> from osgeo import gdal
>> >>
>> >> just works, so I guess it is installed.
>> > What is the value of
>> > BINDINGS_GLOBAL_INSTALL
>> > in your compile config?
>> The value is "YES"
>> >
>> > Looks like something is not picked up with your install.
>> Agree
>> >
>> > What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
>> Behaves just the same
>> >
>> > If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>> >
>> > I did in ~/bin/qgis_/3.18/debug (for debug build):
>> >
>> > And create a startup script like
>> >
>> > export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
>> > export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
>> > export QGIS_DEBUG=0
>> > # passing ALL parameters to qgis bin
>> > # eg to be able to call a certain translation
>> > # qgis --lang nl
>> > ~/bin/qgis_/3.18/debug/bin/qgis "$@"
>>
>> Thanks, will think about this and try it.
>>
>> Thank you again for your ansers. I see I have a sort of linking/library
>> problem. GRASS is installed and GRASS modules are compiled but then
>> these do not appear either in the menu.
>>
>>
>> /Hernán
>>
>>
>> >
>> > Suc6
>> >
>> > Richard Duivenvoorde
>> _______________________________________________
>> QGIS-Developer mailing list
>> [hidden email]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> ------------------------------------------------------------------------------------------
>
> Tim Sutton
> Visit http://kartoza.com to find out about open source:
>  * Desktop GIS programming services
>  * Geospatial web development
> * GIS Training
> * Consulting Services
> Tim is a member of the QGIS Project Steering Committee
> -------------------------------------------------------------------------------------------
> _______________________________________________
> QGIS-Developer mailing list
> [hidden email]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Nyall Dawson
On Wed, 3 Mar 2021 at 09:12, Nyall Dawson <[hidden email]> wrote:

>
> On Wed, 3 Mar 2021 at 09:10, Tim Sutton <[hidden email]> wrote:
> >
> > Hi
> >
> > Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).
>
> Ah -- that was the one!  I thought it was gdal for some reason...
> flaky memory :)
>
> We should really investigate why this caused a silent failure to show
> the algorithms instead of an error...

Or I could JFDI :P https://github.com/qgis/QGIS/pull/41985

Nyall


>
> Nyall
>
>
> >
> > Regards
> >
> > Tim
> >
> > On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:
> >>
> >>
> >> On 2021-03-02 10:51, Richard Duivenvoorde wrote:
> >> > On 3/2/21 10:41 AM, Hernán De Angelis wrote:
> >> >> On 2021-03-02 10:21, Nyall Dawson wrote:
> >> >>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
> >> >>> <[hidden email]> wrote:
> >> >>>> Hi,
> >> >>>>
> >> >>>> I wrote about this a few days ago in the user list but I still have the
> >> >>>> problem and can find neither a cause nor a solution. I thus post it in
> >> >>>> this list in the hope that some developer may have a hint on what is
> >> >>>> going wrong here.
> >> >>> Double check that you have the gdal python packages installed
> >> >> Thanks for this,
> >> >>
> >> >> from osgeo import gdal
> >> >>
> >> >> just works, so I guess it is installed.
> >> > What is the value of
> >> > BINDINGS_GLOBAL_INSTALL
> >> > in your compile config?
> >> The value is "YES"
> >> >
> >> > Looks like something is not picked up with your install.
> >> Agree
> >> >
> >> > What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
> >> Behaves just the same
> >> >
> >> > If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
> >> >
> >> > I did in ~/bin/qgis_/3.18/debug (for debug build):
> >> >
> >> > And create a startup script like
> >> >
> >> > export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
> >> > export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
> >> > export QGIS_DEBUG=0
> >> > # passing ALL parameters to qgis bin
> >> > # eg to be able to call a certain translation
> >> > # qgis --lang nl
> >> > ~/bin/qgis_/3.18/debug/bin/qgis "$@"
> >>
> >> Thanks, will think about this and try it.
> >>
> >> Thank you again for your ansers. I see I have a sort of linking/library
> >> problem. GRASS is installed and GRASS modules are compiled but then
> >> these do not appear either in the menu.
> >>
> >>
> >> /Hernán
> >>
> >>
> >> >
> >> > Suc6
> >> >
> >> > Richard Duivenvoorde
> >> _______________________________________________
> >> QGIS-Developer mailing list
> >> [hidden email]
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> >
> > --
> > ------------------------------------------------------------------------------------------
> >
> > Tim Sutton
> > Visit http://kartoza.com to find out about open source:
> >  * Desktop GIS programming services
> >  * Geospatial web development
> > * GIS Training
> > * Consulting Services
> > Tim is a member of the QGIS Project Steering Committee
> > -------------------------------------------------------------------------------------------
> > _______________________________________________
> > QGIS-Developer mailing list
> > [hidden email]
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Tim Sutton-6
In reply to this post by Nyall Dawson
Hi

I made this so my previous noodling around to fix the issue are captured somewhere:


I guess QgsRuntimeProfiler.profile is just sweeping the exceptions under the rug rather than letting them surface?

Regards

Tim

On Tue, Mar 2, 2021 at 11:12 PM Nyall Dawson <[hidden email]> wrote:
On Wed, 3 Mar 2021 at 09:10, Tim Sutton <[hidden email]> wrote:
>
> Hi
>
> Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).

Ah -- that was the one!  I thought it was gdal for some reason...
flaky memory :)

We should really investigate why this caused a silent failure to show
the algorithms instead of an error...

Nyall


>
> Regards
>
> Tim
>
> On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:
>>
>>
>> On 2021-03-02 10:51, Richard Duivenvoorde wrote:
>> > On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>> >> On 2021-03-02 10:21, Nyall Dawson wrote:
>> >>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>> >>> <[hidden email]> wrote:
>> >>>> Hi,
>> >>>>
>> >>>> I wrote about this a few days ago in the user list but I still have the
>> >>>> problem and can find neither a cause nor a solution. I thus post it in
>> >>>> this list in the hope that some developer may have a hint on what is
>> >>>> going wrong here.
>> >>> Double check that you have the gdal python packages installed
>> >> Thanks for this,
>> >>
>> >> from osgeo import gdal
>> >>
>> >> just works, so I guess it is installed.
>> > What is the value of
>> > BINDINGS_GLOBAL_INSTALL
>> > in your compile config?
>> The value is "YES"
>> >
>> > Looks like something is not picked up with your install.
>> Agree
>> >
>> > What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
>> Behaves just the same
>> >
>> > If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>> >
>> > I did in ~/bin/qgis_/3.18/debug (for debug build):
>> >
>> > And create a startup script like
>> >
>> > export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
>> > export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
>> > export QGIS_DEBUG=0
>> > # passing ALL parameters to qgis bin
>> > # eg to be able to call a certain translation
>> > # qgis --lang nl
>> > ~/bin/qgis_/3.18/debug/bin/qgis "$@"
>>
>> Thanks, will think about this and try it.
>>
>> Thank you again for your ansers. I see I have a sort of linking/library
>> problem. GRASS is installed and GRASS modules are compiled but then
>> these do not appear either in the menu.
>>
>>
>> /Hernán
>>
>>
>> >
>> > Suc6
>> >
>> > Richard Duivenvoorde
>> _______________________________________________
>> QGIS-Developer mailing list
>> [hidden email]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> ------------------------------------------------------------------------------------------
>
> Tim Sutton
> Visit http://kartoza.com to find out about open source:
>  * Desktop GIS programming services
>  * Geospatial web development
> * GIS Training
> * Consulting Services
> Tim is a member of the QGIS Project Steering Committee
> -------------------------------------------------------------------------------------------
> _______________________________________________
> QGIS-Developer mailing list
> [hidden email]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
------------------------------------------------------------------------------------------

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Tim Sutton-6
In reply to this post by Nyall Dawson
Haha, thanks! You are fixing the issue faster than I can document it :-P

Regards

Tim

On Tue, Mar 2, 2021 at 11:41 PM Nyall Dawson <[hidden email]> wrote:
On Wed, 3 Mar 2021 at 09:12, Nyall Dawson <[hidden email]> wrote:
>
> On Wed, 3 Mar 2021 at 09:10, Tim Sutton <[hidden email]> wrote:
> >
> > Hi
> >
> > Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).
>
> Ah -- that was the one!  I thought it was gdal for some reason...
> flaky memory :)
>
> We should really investigate why this caused a silent failure to show
> the algorithms instead of an error...

Or I could JFDI :P https://github.com/qgis/QGIS/pull/41985

Nyall


>
> Nyall
>
>
> >
> > Regards
> >
> > Tim
> >
> > On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:
> >>
> >>
> >> On 2021-03-02 10:51, Richard Duivenvoorde wrote:
> >> > On 3/2/21 10:41 AM, Hernán De Angelis wrote:
> >> >> On 2021-03-02 10:21, Nyall Dawson wrote:
> >> >>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
> >> >>> <[hidden email]> wrote:
> >> >>>> Hi,
> >> >>>>
> >> >>>> I wrote about this a few days ago in the user list but I still have the
> >> >>>> problem and can find neither a cause nor a solution. I thus post it in
> >> >>>> this list in the hope that some developer may have a hint on what is
> >> >>>> going wrong here.
> >> >>> Double check that you have the gdal python packages installed
> >> >> Thanks for this,
> >> >>
> >> >> from osgeo import gdal
> >> >>
> >> >> just works, so I guess it is installed.
> >> > What is the value of
> >> > BINDINGS_GLOBAL_INSTALL
> >> > in your compile config?
> >> The value is "YES"
> >> >
> >> > Looks like something is not picked up with your install.
> >> Agree
> >> >
> >> > What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
> >> Behaves just the same
> >> >
> >> > If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
> >> >
> >> > I did in ~/bin/qgis_/3.18/debug (for debug build):
> >> >
> >> > And create a startup script like
> >> >
> >> > export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
> >> > export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
> >> > export QGIS_DEBUG=0
> >> > # passing ALL parameters to qgis bin
> >> > # eg to be able to call a certain translation
> >> > # qgis --lang nl
> >> > ~/bin/qgis_/3.18/debug/bin/qgis "$@"
> >>
> >> Thanks, will think about this and try it.
> >>
> >> Thank you again for your ansers. I see I have a sort of linking/library
> >> problem. GRASS is installed and GRASS modules are compiled but then
> >> these do not appear either in the menu.
> >>
> >>
> >> /Hernán
> >>
> >>
> >> >
> >> > Suc6
> >> >
> >> > Richard Duivenvoorde
> >> _______________________________________________
> >> QGIS-Developer mailing list
> >> [hidden email]
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> >
> > --
> > ------------------------------------------------------------------------------------------
> >
> > Tim Sutton
> > Visit http://kartoza.com to find out about open source:
> >  * Desktop GIS programming services
> >  * Geospatial web development
> > * GIS Training
> > * Consulting Services
> > Tim is a member of the QGIS Project Steering Committee
> > -------------------------------------------------------------------------------------------
> > _______________________________________________
> > QGIS-Developer mailing list
> > [hidden email]
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
------------------------------------------------------------------------------------------

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
In reply to this post by Tim Sutton-6
On 2021-03-03 00:10, Tim Sutton wrote:
Hi

Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).

YES! That was the problem!

Now I have all the tools, including GRASS and GDAL, and Voronoi of course.

Thank you!

Hernán




Regards

Tim

On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:

On 2021-03-02 10:51, Richard Duivenvoorde wrote:
> On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>> On 2021-03-02 10:21, Nyall Dawson wrote:
>>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>>> <[hidden email]> wrote:
>>>> Hi,
>>>>
>>>> I wrote about this a few days ago in the user list but I still have the
>>>> problem and can find neither a cause nor a solution. I thus post it in
>>>> this list in the hope that some developer may have a hint on what is
>>>> going wrong here.
>>> Double check that you have the gdal python packages installed
>> Thanks for this,
>>
>> from osgeo import gdal
>>
>> just works, so I guess it is installed.
> What is the value of
> BINDINGS_GLOBAL_INSTALL
> in your compile config?
The value is "YES"
>
> Looks like something is not picked up with your install.
Agree
>
> What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
Behaves just the same
>
> If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>
> I did in ~/bin/qgis_/3.18/debug (for debug build):
>
> And create a startup script like
>
> export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
> export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
> export QGIS_DEBUG=0
> # passing ALL parameters to qgis bin
> # eg to be able to call a certain translation
> # qgis --lang nl
> ~/bin/qgis_/3.18/debug/bin/qgis "$@"

Thanks, will think about this and try it.

Thank you again for your ansers. I see I have a sort of linking/library
problem. GRASS is installed and GRASS modules are compiled but then
these do not appear either in the menu.


/Hernán


>
> Suc6
>
> Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
------------------------------------------------------------------------------------------

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Hernán De Angelis-5
In reply to this post by Nyall Dawson

On 2021-03-03 00:12, Nyall Dawson wrote:
> On Wed, 3 Mar 2021 at 09:10, Tim Sutton <[hidden email]> wrote:
>> Hi
>>
>> Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).
> Ah -- that was the one!  I thought it was gdal for some reason...
> flaky memory :)
>
> We should really investigate why this caused a silent failure to show
> the algorithms instead of an error...

Yes, an error message could be beneficial. I remember from previous
installations that QGIS would complain on opening that psycopg (or other
python modules) weren't installed.

/H.




>
> Nyall
>
>
>> Regards
>>
>> Tim
>>
>> On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:
>>>
>>> On 2021-03-02 10:51, Richard Duivenvoorde wrote:
>>>> On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>>>>> On 2021-03-02 10:21, Nyall Dawson wrote:
>>>>>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>>>>>> <[hidden email]> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I wrote about this a few days ago in the user list but I still have the
>>>>>>> problem and can find neither a cause nor a solution. I thus post it in
>>>>>>> this list in the hope that some developer may have a hint on what is
>>>>>>> going wrong here.
>>>>>> Double check that you have the gdal python packages installed
>>>>> Thanks for this,
>>>>>
>>>>> from osgeo import gdal
>>>>>
>>>>> just works, so I guess it is installed.
>>>> What is the value of
>>>> BINDINGS_GLOBAL_INSTALL
>>>> in your compile config?
>>> The value is "YES"
>>>> Looks like something is not picked up with your install.
>>> Agree
>>>> What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
>>> Behaves just the same
>>>> If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>>>>
>>>> I did in ~/bin/qgis_/3.18/debug (for debug build):
>>>>
>>>> And create a startup script like
>>>>
>>>> export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
>>>> export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
>>>> export QGIS_DEBUG=0
>>>> # passing ALL parameters to qgis bin
>>>> # eg to be able to call a certain translation
>>>> # qgis --lang nl
>>>> ~/bin/qgis_/3.18/debug/bin/qgis "$@"
>>> Thanks, will think about this and try it.
>>>
>>> Thank you again for your ansers. I see I have a sort of linking/library
>>> problem. GRASS is installed and GRASS modules are compiled but then
>>> these do not appear either in the menu.
>>>
>>>
>>> /Hernán
>>>
>>>
>>>> Suc6
>>>>
>>>> Richard Duivenvoorde
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> [hidden email]
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> --
>> ------------------------------------------------------------------------------------------
>>
>> Tim Sutton
>> Visit http://kartoza.com to find out about open source:
>>   * Desktop GIS programming services
>>   * Geospatial web development
>> * GIS Training
>> * Consulting Services
>> Tim is a member of the QGIS Project Steering Committee
>> -------------------------------------------------------------------------------------------
>> _______________________________________________
>> QGIS-Developer mailing list
>> [hidden email]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Voronoi tool missing from processing, what could be wrong?

Tim Sutton-6
Hi

On Wed, Mar 3, 2021 at 7:58 AM Hernán De Angelis <[hidden email]> wrote:

On 2021-03-03 00:12, Nyall Dawson wrote:
> On Wed, 3 Mar 2021 at 09:10, Tim Sutton <[hidden email]> wrote:
>> Hi
>>
>> Can you check if you have python-psycopg2 installed on your system? I had a similar issue a month or two back which was fixed by installing it. (Thanks for the nudge Nyall).
> Ah -- that was the one!  I thought it was gdal for some reason...
> flaky memory :)
>
> We should really investigate why this caused a silent failure to show
> the algorithms instead of an error...

Yes, an error message could be beneficial. I remember from previous
installations that QGIS would complain on opening that psycopg (or other
python modules) weren't installed.

Yes Nyall has already taken care of it:


Regards

Tim

/H.




>
> Nyall
>
>
>> Regards
>>
>> Tim
>>
>> On Tue, Mar 2, 2021 at 11:19 AM Hernán De Angelis <[hidden email]> wrote:
>>>
>>> On 2021-03-02 10:51, Richard Duivenvoorde wrote:
>>>> On 3/2/21 10:41 AM, Hernán De Angelis wrote:
>>>>> On 2021-03-02 10:21, Nyall Dawson wrote:
>>>>>> On Tue, 2 Mar 2021 at 18:34, Hernán De Angelis
>>>>>> <[hidden email]> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I wrote about this a few days ago in the user list but I still have the
>>>>>>> problem and can find neither a cause nor a solution. I thus post it in
>>>>>>> this list in the hope that some developer may have a hint on what is
>>>>>>> going wrong here.
>>>>>> Double check that you have the gdal python packages installed
>>>>> Thanks for this,
>>>>>
>>>>> from osgeo import gdal
>>>>>
>>>>> just works, so I guess it is installed.
>>>> What is the value of
>>>> BINDINGS_GLOBAL_INSTALL
>>>> in your compile config?
>>> The value is "YES"
>>>> Looks like something is not picked up with your install.
>>> Agree
>>>> What if you run qgis 31.8 from the 'output/bin' dir in your build directory?
>>> Behaves just the same
>>>> If all fails I would (I think) compile and set CMAKE_INSTALL_PREFIX in some local dir in your HOME
>>>>
>>>> I did in ~/bin/qgis_/3.18/debug (for debug build):
>>>>
>>>> And create a startup script like
>>>>
>>>> export LD_LIBRARY_PATH=~/bin/qgis_/3.18/debug/lib/:/usr/lib/grass78/lib/
>>>> export PYTHONPATH=~/bin/qgis_/3.18/debug/share/qgis/python:$PYTHONPATH
>>>> export QGIS_DEBUG=0
>>>> # passing ALL parameters to qgis bin
>>>> # eg to be able to call a certain translation
>>>> # qgis --lang nl
>>>> ~/bin/qgis_/3.18/debug/bin/qgis "$@"
>>> Thanks, will think about this and try it.
>>>
>>> Thank you again for your ansers. I see I have a sort of linking/library
>>> problem. GRASS is installed and GRASS modules are compiled but then
>>> these do not appear either in the menu.
>>>
>>>
>>> /Hernán
>>>
>>>
>>>> Suc6
>>>>
>>>> Richard Duivenvoorde
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> [hidden email]
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> --
>> ------------------------------------------------------------------------------------------
>>
>> Tim Sutton
>> Visit http://kartoza.com to find out about open source:
>>   * Desktop GIS programming services
>>   * Geospatial web development
>> * GIS Training
>> * Consulting Services
>> Tim is a member of the QGIS Project Steering Committee
>> -------------------------------------------------------------------------------------------
>> _______________________________________________
>> QGIS-Developer mailing list
>> [hidden email]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
------------------------------------------------------------------------------------------

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer