<div dir="ltr"><div><div>Hi Radim,<br><br></div>I'm using grass 7 and QGis installed from OSGeo4Win so maybe it was compiled against some old libraries? I've no idea how to compile in windows so I'll just try to re-install everything and hope things work...<br><br></div>Daniel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 24, 2015 at 4:18 PM, Radim Blazek <span dir="ltr"><<a href="mailto:radim.blazek@gmail.com" target="_blank">radim.blazek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Mar 24, 2015 at 5:31 PM, Daniel Victoria<br>
<<a href="mailto:daniel.victoria@gmail.com">daniel.victoria@gmail.com</a>> wrote:<br>
> Hi Radim,<br>
><br>
> Is this why my QGis crashes when i try to load a Grass 7.0 vector file? [1]<br>
<br>
</span>AFAIC, it should only crash if you try to open a GRASS mapset with<br>
GRASS 6 vectors in QGIS browser compiled and run with GRASS 7<br>
provider. It is described here:<br>
<a href="http://lists.osgeo.org/pipermail/qgis-user/2015-March/031177.html" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/2015-March/031177.html</a><br>
<br>
I think that I know already what the problem is. If GRASS 7 lib is<br>
tries to open a vector which it is not in format 7, it calls<br>
G_fatal_error(), which normally opens a warning dialog. Because items<br>
in the browser are populated in threads, it happens on non GUI thread,<br>
but to open a dialog with an icon, it has to use QIcon which can only<br>
be used on GUI thread.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Radim<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> Thanks<br>
> Daniel<br>
><br>
> [1] -<br>
> <a href="http://gis.stackexchange.com/questions/138477/loading-grass-7-0-vectors-in-qgis-broken" target="_blank">http://gis.stackexchange.com/questions/138477/loading-grass-7-0-vectors-in-qgis-broken</a><br>
><br>
> On Tue, Mar 24, 2015 at 11:47 AM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>><br>
> wrote:<br>
>><br>
>> On Tue, Mar 24, 2015 at 5:56 AM, Radim Blazek <<a href="mailto:radim.blazek@gmail.com">radim.blazek@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> >> Are there functions in time series implementation which need to be<br>
>>> >> called directly from the plugin or everything may be done just calling<br>
>>> >> t.rast.* modules?<br>
>>> ><br>
>>> > Most of the temporal functionality is available through the temporal<br>
>>> > modules. However some important algorithms (temporal re-sampling) are<br>
>>> > available only in the Python framework. This is needed for time series<br>
>>> > animation creation. Using the framework directly will speed things up,<br>
>>> > because the module calls, the parsing and interpretation of the module<br>
>>> > outputs can be avoided.<br>
>>><br>
>>> If it should be used for dynamic animation in QGIS canvas you could<br>
>>> consider the possibility to subclass raster renderer in Python and<br>
>>> insert it into raster layer pipe from Python plugin.<br>
>><br>
>><br>
>> Speaking about animations, some things from GRASS GIS GUI could be perhaps<br>
>> used directly in the same was as Tcl/Tk NVIZ is used in processing for GRASS<br>
>> 6. Animation tool is one of them. This would be great since we would get al<br>
>> least some functionality/code sharing between GRASS and QGIS GUIs which is<br>
>> otherwise not possible due to Python/wxPython and C++/Qt (and would be only<br>
>> possible if both things would be at least in the same language).<br>
>><br>
>> This is of course not fulfilling the requirement to be general, i.e. work<br>
>> with other data providers in QGIS, but surely some things just have to be<br>
>> like that if they are using GRASS-specific formats (temporal data) or<br>
>> algorithms (e.g. algorithms to work with temporal data, their topology,<br>
>> ...).<br>
>><br>
>> Vaclav<br>
>><br>
>> _______________________________________________<br>
>> grass-user mailing list<br>
>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>