Frequently Asked Questions

Back to Index

Error messages

Installation

Q: I get the following error message when trying to run sudo:
  sudo: sorry, you are not allowed to set the following environment variables: PERL5LIB

A: You seem to be having restricted full sudo rights. See deploying for more info.

Visualization

Q: The WMS client fails to show any images, and Log4JS reports the following error:
    FATAL - Invalid GetMapContext: TypeError: maxExtent is null

A: This rather cryptic error is OpenLayers complaining about having no background layer. Check that you have a background map available in the specified projection.

Transformation

Q: I'm getting the following error in the log:
    ERROR: no coordinate-systems with projection found, maybe you should try coordinate interpolation in CDMInterpolator.cc at line 488
    exception occured: CDMException: no coordinate-systems found

A: Your FIMEX version is out of date. Use 0.41 or later which supports selectVariables.

PostGIS

Q: I'm getting the following error in the log:
  SELECT AddGeometryColumn('public', 'dataset_location', 'geom_3995', 3995, 'GEOMETRY', 2);
  ERROR:  AddGeometryColumns() - invalid SRID

A: Check that the projections specified in SRID_ID_COLUMNS are available in the database:

  test_metadata=# select auth_srid from spatial_ref_sys where auth_name='EPSG' and auth_srid in(93995, 93031, 3995, 3031, 4326);
   auth_srid
  -----------
        4326
        3031
        3995
  (3 rows)

If some of them are missing, make sure PostGIS is correctly installed and restart the PostgreSQL service:

  $ sudo apt-get install postgis postgresql-9.1-postgis
  $ sudo service postgresql restart

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 43:

You forgot a '=back' before '=head3'