#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
The animator works if it is used only once. It one tries to use it a
second time the rendering will fail.
#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by annakrat):
Are you talking about Animation Tool (command g.gui.animation)?
Please be more specific how to reproduce the error, what does it mean
second time?
Replying to [comment:1 bhlevca]:
> Replying to [ticket:2214 bhlevca]:
> > The animator works if it is used only once. It one tries to use it a
second time the rendering will fail.
>
> Forgot to mention that GRASS needs to be closed and restarted in order
to make the animator work again.
I doubt that. Restarting Animation Tool should be sufficient for whatever
error is there.
#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by bhlevca):
I am using g.gui.animation from the File-> Animation tool.
Second time means that if I want to create another animation without
closing the tool and the whole GRASS environment. It works if I modify the
existing animation ( parameters, add delete maps), but if fails for
example if I set a new region.
I tried to restart the animation tool but I get Fail rendering even if I
start a new animation
#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by annakrat):
Replying to [comment:3 bhlevca]:
> I am using g.gui.animation from the File-> Animation tool.
>
> Second time means that if I want to create another animation without
closing the tool and the whole GRASS environment. It works if I modify the
existing animation ( parameters, add delete maps), but if fails for
example if I set a new region.
when I set new region and press rerender in the animation tool, I see the
animation in the part specified by the region. Probably you have to write
down detailed steps of what leads to error so that I can reproduce it.
>
> I tried to restart the animation tool but I get Fail rendering even if I
start a new animation
#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by bhlevca):
Replying to [comment:4 annakrat]:
I tried to replicate and I could not crash it anymore. I guess we'll have
to close this until I find what was I doing, because I was not dreaming
when I reported this.
Meanwhile I found that I cannot render two animations. I am using multiple
raster files and not space time raster I am unable to have two animation
in the list and render both. When I am trying to render the second one I
am getting :
{{{
"Inconsistent number of maps, please check input data."
}}}
looking in the code I see that only one animation is allowed in non-
temporal mode. Any reason for that? Thanks
{{{
if temporalMode == TemporalMode.NONTEMPORAL:
if len(mapCount) > 1:
raise GException(_("Inconsistent number of maps, please
check input data."))
}}}
#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by annakrat):
Replying to [comment:5 bhlevca]:
> Replying to [comment:4 annakrat]:
>
> I tried to replicate and I could not crash it anymore. I guess we'll
have to close this until I find what was I doing, because I was not
dreaming when I reported this.
I believe you, however without being able to reproduce it I can't fix it.
>
> Meanwhile I found that I cannot render two animations. I am using
multiple raster files and not space time raster I am unable to have two
animation in the list and render both. When I am trying to render the
second one I am getting :
>
> {{{
> "Inconsistent number of maps, please check input data."
> }}}
>
> looking in the code I see that only one animation is allowed in non-
temporal mode. Any reason for that? Thanks
>
> {{{
> if temporalMode == TemporalMode.NONTEMPORAL:
> if len(mapCount) > 1:
> raise GException(_("Inconsistent number of maps, please
check input data."))
> }}}
That's probably a bad name for this variable. But anyway, you have
probably inconsistent number of maps in each animation. You have to have
the same number of maps in each animation when using non temporal mode.
#2214: animator fails to render a second time
---------------------+------------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by bhlevca):
Yes, it is fixed now.
I have a question is there any way that I can add a text automatically to
the slides, let's say from an attribute of a vector layer? I know how to
add it manually when I export the slides.
#2214: animator fails to render a second time
----------------------+-----------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords:
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by annakrat):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:9 bhlevca]:
> Yes, it is fixed now.
>
> I have a question is there any way that I can add a text automatically
to the slides, let's say from an attribute of a vector layer? I know how
to add it manually when I export the slides.
No. You can create a new ticket and describe what exactly you would like
to have.