Git Product home page Git Product logo

Comments (7)

kandread avatar kandread commented on July 22, 2024

16b4cc8 should fix it. I'll merge it to the master branch after you confirm. You still won't be able to finish the DSSAT simulation since you need to add some soil information (user-defined). We only have them over Africa currently for a project, so you can try using the same with
wget https://googledrive.com/host/0B-cBXVuysNV1TXVYd1BwSE05Zlk/dssat_soils.sql.gz
gunzip dssat_soils.sql.gz
./bin/psql -d rheas -f dssat_soils.sql

from rheas.

vks01 avatar vks01 commented on July 22, 2024

I tried to do a clean install on my linux box - I downloaded the code, manually edited the buildout.cfg file to include your last edit. But, when I tried to run "python bootstrap.py", I get the following error:

---ERROR----
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-24.0.0.zip
Extracting in /tmp/tmpjEness
Now working in /tmp/tmpjEness/setuptools-24.0.0
Building a Setuptools egg in /tmp/tmpeGnPIS
Traceback (most recent call last):
File "setup.py", line 21, in
exec(init_file.read(), command_ns)
File "", line 11, in
File "/tmp/tmpjEness/setuptools-24.0.0/setuptools/init.py", line 14, in
from setuptools.extension import Extension
File "/tmp/tmpjEness/setuptools-24.0.0/setuptools/extension.py", line 11, in
from . import msvc
File "/tmp/tmpjEness/setuptools-24.0.0/setuptools/msvc.py", line 244, in
class PlatformInfo:
File "/tmp/tmpjEness/setuptools-24.0.0/setuptools/msvc.py", line 253, in PlatformInfo
current_cpu = safe_env['processor_architecture'].lower()
File "/usr/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'processor_architecture'
/tmp/tmpeGnPIS/setuptools-24.0.0-py2.7.egg
Traceback (most recent call last):
File "bootstrap.py", line 98, in
ez'use_setuptools'
File "", line 178, in use_setuptools
File "", line 129, in _do_download
File "", line 75, in _build_egg
IOError: Could not build the egg.
-------ERROR_END---------

from rheas.

kandread avatar kandread commented on July 22, 2024

This seems unrelated to the table column missing. What's your distro and python version? Python 2.7 should work assuming that you have installed the requirements (see https://travis-ci.org/nasa/RHEAS/builds/141863922).

from rheas.

vks01 avatar vks01 commented on July 22, 2024

It is Python 2.7.6 running on Ubuntu 14.04.4 LTS (GNU/Linux 3.19.0-64-generic i686)...I'm trying to retrace my steps to see what happened - this was working (I could atleast run VIC) till I edited the buildout.cfg file and tried to re-install RHEAS..

from rheas.

vks01 avatar vks01 commented on July 22, 2024

It turns out, if I force bootstrap.py to use setup-tools version 23.2.0, the setup runs fine. When I run buildout, it goes off an updates setup-tools to version 24.0.2, but looks like something in bootstrap.py does not like 24.0.2. I got everything to work - however, if I use the basin.shp file in the example, I get the following warning, after which execution ends.

--WARNING----

addgeometrycolumn

basin.agareas.geom SRID:4326 TYPE:MULTIPOLYGON DIMS:2
(1 row)

INSERT 0 1
CREATE INDEX
COMMIT
ANALYZE
WARNING! No crop areas found!

-----WARNING END --------

from rheas.

kandread avatar kandread commented on July 22, 2024

Are you using the same config file as in the documentation?

from rheas.

vks01 avatar vks01 commented on July 22, 2024

Yes.

from rheas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.