GenericMappingTools / gmt-for-geodesy

Material for the annual GMT for EarthScope short course
33 stars 16 forks source link

How to run test 1 #22

Closed KamogeloBaloyi closed 2 years ago

KamogeloBaloyi commented 2 years ago

I'm trying to run the test1 in Ubuntu 20.04

kamogelo@kamogelo:/usr/bin/gmt-for-geodesy/0_hw1$ ./test_1.sh GPL Ghostscript 9.55.0: Could not open the file test1.pdf . Unable to open the initial device, quitting. psconvert [ERROR]: System call [gs -q -dNOPAUSE -dBATCH -dNOSAFER -dPDFSETTINGS=/prepress -dDownsampleColorImages=false -dDownsampleGrayImages=false -dDownsampleMonoImages=false -dUseFlateCompression=true -dEmbedAllFonts=true -dSubsetFonts=true -dMonoImageFilter=/FlateEncode -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dSCANCONVERTERTYPE=2 -dALLOWPSTRANSPARENCY -dMaxBitmap=2147483647 -dUseFastColor=true -sDEVICE=pdfwrite -g4895x5211 -r720 -sOutputFile='test1.pdf' '/home/kamogelo/.gmt/sessions/gmt_session.65478/psconvert_65482d.eps'] returned error 256. end [ERROR]: Failed to call psconvert end [ERROR]: gmtinit_process_figures returned error 79

PaulWessel commented 2 years ago

Cutting it a big close to the workshop with install issues, no? If you have installed things in the system directory /usr/bin then you dont in general have permissions to create files. We recommend you close the gmt-for-geodesy to one of your own directories (e.g., home directory) and run things from there.

KamogeloBaloyi commented 2 years ago

Thank you for the speedy response. I'm really doing my best to keep up but I also had to submit my proposal today but I'm sure I'll be on top of my game from today onwards.Thank you, I'll try that. Kind regards Kamogelo

PaulWessel commented 2 years ago

No worries. And I mean "clone" not close above.

KamogeloBaloyi commented 2 years ago

I figured :). Thank you! 

KamogeloBaloyi commented 1 year ago

It worked. Thank you so much. Regards