Re: [QGIS-Developer] Custom processing script instabilities (Nzl_T)

2021-06-30 Thread Nazli Turini [BBA]
wson) 2. Re: Custom processing script instabilities (Nyall Dawson) 3. Re: Reg: native:clip processing tool error with "Could not create memory layer" (Nyall Dawson) -- Message: 1 Date: Sat, 26 Jun 2021 16:47:18

Re: [QGIS-Developer] Custom processing script instabilities

2021-06-25 Thread Nyall Dawson
On Fri, 25 Jun 2021 at 05:51, Alexis R.L. wrote: > > Greetings, > > I have one custom script that uses PIL to get the exif tag, and when I > execute the script for the first time, the processing window vanishes and > qgis stall and then crashes. > > To get it to run properly I had to set the ret

Re: [QGIS-Developer] Custom processing script instabilities (Nzl_T)

2021-06-25 Thread Nyall Dawson
Developer digest..." > > > Today's Topics: > >1. Custom processing script instabilities (Alexis R.L.) >2. Re: Custom processing script instabilities (Luigi Pirelli) >3. Re: Custom processing script instabilities (Alexis R.L.) >4. Re: Custom processing

Re: [QGIS-Developer] Custom processing script instabilities (Nzl_T)

2021-06-25 Thread Nazli Turini [BBA]
geo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of QGIS-Developer digest..." Today's Topics: 1. Custom processing script instabilities (Alexis R.L.) 2. Re: Custom processing script instabilities (Luigi Pirelli) 3. Re: Custom process

Re: [QGIS-Developer] Custom processing script instabilities

2021-06-25 Thread Luigi Pirelli
strange that a library call exit, so I would inspect if the lib faces a raise condition. I would check the code outside qgis checking if it terminates for some reason. Luigi Pirelli ** * LinkedIn: http

Re: [QGIS-Developer] Custom processing script instabilities

2021-06-24 Thread Alexis R.L.
Greetings Luigi, There were no interaction, I used glob to gather all the images in a folder, used Image.Open and then used _getexif(). But returning before this part was the only way to get a stable first run. Sadly I can share the code (work and IP). The rest of it looped through datapoints an

Re: [QGIS-Developer] Custom processing script instabilities

2021-06-24 Thread Luigi Pirelli
hard to say something without reading the code... btw generally you do not have to interact with main GUi from a processing alg that by default run in a separated thread => this can cause crash if you do not use standard processing libs (e.g. feedback) to send message to the user. No idea if this c

[QGIS-Developer] Custom processing script instabilities

2021-06-24 Thread Alexis R.L.
Greetings, I have one custom script that uses PIL to get the exif tag, and when I execute the script for the first time, the processing window vanishes and qgis stall and then crashes. To get it to run properly I had to set the return before opening the files with PIL to run a neutered version an