[Qgis-user] A bug and a crash for qgis 2.2 and qgis-dev on windows

Andrea Peri aperi2007 at gmail.com
Fri May 2 23:50:45 PDT 2014


Hi,

Some thought about this bug.
Actually qgis is pointing the SVG using a local machine path set globally
in the PC (in the user).
It don't save any path in the project.
This is usually a good choice because the svg path could be PC-related.
But this also open to another set of bugs.
Infacts if some-one (like us) plan to use the QGIS to distribute to other
users dataset with svg file and project to see them.
If the package will be downloadable from internet to every anonymous user,
is really probably that a project will open on a PC where the qgis has an
SVG-path wrong or not set at all.

Also more probably the user that open it will be an user that don't know
the project and fon't know what is should show or should have set to run
correctly.

So' is really important that qgis will be capable to understand and to say
to the user something like:
"Hey guy your svg-path is wrong or missing. This project don't find some
SVG. Please set it correctly or retrieve the missing SVG".

Instead actually it only crash at first zoom or pan say-ing only
"Hey guy, I'm dead-ing".
:/

My question is:
How really is qgis usable for the distribution of projects and datasets ?

I like to know other user on this.


Thx,



2014-05-02 14:05 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:

> Hi, I open a ticket.
>
> Regards,
>
> Andrea.
>
>
>
> 2014-05-01 17:59 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
>
> Hi,
>>
>> we are experiencing a qgis crash using the svg symbols.
>>
>> We test this on windows using qgis 2.2 and qgis-dev update just today.
>>
>> This is the reproducible steps:
>>
>> 1th)
>> Create a new empty project.
>> After this add to the project a multipolygon shapefile, and rendering the
>> polygon
>> from
>> layer-properties -> style -> SVG fill -> choose any svg file available.
>> (we choose golf.svg)
>> accept it and save the project.
>>
>> after close the project and re-opened it
>>
>> You can see that in the style -> data-definition section there is an
>> expression
>> "svgOutlineWidth_expression" in "border width" section of data-definition.
>>
>> This is a first bug because we don't set this expression . It is add from
>> qgis.
>>
>> This bug is more serious than what you can thing because it can easily
>> produce a crash of qgis.
>>
>> Infact if we suppose that the svg is missing in the PC that open the
>> project.
>> You can think to use an user customized svg and think to forget to pass
>> it with the project to other users, or set the wrong path in SVG paths.
>>
>> To simulate this missing is sufficiente close the project and rename
>> temporaly the
>> svg file used.
>>
>> After reopened the qgis and zoom on the dataset it crash immediatelly.
>>
>> Andrea.
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>>
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140503/4b2ee509/attachment.html>


More information about the Qgis-user mailing list