GenericMappingTools / gmt

The Generic Mapping Tools
https://www.generic-mapping-tools.org
Other
861 stars 359 forks source link

BUG with master frame in movie on Windows #5350

Open Esteban82 opened 3 years ago

Esteban82 commented 3 years ago

I modified the example of the movie docs for windows to only show the master frame PD: I am using a batch scripts.

gmt begin
   gmt coast -Rg -JG%MOVIE_FRAME%/20/%MOVIE_WIDTH% -Gmaroon -Sturquoise -Bg -X0 -Y0
gmt end
gmt movie globe.bat -Nglobe2 -T360 -Fnone -V3 -C15cx15cx100 -Lf -P -M1,png

Error message:

Bug_movie

System information

PaulWessel commented 3 years ago

Not reproducible in macOS. Looks like the plot was produced? Is there a permission issue with that directory? That call happens from the movie command and not via the script. Since it returns 32, this page says

ERROR_SHARING_VIOLATION
32 (0x20)
The process cannot access the file because it is being used by another process.

Might you have a terminal open in that dir, or have the dir open in the Finder?

Esteban82 commented 3 years ago

I think that the issue the directory is within the module movie. I try these commands in the movie script. The first work fine but the second failed.

gmt movie globe.bat -Nglobe3 -T360 -Fmp4  -V3 -C15cx15cx100 -Lf -P
gmt movie globe.bat -Nglobe4 -T360 -Fnone -V3 -C15cx15cx100 -Lf -P -M1,png
joa-quim commented 8 months ago

Don't close bug reports. Only old feature requests.