Re: [QGIS-Developer] Qt WebEngine in QGIS 3.36
Sorry Like that from qgs.PyQt.QtWebEngineWidgets import QWebEngineView, QWebEnginePage from qgis.PyQt.QtCore import QCoreApplication, QObject from qgis.PyQt.QtWidgets import QAction from qgis.core import QgsApplication from qgis.gui import QgsMapCanvas Il dom 26 mag 2024, 11:17 Enzo Cocca ha scritto: > Hi Enrico, have you tried to import early the qwebengine before the other > modules? > > Like that example: > > from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage > from qgis.PyQt.QtCore import QCoreApplication, QObject > from qgis.PyQt.QtWidgets import QAction > from qgis.core import QgsApplication > from qgis.gui import QgsMapCanvas > > class MyPlugin(QObject): > def __init__(self, iface): > super().__init__() > self.iface = iface > self.web_view = QWebEngineView() > self.web_view.setPage(QWebEnginePage()) > self.initGui() > > I fixed the same problem in this way but I use windows not Linux > > Best > E > > Il dom 26 mag 2024, 10:42 Enrico Ferreguti via QGIS-Developer < > qgis-developer@lists.osgeo.org> ha scritto: > >> Dear QGIS developers, I would need your support to update my plugins. >> >> I read that Qt WebEngine, from QGIS >> >> 3.36.3-Maidenhead, QT 5.15.3, is available for plugins: >> https://changelog.qgis.org/en/entry/2607 >> >> But on Ubuntu Jammy LTS 22.04 and a fresh QGIS 3.36.3-Maidenhead with QT >> 5.15.3, when I try to import from QT5: >> from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage, >> >> I get an exception: >> ImportError: QtWebEngineWidgets must be imported before a >> QCoreApplication instance is created >> >> and when I do the same from python3 in bash I get no exceptions >> >> Where Am I wrong? Is there something different to do for importing >> QtWebEngineWidgets ? >> Can you point me to a running example? >> >> Thank you very much. >> Enrico Ferreguti >> >> >> ___ >> QGIS-Developer mailing list >> QGIS-Developer@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> > ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Qt WebEngine in QGIS 3.36
Hi Enrico, have you tried to import early the qwebengine before the other modules? Like that example: from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage from qgis.PyQt.QtCore import QCoreApplication, QObject from qgis.PyQt.QtWidgets import QAction from qgis.core import QgsApplication from qgis.gui import QgsMapCanvas class MyPlugin(QObject): def __init__(self, iface): super().__init__() self.iface = iface self.web_view = QWebEngineView() self.web_view.setPage(QWebEnginePage()) self.initGui() I fixed the same problem in this way but I use windows not Linux Best E Il dom 26 mag 2024, 10:42 Enrico Ferreguti via QGIS-Developer < qgis-developer@lists.osgeo.org> ha scritto: > Dear QGIS developers, I would need your support to update my plugins. > > I read that Qt WebEngine, from QGIS > > 3.36.3-Maidenhead, QT 5.15.3, is available for plugins: > https://changelog.qgis.org/en/entry/2607 > > But on Ubuntu Jammy LTS 22.04 and a fresh QGIS 3.36.3-Maidenhead with QT > 5.15.3, when I try to import from QT5: > from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage, > > I get an exception: > ImportError: QtWebEngineWidgets must be imported before a QCoreApplication > instance is created > > and when I do the same from python3 in bash I get no exceptions > > Where Am I wrong? Is there something different to do for importing > QtWebEngineWidgets ? > Can you point me to a running example? > > Thank you very much. > Enrico Ferreguti > > > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] qgis 3.24.2 crash when try to open the field calculator
Hello, after the last update to qgis , when try to open the field calculator , it crash. below the report error: Python Stack Trace Windows fatal exception: access violation Current thread 0x4a04 (most recent call first): Stack Trace No stack trace is available. QGIS Info QGIS Version: 3.24.2-Tisler QGIS code revision: 13c1a02865 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.4.3 Running against GDAL: 3.4.3 System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.19044 How can I fix it? thx. E -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Run python script whit QProcess and show into textEdit the result in realtime
I wolud print the result during my script run via Qprocess but nothing happen. I thinking I wrote wrong the args into process start but im not sure. Some one has an idea? Below my code class TotalopenstationDialog(QtWidgets.QDialog, FORM_CLASS): def __init__(self, parent=None): """Constructor.""" super(TotalopenstationDialog, self).__init__(parent) self.setupUi(self) def dataReady(self): cursor = self.textEdit.textCursor() cursor.movePosition(cursor.End) cursor.insertText(str(self.process.readAll())) self.textEdit.ensureCursorVisible() def callProgram(self): # run the process # `start` takes the exec and a list of arguments python_path = sys.exec_prefix python_version = sys.version[:3] p = '{}\python'.format(python_path) b=QgsApplication.qgisSettingsDirPath().replace("/","\\")#this one works for windows path cmd = os.path.join(os.sep, b, 'python', 'plugins', 'totalopenstationToQgis', 'scripts', 'totalopenstation-cli-parser.py') self.process = QProcess(self) # QProcess emits `readyRead` when there is data to be read self.process.readyRead.connect(self.dataReady) self.process.start(p, [cmd, '-i',str(self.lineEdit_input.text()),'-o',str(self.lineEdit_output.text()),'-f',self.comboBox_format.currentText(),'-t',self.comboBox_format2.currentText(),'--overwrite']) def on_pushButton_connect_pressed(self): self.callProgram() -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Rscript load output into qgis from folder
hi, just to inform you I solved the problem: this works for me .. r<-movecost(dtm=DTM, origin=Origin, destin=Destination, funct=Function, time=Time, outp=Outp, move=Move, breaks=Breaks, return.base=TRUE, cogn.slp=TRUE, sl.crit=Critical_Slope, W=Walker_Body_Weight, L=Carried_Load_Weight, N=N, V=Speed, z=Zoom_Level, rb.lty=RL, cont.lab=TRUE, destin.lab=TRUE, cex.breaks=CB, cex.lcp.lab=CLL, oneplot=FALSE, export=FALSE) raster.sp <- as(r$accumulated.cost.raster, "SpatialPixelsDataFrame") Output_Accum_Cost_Surface=raster.sp a1.sp<-as(r$isolines, "SpatialLinesDataFrame") Output_Isoline=a1.sp b1.sp<-as(r$LCPs, "SpatialLinesDataFrame") Output_LCP=b1.sp lback.sp<-as(r$LCPs.back, "SpatialLinesDataFrame") Output_LCP_Back=lback.sp dd.sp<-as(r$dest.loc.w.cost, "SpatialPointsDataFrame") Output_W_Cost=dd.sp Il giorno gio 1 lug 2021 alle ore 13:48 Enzo Cocca ha scritto: > Hi again, > At moment the solution I found it is this but is not very great. > > So I add two R packages more (GmAMisc to import raster and vector, and > tkcl to print a message box) > > below the code: > > ##load_vector_using_rgdal > ##load_raster_using_rgdal > ##movecost script=group > ##DTM=raster > ##Origin=vector point > ##Destination=vector point > ##Movecost=name > ##Move=number 8 > ##Breaks=number 0.5 > ##Function=selection > t;tofp;mp;icmonp;icmoffp;icfonp;ug;alb;gkrs;r;ree;hrz;wcs;p;vl;ls;b;icfoffp > ; > ##Time=selection h;m ; > ##Outp=selection r;c ; > ##Return_Base=selection TRUE;FALSE ; > ##Cognitive_Slope=selection FALSE;TRUE ; > ##Critical_Slope=number 1 > ##Walker_Body_Weight=number 70 > ##Carried_Load_Weight=number 0 > ##N=number 1 > ##Speed=number 1 > ##Zoom_Level=number 9 > ##RL=number 2 > ##CL=selection TRUE;FALSE ; > ##DL=selection TRUE;FALSE ; > ##CB=number 0.6 > ##CLL=number 0.6 > ##Output=output folder > ##Output_Isoline=output vector > ##Output_LCP=output vector > ##Output_Isoline=output vector > ##Output_Cost_Surface=output raster > ##Output_Accum_Cost_Surface=output raster > ##showplots > setwd(Output) > > library(tcltk) > library(sp) > library(movecost) > library(GmAMisc) > library(raster) > library(rgdal) > DTM<-raster(DTM) > if(Function==0) > Function=c("t") > if(Function==1) > Function=c("tofp") > if(Function==2) > Function=c("mp") > if(Function==3) > Function=c("icmonp") > if(Function==4) > Function=c("icmoffp") > if(Function==5) > Function=c("icfonp") > if(Function==6) > Function=c("ug") > if(Function==7) > Function=c("alb") > if(Function==8) > Function=c("gkrs") > if(Function==9) > Function=c("r") > if(Function==10) > Function=c("ree") > if(Function==11) > Function=c("hrz") > if(Function==12) > Function=c("wcs") > if(Function==13) > Function=c("p") > if(Function==14) > Function=c("vl") > if(Function==15) > Function=c("ls") > if(Function==16) > Function=c("b") > if(Function==17) > Function=c("icfoffp") > if(Time==0) > Time=c("h") > if(Time==1) > Time=c("m") > if(Outp==0) > Outp=c("r") > if(Outp==1) > Outp=c("c") > if(Return_Base==0) > Return_Base=c(TRUE) > if(Return_Base==1) > Return_Base=c(FALSE) > if(Cognitive_Slope==0) > Cognitive_Slopee=c(TRUE) > if(Cognitive_Slope==1) > Cognitive_Slope=c(FALSE) > > if(CL==0) > CL=c(TRUE) > if(CL==1) > CL=c(FALSE) > > if(DL==0) > DL=c(TRUE) > if(DL==1) > DL=c(FALSE) > result<-movecost(dtm=DTM, origin=Origin, destin=Destination, > funct=Function, time=Time, outp=Outp, move=Move, > breaks=Breaks,return.base=Return_Base, cogn.slp=Cognitive_Slope, > sl.crit=Critical_Slope,W=Walker_Body_Weight,L=Carried_Load_Weight,N=N,V=Speed,z=Zoom_Level,rb.lty=RL,cont.lab=CL,destin.lab=DL,cex.breaks=CB,cex.lcp.lab=CLL, > export=TRUE) > > msgBox <- tkmessageBox(title = "Import Vector", >message = "Import vector isolines .shp!", icon = > "info", type = "ok") > Output_Isoline=impShp() > msgBox2 <- tkmessageBox(title = "Import Vector", >message = "Import vector LCPs .shp!", icon = > "info", type = "ok") > Output_LCP=impShp() > msgBox3 <- tkmessageBox(title = "Import Raster", >message = "Import raster cost surface!", icon = > "info", type = "ok") > raster1<-impRst() > raster1.sp <- as(raster1, "SpatialPi
Re: [QGIS-Developer] Rscript load output into qgis from folder
Hi again, At moment the solution I found it is this but is not very great. So I add two R packages more (GmAMisc to import raster and vector, and tkcl to print a message box) below the code: ##load_vector_using_rgdal ##load_raster_using_rgdal ##movecost script=group ##DTM=raster ##Origin=vector point ##Destination=vector point ##Movecost=name ##Move=number 8 ##Breaks=number 0.5 ##Function=selection t;tofp;mp;icmonp;icmoffp;icfonp;ug;alb;gkrs;r;ree;hrz;wcs;p;vl;ls;b;icfoffp ; ##Time=selection h;m ; ##Outp=selection r;c ; ##Return_Base=selection TRUE;FALSE ; ##Cognitive_Slope=selection FALSE;TRUE ; ##Critical_Slope=number 1 ##Walker_Body_Weight=number 70 ##Carried_Load_Weight=number 0 ##N=number 1 ##Speed=number 1 ##Zoom_Level=number 9 ##RL=number 2 ##CL=selection TRUE;FALSE ; ##DL=selection TRUE;FALSE ; ##CB=number 0.6 ##CLL=number 0.6 ##Output=output folder ##Output_Isoline=output vector ##Output_LCP=output vector ##Output_Isoline=output vector ##Output_Cost_Surface=output raster ##Output_Accum_Cost_Surface=output raster ##showplots setwd(Output) library(tcltk) library(sp) library(movecost) library(GmAMisc) library(raster) library(rgdal) DTM<-raster(DTM) if(Function==0) Function=c("t") if(Function==1) Function=c("tofp") if(Function==2) Function=c("mp") if(Function==3) Function=c("icmonp") if(Function==4) Function=c("icmoffp") if(Function==5) Function=c("icfonp") if(Function==6) Function=c("ug") if(Function==7) Function=c("alb") if(Function==8) Function=c("gkrs") if(Function==9) Function=c("r") if(Function==10) Function=c("ree") if(Function==11) Function=c("hrz") if(Function==12) Function=c("wcs") if(Function==13) Function=c("p") if(Function==14) Function=c("vl") if(Function==15) Function=c("ls") if(Function==16) Function=c("b") if(Function==17) Function=c("icfoffp") if(Time==0) Time=c("h") if(Time==1) Time=c("m") if(Outp==0) Outp=c("r") if(Outp==1) Outp=c("c") if(Return_Base==0) Return_Base=c(TRUE) if(Return_Base==1) Return_Base=c(FALSE) if(Cognitive_Slope==0) Cognitive_Slopee=c(TRUE) if(Cognitive_Slope==1) Cognitive_Slope=c(FALSE) if(CL==0) CL=c(TRUE) if(CL==1) CL=c(FALSE) if(DL==0) DL=c(TRUE) if(DL==1) DL=c(FALSE) result<-movecost(dtm=DTM, origin=Origin, destin=Destination, funct=Function, time=Time, outp=Outp, move=Move, breaks=Breaks,return.base=Return_Base, cogn.slp=Cognitive_Slope, sl.crit=Critical_Slope,W=Walker_Body_Weight,L=Carried_Load_Weight,N=N,V=Speed,z=Zoom_Level,rb.lty=RL,cont.lab=CL,destin.lab=DL,cex.breaks=CB,cex.lcp.lab=CLL, export=TRUE) msgBox <- tkmessageBox(title = "Import Vector", message = "Import vector isolines .shp!", icon = "info", type = "ok") Output_Isoline=impShp() msgBox2 <- tkmessageBox(title = "Import Vector", message = "Import vector LCPs .shp!", icon = "info", type = "ok") Output_LCP=impShp() msgBox3 <- tkmessageBox(title = "Import Raster", message = "Import raster cost surface!", icon = "info", type = "ok") raster1<-impRst() raster1.sp <- as(raster1, "SpatialPixelsDataFrame") # Converting the RasterLayer object to a SpatialPixelsDataFrame object Output_Cost_Surface=raster1.sp msgBox4 <- tkmessageBox(title = "Import Raster", message = "Import raster accum cost surface !", icon = "info", type = "ok") raster2<-impRst() raster2.sp <- as(raster2, "SpatialPixelsDataFrame") # Converting the RasterLayer object to a SpatialPixelsDataFrame object Output_Accum_Cost_Surface=raster2.sp If some one has some tricks better, should very approciate. thanks E Il giorno gio 1 lug 2021 alle ore 11:07 Enzo Cocca ha scritto: > Hi peoples, > I have a question: > In my r script I save (some raster and some vector file) in an a folder. > Is it a method to load my output into qgis? > I can't use output vector and output raster for some reason regarding the > R packages that I use. > > so this one is my script: > > ##load_vector_using_rgdal > ##load_raster_using_rgdal > ##movecost script=group > ##Movecost=name > ##DTM=raster > ##Origin=vector point > ##Destination=vector point > ##Move=number 8 > ##Breaks=number 0.5 > ##Function=selection > t;tofp;mp;icmonp;icmoffp;icfonp;ug;alb;gkrs;r;ree;hrz;wcs;p;vl;ls;b;icfoffp > ##Time=selection h;m > ##Outp=selection r;c > ##Return_Base=selection TRUE;FALSE > ##Cognitive_Slope=selection TRUE;FALSE > ##Critical_Slope=number 1 > ##Walker_Body_Weight=number 70 > ##Carried_Load_Weight=number 0 > ##N=number 1 > ##Speed=number 1 > ##Zoom
[QGIS-Developer] Rscript load output into qgis from folder
Hi peoples, I have a question: In my r script I save (some raster and some vector file) in an a folder. Is it a method to load my output into qgis? I can't use output vector and output raster for some reason regarding the R packages that I use. so this one is my script: ##load_vector_using_rgdal ##load_raster_using_rgdal ##movecost script=group ##Movecost=name ##DTM=raster ##Origin=vector point ##Destination=vector point ##Move=number 8 ##Breaks=number 0.5 ##Function=selection t;tofp;mp;icmonp;icmoffp;icfonp;ug;alb;gkrs;r;ree;hrz;wcs;p;vl;ls;b;icfoffp ##Time=selection h;m ##Outp=selection r;c ##Return_Base=selection TRUE;FALSE ##Cognitive_Slope=selection TRUE;FALSE ##Critical_Slope=number 1 ##Walker_Body_Weight=number 70 ##Carried_Load_Weight=number 0 ##N=number 1 ##Speed=number 1 ##Zoom_Level=number 9 ##RL=number 2 ##CL=selection TRUE;FALSE ##DL=selection TRUE;FALSE ##CB=number 0.6 ##CLL=number 0.6 ##Output=output folder ##showplots setwd(Output) library(sp) library(movecost) library(raster) library(rgdal) DTM<-raster(DTM) if(Function==0) Function=c("t") if(Function==1) Function=c("tofp") if(Function==2) Function=c("mp") if(Function==3) Function=c("icmonp") if(Function==4) Function=c("icmoffp") if(Function==5) Function=c("icfonp") if(Function==6) Function=c("ug") if(Function==7) Function=c("alb") if(Function==8) Function=c("gkrs") if(Function==9) Function=c("r") if(Function==10) Function=c("ree") if(Function==11) Function=c("hrz") if(Function==12) Function=c("wcs") if(Function==13) Function=c("p") if(Function==14) Function=c("vl") if(Function==15) Function=c("ls") if(Function==16) Function=c("b") if(Function==17) Function=c("icfoffp") if(Time==0) Time=c("h") if(Time==1) Time=c("m") if(Outp==0) Outp=c("r") if(Outp==1) Outp=c("c") if(Return_Base==0) Return_Base=c(TRUE) if(Return_Base==1) Return_Base=c(FALSE) if(Cognitive_Slope==0) Cognitive_Slopee=c(TRUE) if(Cognitive_Slope==1) Cognitive_Slope=c(FALSE) if(CL==0) CL=c(TRUE) if(CL==1) CL=c(FALSE) if(DL==0) DL=c(TRUE) if(DL==1) DL=c(FALSE) result<-movecost(dtm=DTM, origin=Origin, destin=Destination, funct=Function, time=Time, outp=Outp, move=Move, breaks=Breaks,return.base=Return_Base, cogn.slp=Cognitive_Slope, sl.crit=Critical_Slope,W=Walker_Body_Weight,L=Carried_Load_Weight,N=N,V=Speed,z=Zoom_Level,rb.lty=RL,cont.lab=CL,destin.lab=DL,cex.breaks=CB,cex.lcp.lab=CLL, export=TRUE) thanks in advance E -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] pyqgis how set filter legend map content in layer panel
Hi, I'm speaking about this: [image: 2021-05-11_08-48-53.jpg] I want check it automatically when load an vector or using this on specific layer E Il giorno mar 11 mag 2021 alle ore 08:41 Richard Duivenvoorde < rdmaili...@duif.net> ha scritto: > On 5/11/21 12:04 AM, Enzo Cocca wrote: > > Hi Alex, > > Thanks for replay. > > Im speaking about the legend into layer panel. I'm not understand if I > can set the filter legend on map when load an view with a style into layer > panel. Into layer panel exist an check toolbox for this and so i would > activate it when load my view or better if possible set the filter just on > specific vectors. > > Not sure, but you are talking about rule base styling, and you want to > change the visibility of one of the 'rules' as if you check the class/rule > in the Layer Manager (or in the Rulebased symbology panel)? > > If so: maybe you can do it via the layer tree api? > > https://www.lutraconsulting.co.uk/blog/2014/07/06/qgis-layer-tree-api-part-1/ > > Find the specific node and enable/disable it? > > Another option is go into the symbology, find the Rule and disable it by > using setActive? > > https://qgis.org/api/3.18/classQgsRuleBasedRenderer_1_1Rule.html#a8306b64ca0ad4371fce04f4297647d35 > > But to be honest: I've no experience with it > > Regards, > > Richard Duivenvoorde > > > -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] pyqgis how set filter legend map content in layer panel
Hi Alex, Thanks for replay. Im speaking about the legend into layer panel. I'm not understand if I can set the filter legend on map when load an view with a style into layer panel. Into layer panel exist an check toolbox for this and so i would activate it when load my view or better if possible set the filter just on specific vectors. I hope I have explained well my question E Il lun 10 mag 2021, 22:45 Alexis R.L. ha scritto: > I assume you are talking about the layout legend. > > Have a look at > https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgslayoutlegend.py > for reference. > > > Alex > > > Le lun. 10 mai 2021 à 03:18, Enzo Cocca a écrit : > >> Hi people, >> >> How in pyqgis can I set filter legend on base map content in layer panel? >> >> I load a vector data and I would set filter legend and I would ask you >> some suggestions >> >> this my code: >> >> groupName="%s " % (self.dat) >> root = QgsProject.instance().layerTreeRoot() >> group = root.addGroup(groupName) >> group.setExpanded(False) >> >> if settings.SERVER == 'sqlite': >> sqliteDB_path = os.path.join(os.sep, 'pyarchinit_DB_folder', >> settings.DATABASE) >> db_file_path = '{}{}'.format(self.HOME, sqliteDB_path) >> >> uri = QgsDataSourceUri() >> uri.setDatabase(db_file_path) >> uri.setDataSource('', 'pyarchinit_us_view', 'the_geom', >> cont_per_string, "ROWID") >> layerUS = QgsVectorLayer(uri.uri(), layer_name_label_us, >> 'spatialite') >> >> srs = QgsCoordinateReferenceSystem(self.SRS, >> QgsCoordinateReferenceSystem.PostgisCrsId) >> >> if layerUS.isValid(): >> style_path = >> '{}{}'.format(self.LAYER_STYLE_PATH_SPATIALITE, 'us_view.qml') >> layerUS.loadNamedStyle(style_path) >> group.insertChildNode(-1, QgsLayerTreeLayer(layerUS)) >> QgsProject.instance().addMapLayers([layerUS], False) >> Thanks >> E >> -- >> Enzo Cocca PhD >> in "Science and Technology for Archaeology and Cultural Heritage" >> >> ISMEO >> International Association of Mediterranean and Oriental Studies >> >> >> mail: enzo@gmail.com >> cell: +393495087014 >> >> ___ >> QGIS-Developer mailing list >> QGIS-Developer@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> > ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] pyqgis how set filter legend map content in layer panel
Hi people, How in pyqgis can I set filter legend on base map content in layer panel? I load a vector data and I would set filter legend and I would ask you some suggestions this my code: groupName="%s " % (self.dat) root = QgsProject.instance().layerTreeRoot() group = root.addGroup(groupName) group.setExpanded(False) if settings.SERVER == 'sqlite': sqliteDB_path = os.path.join(os.sep, 'pyarchinit_DB_folder', settings.DATABASE) db_file_path = '{}{}'.format(self.HOME, sqliteDB_path) uri = QgsDataSourceUri() uri.setDatabase(db_file_path) uri.setDataSource('', 'pyarchinit_us_view', 'the_geom', cont_per_string, "ROWID") layerUS = QgsVectorLayer(uri.uri(), layer_name_label_us, 'spatialite') srs = QgsCoordinateReferenceSystem(self.SRS, QgsCoordinateReferenceSystem.PostgisCrsId) if layerUS.isValid(): style_path = '{}{}'.format(self.LAYER_STYLE_PATH_SPATIALITE, 'us_view.qml') layerUS.loadNamedStyle(style_path) group.insertChildNode(-1, QgsLayerTreeLayer(layerUS)) QgsProject.instance().addMapLayers([layerUS], False) Thanks E -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] pyqgis: no update data into table sqlite !
thank you so much, works very well! Il giorno mar 4 mag 2021 alle ore 20:10 Benjamin Jakimow < benjamin.jaki...@geo.hu-berlin.de> ha scritto: > You need to write t back to the feature, e.g. by > > feat['assessment_investigator_actor'] = t > > > Greetings, > > Benjamin > > > On 2021-05-04 19:59, Enzo Cocca wrote: > > Hi people: > I'm trying to update an table sqlite not geometric but the update does not > take place. > > this is my code: > > def convert_table(self): > cfg_rel_path = os.path.join(os.sep, 'HFF_DB_folder', 'config.cfg') > file_path = '{}{}'.format(self.HOME, cfg_rel_path) > conf = open(file_path, "r") > con_sett = conf.read() > conf.close() > settings = Settings(con_sett) > settings.set_configuration() > if settings.SERVER == 'sqlite': > sqliteDB_path = os.path.join(os.sep, 'HFF_DB_folder', > settings.DATABASE) > db_file_path = '{}{}'.format(self.HOME, sqliteDB_path) > uri = QgsDataSourceUri() > uri.setDatabase(db_file_path) > uri.setDataSource('','eamena_table', None,'') > layerEamena=QgsVectorLayer(uri.uri(), 'eamena_table', > 'spatialite') > QgsProject.instance().addMapLayers([layerEamena], True) > layer = > QgsProject.instance().mapLayersByName('eamena_table')[0] > with edit(layer): > for feat in layer.getFeatures(): > a=str(feat['assessment_investigator_actor']) > if "[['" not in a and a!='NULL': > t=a.replace(a[0],"[['"+a[0]).replace("|","'], > ['").replace(a[-1],a[-1]+"']]") > layer.updateFeature(feat) > QgsProject.instance().removeMapLayer(layer.id()) > > If I print the results it's ok but into table doesn't update. > Some one has some suggestions? > > Best > E > > -- > Enzo Cocca PhD > in "Science and Technology for Archaeology and Cultural Heritage" > > ISMEO > International Association of Mediterranean and Oriental Studies > > mail: enzo@gmail.com > cell: +393495087014 > > > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > > > -- > -- > Benjamin Jakimow, Doctoral Researcher > Earth Observation Lab | Geography Department | Humboldt-Universität zu > Berlin > > e-mail: benjamin.jaki...@geo.hu-berlin.de > > phone: +49 (0) 30 2093 6894 > mobile: +49 (0) 157 5656 8477 > fax:+49 (0) 30 2093 6848 > mail: Unter den Linden 6 | 10099 Berlin | Germany > room: 2'222 > -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] pyqgis: no update data into table sqlite !
Hi people: I'm trying to update an table sqlite not geometric but the update does not take place. this is my code: def convert_table(self): cfg_rel_path = os.path.join(os.sep, 'HFF_DB_folder', 'config.cfg') file_path = '{}{}'.format(self.HOME, cfg_rel_path) conf = open(file_path, "r") con_sett = conf.read() conf.close() settings = Settings(con_sett) settings.set_configuration() if settings.SERVER == 'sqlite': sqliteDB_path = os.path.join(os.sep, 'HFF_DB_folder', settings.DATABASE) db_file_path = '{}{}'.format(self.HOME, sqliteDB_path) uri = QgsDataSourceUri() uri.setDatabase(db_file_path) uri.setDataSource('','eamena_table', None,'') layerEamena=QgsVectorLayer(uri.uri(), 'eamena_table', 'spatialite') QgsProject.instance().addMapLayers([layerEamena], True) layer = QgsProject.instance().mapLayersByName('eamena_table')[0] with edit(layer): for feat in layer.getFeatures(): a=str(feat['assessment_investigator_actor']) if "[['" not in a and a!='NULL': t=a.replace(a[0],"[['"+a[0]).replace("|","'], ['").replace(a[-1],a[-1]+"']]") layer.updateFeature(feat) QgsProject.instance().removeMapLayer(layer.id()) If I print the results it's ok but into table doesn't update. Some one has some suggestions? Best E -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] problem pymupdf + qgis 3.16.3 on ubuntu 18.04 crash
Hi People, I have this problem with my plugin that use pymupdf. Qgis crash with this python library. below the error: *QGIS died on signal 11Could not attach to process. If your uid matches the uid of the target* *process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try* *again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf* *ptrace: Operation not permitted.* *No thread selected* *No stack.* *gdb returned 0* *Aborted (core dumped)* How can fix it? Best Enzo -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Create View spatialite in qgis 3.14
Hi guys, I have a problem in qgis 3.14. When I try to create a spatial view via sql in dbmanager or via python code I can create just a view. Do you know if a bug? Thanks E ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Qgisfilterlineedit with qtablewidget
Hi all, anyone have a suggestion or example how can I connect a qgisfilterlineedit with a tablewidget? thanks E -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" ISMEO International Association of Mediterranean and Oriental Studies mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] (no subject)
Hi everybody, Two things, i don't know if i made mistake 1- in the new version of qgis 3.4 (windows standalone) miss the pip for python to install the thirt parts via shell. 2- miss qgis2to3 in version for windows. Thanks E ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] New WEB Suite for QGIS - G3W-SUITE
Hi Walter after compliments, I want say you that that I have some problem with the installation. I opened a ticket. Best E Il giorno mer 2 mag 2018 alle ore 12:17 Walter Lorenzetti < lorenze...@gis3w.it> ha scritto: > Hi users, hi developers, > > I am pleasure to introduce you a new suite to publish QGIS projects on web > by QGIS-Server that we developed in past 2-3 years at GIS3W. > > G3W-SUITE is a modular client-server application developed with Django and > Vue.js. > > Main github repositoryies is https://github.com/g3w-suite > > Main Django application (G3W-ADMIN) is > https://github.com/g3w-suite/g3w-admin and main webmap client > applications are > > https://github.com/g3w-suite/g3w-client-sdk, > > https://github.com/g3w-suite/g3w-client-template-lte , > > https://github.com/g3w-suite/g3w-client > > In normal developing workflow, client application is compiled and put > inside main server Django application. > > To run the suite is enough deploy main Django application G3W-ADMIN. > > If you want to try it and/or (if you like it :)) partecipate to the > project you are Welcome! > > Comments and suggestions are welcome! > > We are a small company, so is possibile we reply to your question with a > slight delay :) > Bye > W > > -- > > Walter Lorenzetti phD > email: lorenze...@gis3w.it > skype: aiki74 > twitter:w_lorenzetti <https://twitter.com/w_lorenzetti> > g+:aiki74 <https://plus.google.com/117055903318462447104/> > Tel/Cell: (+39) 347-6597931 > Viale Verdi 24 - 51016 Montecatini Terme (PT) > Nuovi corsi QGIS e GFOSS > <http://gis3w.it/it/calendario-corsi-software-geografici> > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage" mail: enzo@gmail.com cell: +393495087014 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] qwc search question
Hi, I have a question: Its possible to make one search with wsgi customized for sigle project? I need to see the only attributes of the projects I displayed. thanks! EC -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] qwc problem bbox
Hi, I have two projects in qwc. When I try to swich one projects the bbox is the same and so one project i can diplay while the other project no becouse the bbox is not changed, but the colled is right. Both projects have the same epsg but different extension. Do you have same idea? EC -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] ready arabic translation qgis-web-client
Hi all, I have finished to translate in arabic qgis-web-client interface. For mondey I will finish to translate the help. So Can I to join my contribution? EC -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] export shapefile from qgis web client
Hi, I have a problem with javascript code in qgis-web-client to export the shape files. I try to follow the example of the file Customization-to-export.js to export the layer that I capture with a bbox in qgis-web-client. With firebug I have this error: TypeError: QGIS.ExportProvider is not a constructor ExportProvider = new QGIS.ExportProvider Someone have any Idea? EC -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] pyqt print multiselection
Hi, I have a question: Can I print in qgsselected poligons only? E -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis-web-client: module wsgi
Hi Bernard, I have followed If I put the wsgi folder in /usr/lib/cgi-bin/ and set apache config like WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /usr/lib/cgi-bin/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /usr/lib/cgi-bin/wsgi/$1.wsgi I have internal error 500. You I'm not understand again sorry E 2015-04-23 9:42 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de: Hi Enzo, do not put it into html (see section 6 of the QWC documentation) maybe in that location it is not run as a script but accessed by the browser as any other html file (remember: I am no expert on this). Basically you should not see the file at all in the browser, if an error occurs it should be in Apache's error log. Be sure ther is no space as the first character of the first line (as was suggested before). Bernhard Am 22.04.2015 22:15, schrieb Enzo Cocca: I continue to have the problem with mod_wsgi module. I not understand I have set the apache config like suggest bernhard and I have put my wsgi folder in /var/www/html but I continue to have the error: illegal charcther #! /usr/bin/python I have reinstalled libapache2-mod-wsgi, but nothing I use ubuntu server 14.04 apache 2.4 python 2.7 Thanks at all for help E 2015-04-22 16:32 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de: Hi Enzo, as I wrote in a previous post: Make sure the user running the apache process has access to the wsgi directory. Try putting the wsgi in /home/somthing e.g. in /var/www/wsgi Bernhard Am 22.04.2015 14:07, schrieb Enzo Cocca: Hi all, I looked for a solution but without results. After set the default file in apache like that: VirtualHost *:80 ServerAdmin webmaster@localhost ServerName localhost DocumentRoot /var/www/html/wms/site Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/html/wms/site/ DirectoryIndex index.php index.html Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Require all granted /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch Order allow,deny Allow from all Require all granted SetEnv QGIS_LOG_FILE /tmp/qgislog.txt /Directory RewriteEngine On RewriteRule ^/cgi-bin/.*$ - [F] RewriteRule ^/wms/(.+)$ /cgi-bin/qgis_mapserv.fcgi?map=/var/www/html/wms/projects/$1.qgs [QSA,PT] RewriteRule ^/maps/?$ / [PT] RewriteRule ^/maps/([^\.]+)$ /qgiswebclient.html [PT] RewriteRule ^/maps/(.*) /$1 [PT] #mod_wsgi #LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi Directory /home/www/wsgi/ Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/qgis-web-client-error.log CustomLog ${APACHE_LOG_DIR}/qgis-web-client-access.log combined /VirtualHost and the GlobaOptions.js like that; //URL for custom search scriptsnull; // var searchBoxQueryURL = /wsgi/search.wsgi?query=; // null: var searchBoxGetGeomURL = /wsgi/getSearchGeom.wsgi;//null; // The status is: NetworkError: 404 Not Found - http://localhost/wsgi/search.wsgi?query=searchtables=query=qqqcb=stcCallback1001 So it not found the path of wsgi, but in default config I have give the alias any idea? E __ Information from ESET Mail Security, version of virus signature database 11515 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 11519 (20150423) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http
Re: [Qgis-developer] qgis-web-client: module wsgi
Hi, I have solved!! YUPPYY I writed the code #mod_wsgi to apache config into virtual host and so the mod_wsgi not worked VirtualHost *:80 ServerAdmin webmaster@localhost # Add an entry to your /etc/hosts file for qgis-web-client.localhost e.g. # 127.0.0.1 qgis-web-client.localhost ServerName localhost .. WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi . /VirtualHost Than I have try to write out virtual host ( the first three lines) and enjoi!! thanks for suggestions and help Enzo the first three lines 2015-04-24 0:22 GMT+04:00 Andreas Neumann a.neum...@carto.net: Hi Enzo, This has nothing to do with QGIS. Please google something like wsgi Apache setup - e.g. https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide and make sure you can handle your Apache setup. Make sure you can run the hello world example listed in the modwsgi documentation. Then you can continue to come back with QGIS server questions. Andreas On 23.04.2015 19:33, Enzo Cocca wrote: Hi Bernard, I have followed If I put the wsgi folder in /usr/lib/cgi-bin/ and set apache config like WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /usr/lib/cgi-bin/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /usr/lib/cgi-bin/wsgi/$1.wsgi I have internal error 500. You I'm not understand again sorry E 2015-04-23 9:42 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de: Hi Enzo, do not put it into html (see section 6 of the QWC documentation) maybe in that location it is not run as a script but accessed by the browser as any other html file (remember: I am no expert on this). Basically you should not see the file at all in the browser, if an error occurs it should be in Apache's error log. Be sure ther is no space as the first character of the first line (as was suggested before). Bernhard Am 22.04.2015 22:15, schrieb Enzo Cocca: I continue to have the problem with mod_wsgi module. I not understand I have set the apache config like suggest bernhard and I have put my wsgi folder in /var/www/html but I continue to have the error: illegal charcther #! /usr/bin/python I have reinstalled libapache2-mod-wsgi, but nothing I use ubuntu server 14.04 apache 2.4 python 2.7 Thanks at all for help E 2015-04-22 16:32 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de: Hi Enzo, as I wrote in a previous post: Make sure the user running the apache process has access to the wsgi directory. Try putting the wsgi in /home/somthing e.g. in /var/www/wsgi Bernhard Am 22.04.2015 14:07, schrieb Enzo Cocca: Hi all, I looked for a solution but without results. After set the default file in apache like that: VirtualHost *:80 ServerAdmin webmaster@localhost ServerName localhost DocumentRoot /var/www/html/wms/site Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/html/wms/site/ DirectoryIndex index.php index.html Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Require all granted /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch Order allow,deny Allow from all Require all granted SetEnv QGIS_LOG_FILE /tmp/qgislog.txt /Directory RewriteEngine On RewriteRule ^/cgi-bin/.*$ - [F] RewriteRule ^/wms/(.+)$ /cgi-bin/qgis_mapserv.fcgi?map=/var/www/html/wms/projects/$1.qgs [QSA,PT] RewriteRule ^/maps/?$ / [PT] RewriteRule ^/maps/([^\.]+)$ /qgiswebclient.html [PT] RewriteRule ^/maps/(.*) /$1 [PT] #mod_wsgi #LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi Directory /home/www/wsgi/ Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/qgis-web-client-error.log CustomLog ${APACHE_LOG_DIR}/qgis-web-client-access.log combined /VirtualHost and the GlobaOptions.js like that; //URL for custom search scriptsnull
Re: [Qgis-developer] qgis-web-client: module wsgi
I continue to have the problem with mod_wsgi module. I not understand I have set the apache config like suggest bernhard and I have put my wsgi folder in /var/www/html but I continue to have the error: illegal charcther #! /usr/bin/python I have reinstalled libapache2-mod-wsgi, but nothing I use ubuntu server 14.04 apache 2.4 python 2.7 Thanks at all for help E 2015-04-22 16:32 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de: Hi Enzo, as I wrote in a previous post: Make sure the user running the apache process has access to the wsgi directory. Try putting the wsgi in /home/somthing e.g. in /var/www/wsgi Bernhard Am 22.04.2015 14:07, schrieb Enzo Cocca: Hi all, I looked for a solution but without results. After set the default file in apache like that: VirtualHost *:80 ServerAdmin webmaster@localhost ServerName localhost DocumentRoot /var/www/html/wms/site Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/html/wms/site/ DirectoryIndex index.php index.html Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Require all granted /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch Order allow,deny Allow from all Require all granted SetEnv QGIS_LOG_FILE /tmp/qgislog.txt /Directory RewriteEngine On RewriteRule ^/cgi-bin/.*$ - [F] RewriteRule ^/wms/(.+)$ /cgi-bin/qgis_mapserv.fcgi?map=/var/www/html/wms/projects/$1.qgs [QSA,PT] RewriteRule ^/maps/?$ / [PT] RewriteRule ^/maps/([^\.]+)$ /qgiswebclient.html [PT] RewriteRule ^/maps/(.*) /$1 [PT] #mod_wsgi #LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi Directory /home/www/wsgi/ Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/qgis-web-client-error.log CustomLog ${APACHE_LOG_DIR}/qgis-web-client-access.log combined /VirtualHost and the GlobaOptions.js like that; //URL for custom search scriptsnull; // var searchBoxQueryURL = /wsgi/search.wsgi?query=; // null: var searchBoxGetGeomURL = /wsgi/getSearchGeom.wsgi;//null; // The status is: NetworkError: 404 Not Found - http://localhost/wsgi/search.wsgi?query=searchtables=query=qqqcb=stcCallback1001 So it not found the path of wsgi, but in default config I have give the alias any idea? E __ Information from ESET Mail Security, version of virus signature database 11515 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis-web-client: module wsgi
Tahnks Bernhard, I know, I have followed the procedure from official guideline https://github.com/qgis/QGIS-Web-Client but when execute a sample query in Firefox, like written in the search.wsgi file, Firefox only visualize the file search.wsgi like a text file. and I have the error illegal character #!/usr/bin/python So I not understand the problem Thanks!! 2015-04-22 10:51 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de: Hi, the wsgi-Script is a script to be run _on the server_, not in the client. Bernhard Am 22.04.2015 08:47, schrieb Enzo Cocca: Hi, I have one questionç I try to write a searchtext in the client, Firebug gives the error message: illegal character #!/usr/bin/python Someone have a idea?? thanks!! __ Information from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] qgis-web-client: module wsgi
Hi, I have one questionç I try to write a searchtext in the client, Firebug gives the error message: illegal character #!/usr/bin/python Someone have a idea?? thanks!! -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis-web-client: module wsgi
Thanks Bernard You are right, but now It not found the path wsgi folder The requested URL /wsgi/search.wsgi was not found on this server. in globalOptions. js I set : //URL for custom search scriptsnull; // var searchBoxQueryURL = /wsgi/search.wsgi?query=; // null: var searchBoxGetGeomURL = /wsgi/getSearchGeom.wsgi;//null; // and in /etc/apache2/sites-available/default I set #mod_wsgi WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi and than I restarted apache Where I wrong? 2015-04-22 11:26 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de: Hi Enzo, your error indicates that the script is not executed as a server script but instead delivered to the client. Thjis should not happen, as it is a high security risk (db internals are exposed). Have you enabled mod_wsgi on your apache server as described in section 6.2.1 of the QWC documentation? You also should follow this line (section 6 the documentation): It is recommended to install the wsgi scripts in a separate directory, e.g. /home/www/wsgi, a place that is not reachable by regular web traffic. Bernhard Am 22.04.2015 09:15, schrieb Enzo Cocca: Tahnks Bernhard, I know, I have followed the procedure from official guideline https://github.com/qgis/QGIS-Web-Client but when execute a sample query in Firefox, like written in the search.wsgi file, Firefox only visualize the file search.wsgi like a text file. and I have the error illegal character #!/usr/bin/python So I not understand the problem Thanks!! 2015-04-22 10:51 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de: Hi, the wsgi-Script is a script to be run _on the server_, not in the client. Bernhard Am 22.04.2015 08:47, schrieb Enzo Cocca: Hi, I have one questionç I try to write a searchtext in the client, Firebug gives the error message: illegal character #!/usr/bin/python Someone have a idea?? thanks!! __ Information from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis-web-client: module wsgi
the config additional you write it in apache config or in default? because if I add it in default, I have the same error. I will try again. When I will find the solution i will let you know Thanks a lot EC 2015-04-22 12:22 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de: Hi Enzo, I am no Apache pro at all :-) My config additionally contains the following: Directory /path/to/wsgi Order allow,deny Allow from all /Directory I wonder if the user running the apache process can access /home/www, normally you would use something like /var/www/wsgi or /srv/www/wsgi similar to where your HTML stuff is (and QWC) Bernhard Am 22.04.2015 10:12, schrieb Enzo Cocca: Thanks Bernard You are right, but now It not found the path wsgi folder The requested URL /wsgi/search.wsgi was not found on this server. in globalOptions. js I set : //URL for custom search scriptsnull; // var searchBoxQueryURL = /wsgi/search.wsgi?query=; // null: var searchBoxGetGeomURL = /wsgi/getSearchGeom.wsgi;//null; // and in /etc/apache2/sites-available/default I set #mod_wsgi WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi and than I restarted apache Where I wrong? 2015-04-22 11:26 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de: Hi Enzo, your error indicates that the script is not executed as a server script but instead delivered to the client. Thjis should not happen, as it is a high security risk (db internals are exposed). Have you enabled mod_wsgi on your apache server as described in section 6.2.1 of the QWC documentation? You also should follow this line (section 6 the documentation): It is recommended to install the wsgi scripts in a separate directory, e.g. /home/www/wsgi, a place that is not reachable by regular web traffic. Bernhard Am 22.04.2015 09:15, schrieb Enzo Cocca: Tahnks Bernhard, I know, I have followed the procedure from official guideline https://github.com/qgis/QGIS-Web-Client but when execute a sample query in Firefox, like written in the search.wsgi file, Firefox only visualize the file search.wsgi like a text file. and I have the error illegal character #!/usr/bin/python So I not understand the problem Thanks!! 2015-04-22 10:51 GMT+04:00 Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de: Hi, the wsgi-Script is a script to be run _on the server_, not in the client. Bernhard Am 22.04.2015 08:47, schrieb Enzo Cocca: Hi, I have one questionç I try to write a searchtext in the client, Firebug gives the error message: illegal character #!/usr/bin/python Someone have a idea?? thanks!! __ Information from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis-web-client: module wsgi
Hi all, I looked for a solution but without results. After set the default file in apache like that: VirtualHost *:80 ServerAdmin webmaster@localhost ServerName localhost DocumentRoot /var/www/html/wms/site Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/html/wms/site/ DirectoryIndex index.php index.html Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Require all granted /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch Order allow,deny Allow from all Require all granted SetEnv QGIS_LOG_FILE /tmp/qgislog.txt /Directory RewriteEngine On RewriteRule ^/cgi-bin/.*$ - [F] RewriteRule ^/wms/(.+)$ /cgi-bin/qgis_mapserv.fcgi?map=/var/www/html/wms/projects/$1.qgs [QSA,PT] RewriteRule ^/maps/?$ / [PT] RewriteRule ^/maps/([^\.]+)$ /qgiswebclient.html [PT] RewriteRule ^/maps/(.*) /$1 [PT] #mod_wsgi #LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP} WSGIScriptAlias /wsgi/ /home/www/wsgi/ WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi Directory /home/www/wsgi/ Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/qgis-web-client-error.log CustomLog ${APACHE_LOG_DIR}/qgis-web-client-access.log combined /VirtualHost and the GlobaOptions.js like that; //URL for custom search scriptsnull; // var searchBoxQueryURL = /wsgi/search.wsgi?query=; // null: var searchBoxGetGeomURL = /wsgi/getSearchGeom.wsgi;//null; // The status is: NetworkError: 404 Not Found - http://localhost/wsgi/search.wsgi?query=searchtables=query=qqqcb=stcCallback1001 So it not found the path of wsgi, but in default config I have give the alias any idea? E ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] comboxdelagate and translator list
Hi peoples, I have a question: I have a list of words in an comboxdelegate ( the words are in italian) : *valuesRS.=[ciao, buongiorno, buonasera, ]* * self.delegateRS = ComboBoxDelegate()* * self.delegateRS.def_values(valuesRS)* * self.delegateRS.def_editable('False')* * self.tableWidget_rapporti.setItemDelegateForColumn(0,self.delegateRS)* If I want translate in English when I set QGIS in English How can to make? I dont know If I need to use QCore.QLocale or QTranslator thanks a lot!! EC -- Enzo Cocca PhD in Science and Technology for Archaeology and Cultural Heritage mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] vector georeferencer
hi, do you want this? https://github.com/pyarchinit/vector_georeferencer_plugin 2014-04-03 19:12 GMT+02:00 sig-...@f-etheve.fr: Hi, Paolo, stai bene? I'm searching for the same fabulous tool as georeferencer, but for vectors!!! At least to get transformation parameters? To develop? All the best Fred -Message d'origine- De : qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] De la part de Paolo Cavallini Envoyé : jeudi 3 avril 2014 18:57 À : Alexander Bruy Cc : qgis-developer Objet : Re: [Qgis-developer] Point sampling tool Il 03/04/2014 16:36, Alexander Bruy ha scritto: Hi Paolo, not sure but maybe scripts/models called Extract raster values to CSV and Extract raster values to shapefile will work for you Thanks. The beauty of the Point Sampling plugin is that it works both for vectors and for rasters, in one shot. I still see it reasonable to add it to Processing. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Updating qgis2threejs
Hi, I find very interesting your project and I would like to contribute. I would have two ideas: 1 - the possibility to load files. Obj and / or. Ply 2 - to integrate a system like the plug-in html image map written by Richard Duivenvoorde in order to create a mini webgis In this way we could have a 2D map queryable together a 3D map displayed Do you think it might be a good idea? ciao enzo 2014-03-21 3:52 GMT+01:00 Minoru Akagi akagi...@gmail.com: Hi Anita and all, 2014-03-16 16:58 GMT+09:00 Anita Graser anitagra...@gmx.at: Does the data-defined size feature for vector features work for you? I tried to create spheres with data-defined radius but they were always gigantic - no matter which factor I tried to use as a multiplier. It works for me. Unit of the value (attribute value * multiplier) should be that of project CRS. If the problem becomes clearer, please report issue to GitHub repository of the plugin. Thanks for your suggestions. Minoru ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] A stupid problem with python, that is making me more stupid :)
hi, roberto you use a integer value so 36.30 is not integer. try with real? enzo 2014-03-11 12:56 GMT+01:00 Geo DrinX geodr...@gmail.com: Hello All, as in object, I had an error from python, with my source code, that I do not understand CamNick = 90 - int(pitch) ValueError: invalid literal for int() with base 10: '36.30' Somebody can help me to understand why 36.30 is not good to reurn an int value ? For me, is a mistery. :( Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [solved] qgis 2.2 crash
hi matthias, certainly, but I do not know how to do. Can you explain briefly how to open a iusse? sorry for me it is the first time. enzo 2014-03-09 17:48 GMT+01:00 Matthias Kuhn matthias.k...@gmx.ch: Hi Enzo, could you open an issue report and attach a sample project? Thank you in advance Matthias On Fre 07 Mär 2014 17:35:24 CET, Enzo Cocca wrote: Unfortunatly It happen. I used a not complex simbolgy to fill polygon but I noticed that the colors are very different from qgis style 1.8 to qgis style 2.2. The problem is in color paletts? enzo -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [solved] qgis 2.2 crash
The problem of crash was the simbology of qgis 1.8 that I have used to qgis 2.2. thanks! 2014-03-06 17:04 GMT+01:00 Enzo Cocca enzo@gmail.com: hi all, I have one problem with pyarchinit plugin and qgis 2.2 on win7. when I try to make one action with this plugin qgis go in crash. I have an error that win transform in a dump file. I have debugged this file with wdk and below I put the debugging: Microsoft (R) Windows Debugger Version 6.2.9200.20512 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\user\AppData\Local\Temp\qgis-20140306-094727-5224-6084-c3a2817.dmp] User Mini Dump File: Only registers, stack and portions of memory are available Symbol search path is: *** Invalid *** * Symbol loading may be unreliable without a symbol search path. * * Use .symfix to have the debugger choose a symbol path. * * After setting your symbol path, use .reload to refresh symbol locations. * Executable search path is: Windows 7 Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS Machine Name: Debug session time: Thu Mar 6 09:47:28.000 2014 (UTC + 1:00) System Uptime: not available Process Uptime: 0 days 0:00:36.000 This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (1468.17c4): Access violation - code c005 (first/second chance not available) *** WARNING: Unable to verify timestamp for ntdll.dll *** ERROR: Module load completed but symbols could not be loaded for ntdll.dll *** WARNING: Unable to verify timestamp for kernel32.dll *** ERROR: Module load completed but symbols could not be loaded for kernel32.dll eax= ebx=0d980d78 ecx=0ee7a1d0 edx=0265 esi=0d980d38 edi=0043b8cc eip=77c30c32 esp=0043b58c ebp=0043b59c iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=0246 ntdll+0x20c32: 77c30c32 83c404 add esp,4 0:000 The stored exception information can be accessed via .ecxr. ^ No runnable debuggees error in 'The stored exception information can be accessed via .ecxr.' 0:000 (1468.17c4): Access violation - code c005 (first/second chance not available) ^ Syntax error in '(1468.17c4): Access violation - code c005 (first/second chance not available)' 0:000 !analayze -v No export analayze found 0:000 !analyze -v *** * * *Exception Analysis * * * *** *** ERROR: Symbol file could not be found. Defaulted to export symbols for spatialiteprovider.dll - *** ERROR: Symbol file could not be found. Defaulted to export symbols for core.pyd - *** ERROR: Symbol file could not be found. Defaulted to export symbols for qgis_gui.dll - * OS symbols are WRONG. Please fix symbols to do analysis. * OS (WOW64 kernel32) symbols are WRONG. Please fix symbols to do analysis. * *** *** *** *** ***Your debugger is not using the correct symbols *** *** *** ***In order for this command to work properly, your symbol path *** ***must point to .pdb files that have full type information. *** *** *** ***Certain .pdb files (such as the public OS symbols) do not *** ***contain the required information. Contact the group that *** ***provided you with these symbols if you need this command to*** ***work. *** *** *** ***Type referenced: nt!IMAGE_NT_HEADERS32 *** *** *** * * * Symbols can not be loaded because symbol path is not initialized. * * * * The Symbol Path can be set
Re: [Qgis-developer] [solved] qgis 2.2 crash
Unfortunatly It happen. I used a not complex simbolgy to fill polygon but I noticed that the colors are very different from qgis style 1.8 to qgis style 2.2. The problem is in color paletts? enzo 2014-03-07 17:26 GMT+01:00 G. Allegri gioha...@gmail.com: That's a really bad story. I don' excpet to have complete back compatibility, but a crash shouldn't happen :( giovanni 2014-03-07 17:13 GMT+01:00 Enzo Cocca enzo@gmail.com: The problem of crash was the simbology of qgis 1.8 that I have used to qgis 2.2. thanks! 2014-03-06 17:04 GMT+01:00 Enzo Cocca enzo@gmail.com: hi all, I have one problem with pyarchinit plugin and qgis 2.2 on win7. when I try to make one action with this plugin qgis go in crash. I have an error that win transform in a dump file. I have debugged this file with wdk and below I put the debugging: Microsoft (R) Windows Debugger Version 6.2.9200.20512 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\user\AppData\Local\Temp\qgis-20140306-094727-5224-6084-c3a2817.dmp] User Mini Dump File: Only registers, stack and portions of memory are available Symbol search path is: *** Invalid *** * Symbol loading may be unreliable without a symbol search path. * * Use .symfix to have the debugger choose a symbol path. * * After setting your symbol path, use .reload to refresh symbol locations. * Executable search path is: Windows 7 Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS Machine Name: Debug session time: Thu Mar 6 09:47:28.000 2014 (UTC + 1:00) System Uptime: not available Process Uptime: 0 days 0:00:36.000 This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (1468.17c4): Access violation - code c005 (first/second chance not available) *** WARNING: Unable to verify timestamp for ntdll.dll *** ERROR: Module load completed but symbols could not be loaded for ntdll.dll *** WARNING: Unable to verify timestamp for kernel32.dll *** ERROR: Module load completed but symbols could not be loaded for kernel32.dll eax= ebx=0d980d78 ecx=0ee7a1d0 edx=0265 esi=0d980d38 edi=0043b8cc eip=77c30c32 esp=0043b58c ebp=0043b59c iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=0246 ntdll+0x20c32: 77c30c32 83c404 add esp,4 0:000 The stored exception information can be accessed via .ecxr. ^ No runnable debuggees error in 'The stored exception information can be accessed via .ecxr.' 0:000 (1468.17c4): Access violation - code c005 (first/second chance not available) ^ Syntax error in '(1468.17c4): Access violation - code c005 (first/second chance not available)' 0:000 !analayze -v No export analayze found 0:000 !analyze -v *** * * *Exception Analysis * * * *** *** ERROR: Symbol file could not be found. Defaulted to export symbols for spatialiteprovider.dll - *** ERROR: Symbol file could not be found. Defaulted to export symbols for core.pyd - *** ERROR: Symbol file could not be found. Defaulted to export symbols for qgis_gui.dll - * OS symbols are WRONG. Please fix symbols to do analysis. * OS (WOW64 kernel32) symbols are WRONG. Please fix symbols to do analysis. * *** *** *** *** ***Your debugger is not using the correct symbols *** *** *** ***In order for this command to work properly, your symbol path *** ***must point to .pdb files that have full type information. *** *** *** ***Certain .pdb files (such as the public OS symbols) do not *** ***contain the required information. Contact the group that *** ***provided you with these symbols if you need this command to*** ***work. *** *** *** ***Type
[Qgis-developer] qgis 2.2 crash
: spatialiteprovider.dll Timestamp:Wed Feb 26 14:59:06 2014 (530DF32A) CheckSum: 000471D6 ImageSize:00045000 File version: 0.0.0.0 Product version: 0.0.0.0 File flags: 0 (Mask 0) File OS: 0 Unknown Base File type:0.0 Unknown File date:. Translations: .04b0 .04e4 0409.04b0 0409.04e4 any idea??? thanks -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer