Thanks Kyo -- Zimmy any idea what's up with the error message below?

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: [email protected]
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: <Lee>, "Kyo   (3246-Affiliate)" <[email protected]>
Reply-To: "[email protected]"
<[email protected]>
Date: Monday, May 6, 2013 2:19 PM
To: "<[email protected]>" <[email protected]>
Subject: Re: [jira] [Created] (CLIMATE-5) misc.py tried to import
SubRegion when rcmet.py already has

>Thank you for work, Cameron.
>Now it works on workstations (low/high pressure & warm/cold front) except
>on Argo.
>The error messages on Argo is as below:
>
>[argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$ rcmet.py -c
>../rcmes/resources/cordexAF.cfg
>Traceback (most recent call last):
>  File "rcmet.py", line 15, in <module>
>    from toolkit import do_data_prep, process, metrics
>  File 
>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/toolkit/metrics.py"
>, line 28, in <module>
>    from toolkit import plots, process
>  File 
>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/toolkit/plots.py",
>line 10, in <module>
>    import pylab
>  File "/usr/local/lib/python2.6/site-packages/pylab.py", line 1, in
><module>
>    from matplotlib.pylab import *
>  File "/usr/local/lib/python2.6/site-packages/matplotlib/pylab.py", line
>222, in <module>
>    from matplotlib import mpl  # pulls in most modules
>  File "/usr/local/lib/python2.6/site-packages/matplotlib/mpl.py", line
>1, in <module>
>    from matplotlib import artist
>  File "/usr/local/lib/python2.6/site-packages/matplotlib/artist.py",
>line 7, in <module>
>    from transforms import Bbox, IdentityTransform, TransformedBbox, \
>  File "/usr/local/lib/python2.6/site-packages/matplotlib/transforms.py",
>line 46, in <module>
>    from path import Path
>  File "/usr/local/lib/python2.6/site-packages/matplotlib/path.py", line
>12, in <module>
>    from matplotlib._path import point_in_path, get_path_extents, \
>ImportError: cannot import name points_in_path
>
>Cheers,
>Kyo
>
>On May 6, 2013, at 10:46 AM, Cameron Goodale (JIRA) wrote:
>
>> Cameron Goodale created CLIMATE-5:
>> -------------------------------------
>> 
>>             Summary: misc.py tried to import SubRegion when rcmet.py
>>already has
>>                 Key: CLIMATE-5
>>                 URL: https://issues.apache.org/jira/browse/CLIMATE-5
>>             Project: Apache Open Climate Workbench
>>          Issue Type: Bug
>>          Components: rcmet
>>         Environment: CentOS, OS X
>>            Reporter: Cameron Goodale
>>            Assignee: Cameron Goodale
>>            Priority: Critical
>> 
>> 
>> From the Mailing list:
>> 
>> [argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$ python
>>rcmet.py -c ./resources/cordexAF.cfg
>> Traceback (most recent call last):
>>  File "rcmet.py", line 15, in <module>
>>    from toolkit import do_data_prep, process, metrics
>>  File 
>>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/toolkit/do_data_pr
>>ep.py", line 10, in <module>
>>    from storage import db, files
>>  File 
>>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/storage/db.py",
>>line 11, in <module>
>>    from classes import RCMED
>>  File 
>>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/classes.py", line
>>6, in <module>
>>    import storage.files as files
>>  File 
>>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/storage/files.py",
>> line 22, in <module>
>>    from utils import misc
>>  File 
>>"/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/utils/misc.py",
>>line 15, in <module>
>>    from classes import SubRegion
>> ImportError: cannot import name SubRegion
>> [argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$
>> 
>> This isn't a circular import, as much as rcmet.py has already imported
>>this module and class, then misc.py is trying to do that same thing but
>>the import has already happened.
>> 
>> I will provide a patch that will change the import statement in misc.py
>>and resolve this issue.
>> 
>> --
>> 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