Andrew Hart created CLIMATE-106:
-----------------------------------

             Summary: requests module not installed by easy_rcmet
                 Key: CLIMATE-106
                 URL: https://issues.apache.org/jira/browse/CLIMATE-106
             Project: Apache Open Climate Workbench
          Issue Type: Bug
          Components: build process, rcmet ui
    Affects Versions: 0.1-incubating
            Reporter: Andrew Hart
            Assignee: Chris A. Mattmann
            Priority: Minor
             Fix For: 0.1-incubating


easy_rcmet does the heavy lifting of preparing a fresh target environment with 
the python libraries needed to successfully execute the back-end processing 
tasks. One of the Bottle web service helper scripts (database_helpers.py) 
imports the "requests" module, but this module is not among the resources 
installed by easy_rcmet. Thus, on first run, the web service (main_ws.py) dies 
with the following: 

{code}
python services/main_ws.py 
Traceback (most recent call last):
  File "services/main_ws.py", line 10, in <module>
    import dataset_helpers
  File 
"/home/ahart/Development/apache/climate/svn/trunk/rcmet/src/main/python/rcmes/services/dataset_helpers.py",
 line 8, in <module>
    import requests
ImportError: No module named requests
{code}

While it is easy to install this module manually (e.g.: pip install requests), 
it is even easier to have easy_rcmet handle it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to