Error: Assertion ("self->bounds"->right-self->bounds"=>) failed at 368 of file "..\glist\gsbar.c"

Error Message

This error occurs when selecting Layout from the View menu and selecting a template in the Template Manager:

assertion ("self->bounds"->right-self->bounds"->) failed at 368 of file "..\glist\gsbar.c"

After clicking OK, a DOS window appears with the following second error message and then ArcView disappears:

module "avarray" message 0: file ".\err.c " line 645
module "obj" message -1:file"..\objm\obj.c" line 791
module "appl" message -1: file "..\appl\appl.c" line 1639
module "err" message -1: file ".\err.c" line 2009


A customized template.def file is corrupt.

Solution or Workaround

  1. Search your hard drive for the file 'template.def'.

    A customized 'template.def' file is usually located in the $HOME directory.

  2. If a file is located in a directory other than the default C:\ESRI\AV_GIS30\ARCVIEW\ETC directory, rename it to 'templateold.def'. This will force ArcView to use the default 'template.def' file when creating a layout.