COASTAL BLUE CARBON

HELLO GUYS

Pls how can this error be resolved. even when my they are in CSV format


C:\InVEST_3.3.3_x86\invest-3-x86>.\invest.exe coastal_blue_carbon
(<natcap.invest.iui.modelui.ModelUI object at 0x09A6B940>, 'setting super to None')
('lastrun URI:', u'coastal_blue_carbon_lastrun_3.3.3.json')
04/04/2017 11:58:34  root                 DEBUG    Loading <module 'natcap.invest.coastal_blue_carbon.coastal_blue_carbon' from 'C:\INVEST~1.3_X\INVEST~1\natcap\invest\coastal_blue_carbon\coastal_blue_carbon.pyc'> in frozen environment
04/04/2017 11:58:34  root                 INFO     Logging will be saved to natcap.invest.coastal_blue_carbon.coastal_blue_carbon-log-2017-04-04--11_58_34.txt
04/04/2017 11:58:34  root                 DEBUG    Loaded the model from natcap.invest.coastal_blue_carbon.coastal_blue_carbon
04/04/2017 11:58:34  root                 INFO     Executing the loaded model
04/04/2017 11:58:34  root                 INFO     Running InVEST version "3.3.3"
04/04/2017 11:58:34  root                 INFO     Python architecture: ('32bit', 'WindowsPE')
04/04/2017 11:58:34  root                 INFO     Disk space remaining for workspace: 1.57 TB
04/04/2017 11:58:34  root                 INFO     Pointing temporary directory at the workspace at C:\MASTERS WORK\LULC tj\BLUE CARBON PROCESSOR OUTPUT
ERROR 4: `C:/MASTERS WORK/LULC tj/BLUE CARBON PROCESSOR OUTPUT/outputs_preprocessor/carbon_pool_initial_sample.csv' not recognised as a supported file format.

04/04/2017 11:58:34  root                 INFO     Starting natcap.invest.coastal_blue_carbon.coastal_blue_carbon
04/04/2017 11:58:34  root                 INFO     Setting tempfile.tempdir to C:\MASTERS WORK\LULC tj\BLUE CARBON PROCESSOR OUTPUT\tmp
ERROR 4: `C:/MASTERS WORK/LULC tj/BLUE CARBON PROCESSOR OUTPUT/outputs_preprocessor/transitions_sample.csv' not recognised as a supported file format.

04/04/2017 11:58:34  natcap.invest.coastal_blue_carbon.coastal_blue_carbon INFO     Starting Coastal Blue Carbon model run...
ERROR 4: `C:\InVEST_3.3.3_x86\CoastalBlueCarbon\inputs\price_table.csv' not recognised as a supported file format.

ERROR 4: `C:\MASTERS WORK\LULC tj\BLUE CARBON PROCESSOR OUTPUT' not recognised as a supported file format.

ERROR 4: `C:/MASTERS WORK/LULC tj/BLUE CARBON PROCESSOR OUTPUT/outputs_preprocessor/lookup table.csv' not recognised as a supported file format.

ERROR 4: `C:/MASTERS WORK/LULC tj/BLUE CARBON PROCESSOR OUTPUT/outputs_preprocessor/carbon_pool_transient_sample.csv' not recognised as a supported file format.

04/04/2017 11:58:34  root                 ERROR    ---------------------------------------------------
04/04/2017 11:58:34  root                 ERROR    ---------------------- ERROR ----------------------
04/04/2017 11:58:34  root                 ERROR    ---------------------------------------------------
04/04/2017 11:58:34  root                 ERROR    Error: exception found while running natcap.invest.coastal_blue_carbon.coastal_blue_carbon
04/04/2017 11:58:34  root                 DEBUG
04/04/2017 11:58:34  root                 DEBUG    Build details
04/04/2017 11:58:34  root                 DEBUG    Interpreter
04/04/2017 11:58:34  root                 DEBUG    Current temp dir: C:\MASTERS WORK\LULC tj\BLUE CARBON PROCESSOR OUTPUT\tmp
04/04/2017 11:58:34  root                 DEBUG    tempfile.tempdir: C:\MASTERS WORK\LULC tj\BLUE CARBON PROCESSOR OUTPUT\tmp
04/04/2017 11:58:34  root                 DEBUG
04/04/2017 11:58:34  root                 DEBUG    System
04/04/2017 11:58:34  root                 DEBUG    OS              : Windows-8-6.2.9200
04/04/2017 11:58:34  root                 DEBUG    Processor architecture: AMD64
04/04/2017 11:58:34  root                 DEBUG    FS encoding     : mbcs
04/04/2017 11:58:34  root                 DEBUG    Preferred encoding: cp1252
04/04/2017 11:58:34  root                 DEBUG
04/04/2017 11:58:34  root                 DEBUG    Python
04/04/2017 11:58:34  root                 DEBUG    Version         : 2.7.9
04/04/2017 11:58:34  root                 DEBUG    Build           : ('default', 'Dec 10 2014 12:24:55')
04/04/2017 11:58:34  root                 DEBUG    Compiler        : MSC v.1500 32 bit (Intel)
04/04/2017 11:58:34  root                 DEBUG    Implementation  : CPython
04/04/2017 11:58:34  root                 DEBUG    Architecture    : 32bit
04/04/2017 11:58:34  root                 DEBUG    Linkage format  : WindowsPE
04/04/2017 11:58:34  root                 DEBUG
04/04/2017 11:58:34  root                 DEBUG    Packages
04/04/2017 11:58:34  root                 DEBUG    Cython          : ?
04/04/2017 11:58:34  root                 DEBUG    Numpy           : 1.11.2
04/04/2017 11:58:34  root                 DEBUG    Scipy           : 0.16.1
04/04/2017 11:58:34  root                 DEBUG    OSGEO           : 1.11.3
04/04/2017 11:58:34  root                 DEBUG    Shapely         : 1.5.5
04/04/2017 11:58:34  root                 DEBUG    InVEST          : 3.3.3
04/04/2017 11:58:34  root                 DEBUG
04/04/2017 11:58:34  root                 DEBUG
04/04/2017 11:58:34  root                 DEBUG    Exception not environment-related
04/04/2017 11:58:34  root                 DEBUG    Printing traceback
04/04/2017 11:58:34  root                 ERROR    Exiting due to failures
04/04/2017 11:58:34  root                 INFO     Elapsed time: 0.34s

Comments

  • jdouglassjdouglass Administrator, NatCap Staff
    Hi Tijani,  It's a little hard to tell what the error might be from the output here .... could you attach your logfile to this discussion so we might take a look?
  • Logfile? Do you mean my input data??
  • jdouglassjdouglass Administrator, NatCap Staff
    Each run produces a log file in your workspace that should contain some information about where the model crashed, and what line it crashed on. This info is really helpful for pinning down the issue and somehow isn't in the error info posted above.

    Barring that, could you send your inputs to jdouglass@stanford.edu so I might take a look?
  • this is the logfile


    Traceback (most recent call last):

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.iui.executor", line 620, in runModel

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.coastal_blue_carbon.coastal_blue_carbon", line 121, in execute

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.coastal_blue_carbon.coastal_blue_carbon", line 640, in get_inputs

    File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\exe\build\invest\out00-PYZ.pyz\natcap.invest.coastal_blue_carbon.coastal_blue_carbon", line 639, in <genexpr>

    KeyError: u''



    04/05/2017 11:33:01 root ERROR Exiting due to failures

  • jdouglassjdouglass Administrator, NatCap Staff
    Thanks, Tijani.  Could you try this development build and see if it resolves this particular crash?


    If not, could you send your data to jdouglass@stanford.edu so I can take a look?
  • Thanks you for the assistance...But another error occurred

    I just sent to your email my input data...Please take a look
Sign In or Register to comment.