GGD-OpenSpaceNet icon indicating copy to clipboard operation
GGD-OpenSpaceNet copied to clipboard

Better error messages for Postgres DB output failure

Open grantporterdg opened this issue 7 years ago • 0 comments

Currently the failure message is always:

Please create database with the `createdb' command. in node.FileFeatureSink Node "featureSink"

Regardless of how you mess up the -output string. It would be nice if the error were a bit more descriptive as to if it couldn't connect to a machine vs. login failure.

Radiant Solutions
   ____                    _____                      _   _      _          
  / __ \                  / ____|                    | \ | |    | |         
 | |  | |_ __   ___ _ __ | (___  _ __   __ _  ___ ___|  \| | ___| |_        
 | |  | | '_ \ / _ \ '_ \ \___ \| '_ \ / _` |/ __/ _ \ . ` |/ _ \ __|       
 | |__| | |_) |  __/ | | |____) | |_) | (_| | (_|  __/ |\  |  __/ |_ _ _ _  
  \____/| .__/ \___|_| |_|_____/| .__/ \__,_|\___\___|_| \_|\___|\__(_|_|_) 
        | |                     | |                                         
        |_|                     |_|                                         

Version: 1.1.0+89
DeepCore Version: 1.1.0+327
GBDXM Metadata Version: 3.0

Reading model package...
Opening local image...
Maximum raster cache size is set to 15.0 GiB
Reading model...
Note that future Caffe releases will only support input layers and not input fields.

Model Name: Airliner; Version: 1.0; Created: 1970-Aug-03 12:00:08
Description: Airliner and other stuff
Dimensions (pixels): [150 x 150]; Color Mode: Grayscale
Bounding box (lat/lon): [0.333333 x 0.166666 from (20.3333, 54.6667)]
Labels: Airliner, TransportSys, Background-AOI1, Urban, OpenSpace, Helicopter, StorageTank, Fighter, Trees


|  Reading  | Detecting |  Elapsed  | Remaining |
+-----------+-----------+-----------+-----------+
|    0.0%   |    0.0%   |  0:00:00  |  -:--:--  |
Error creating feature set: PostgreSQL driver doesn't currently support database creation.
Please create database with the `createdb' command. in node.FileFeatureSink Node "featureSink"
ubuntu@ip-172-40-0-210:~/grantbob/GGD-OpenSpaceNet/test$ 

grantporterdg avatar Jan 23 '18 13:01 grantporterdg