[
https://issues.apache.org/jira/browse/CLIMATE-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cameron Goodale resolved CLIMATE-106.
-------------------------------------
Resolution: Fixed
I ran into this same issue today, so I took Andrew's Patch and updated it to
follow Mike's naming convention.
Committed revision 1496626.
> 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: Andrew Hart
> Priority: Minor
> Fix For: 0.2-incubating
>
> Attachments: climate-106.hart.20130612.txt
>
>
> 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