[kepler-dev] GARP actor issues

Chad Berkley berkley at nceas.ucsb.edu
Tue Aug 4 14:15:58 PDT 2009


Hi Russell,

I just got back from vacation and I got a chance to look at this issue. 
  The problem is that the .dxl file is actually just an xml file that 
links to a bunch of other .raw files.  GARP assumes that all of the raw 
files are in the same directory as the dxl file, so if you move the dxl 
without moving the raw files, it crashes.  It's a pretty bad behavior 
for it to just crash, but as Dan said, porting this to Java was very 
tricky and it's never run perfectly.  If you move the .raw files along 
with the .dxl file, it should work for you.  You an also try changing 
the paths in the .dxl file, though I'm not sure if that will work or 
not.  Sorry for the problems.  Let me know if I can be of further 
assistance.

chad


R.P.Mciver at cs.cardiff.ac.uk wrote:
> Hi Tim,
> 
> Thanks for the response. Hopefully the following should be enough 
> information to recreate the situation:
> 
> The OS is Windows XP (SP3 if we're being picky!)
> 
> Kepler is installed at C:\Program Files\Kepler-1.0.0 (what I believe to 
> be the default for the installer)
> 
> Workflow created consists of simply an SDF Director set to 1 iteration 
> and the actor causing the issue, GARPPresampleLayers, with the following 
> Parameters:
> 
> * layerSetFilenameParameter: "C:\Program 
> Files\Kepler-1.0.0\lib\testdata\garp\IPCC.dxl"
> 
> (this is the one that seems to cause the error, functions fine when set 
> to this file, or to one of the similar files in the same location, or if 
> set to the same file renamed in that location. Seem to fail if set to 
> anything in another location - even if it's the same file. Also fails if 
> set to the same file in a subdirectory of this location)
> 
> * dataPointFileNameParameter: "C:\Program 
> Files\Kepler-1.0.0\lib\testdata\garp\digir_data_mephitis"
> 
> * cellSetFileNameParameter: C:\Program Files\Kepler-1.0.0\CellSet.xml
> 
> 
> These input data files were just taken from examining the setup of the 
> same actor in the "$Kepler\lib\demos\ENM" directory. Also checked if the 
> problem was limited to the actors paramater, but the same result occurs 
> if trying to provide the input file using the corresponding input port 
> as well.
> 
> Hope this is enough information. Thanks again for the help working this 
> one out!
> 
> Russell
> 
> 
> Quoting Timothy McPhillips <tmcphillips at mac.com>:
> 
>> Hi Russell,
>>
>> I've never used the GARP actors or workflows, but I'd be happy to try 
>> to reproduce the problem you're seeing and help track down the problem 
>> (assuming no one else knows the answer to your question already).
>>
>> Can you send me enough information to reproduce your environment (OS, 
>> location of Kepler installation, etc), along with the input data file?
>>
>> Thanks!
>>
>> Tim
>>
>> On Jul 26, 2009, at 10:56 AM, R.P.Mciver at cs.cardiff.ac.uk wrote:
>>
>>> Hi all,
>>>
>>> Hopefully someone can help me out here, I've playing about with the 
>>> kepler UI (mainly just looking at how things work etc.) and thought 
>>> I'd try using my slightly modified GUI to compose some workflows 
>>> utilisng the GARP set of actors, similar to the niche modelling 
>>> examples that come with kepler.
>>>
>>> Unfortunately I've been getting some errors (well, stack overflows to 
>>> be precise). After spending a long time thinking it was as a result 
>>> of something I'd changed in the UI, I went back and tried the same on 
>>> a clean install of the 1.0.0 release, only to find there were still 
>>> some problems.
>>>
>>> It seems that whenever I provide the GARPPresampleLayers actor with a 
>>> "layerset" input file which is located anywhere other than the 
>>> "$Kepler/lib/testdata/garp" folder then kepler crashes out with a 
>>> stack overflow.
>>>
>>> The only difference in the error between using "vanilla" kepler 1.0.0 
>>> and my modified version is that when attempting to execute the actor 
>>> in my code I get the stack overflow regardless of where the layerset 
>>> file is located.
>>>
>>> Any ideas what is going on here - is the location for where the file 
>>> has to be defined somewhere? I've tried just executing the 
>>> GARPPresampleLayers actor in isolation so I'm fairly certain it's not 
>>> a problem with some other part of a workflow.
>>>
>>> Any help would be appreciated!
>>>
>>> Cheers,
>>>
>>> Russell
>>>
>>> =======================================================
>>> Russell McIver
>>> Research Student
>>> Room C/2.14
>>> Cardiff School of Computer Science, Cardiff University,
>>> 5 The Parade, Roath, Cardiff, CF24 3AA, UK.
>>> =======================================================
>>>
>>>
>>> ----------------------------------------------------------------
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at kepler-project.org
>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>
>>
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev


More information about the Kepler-dev mailing list