[kepler-users] Not able to compile Trunk or Kepler-2.0

David Welker david.v.welker at gmail.com
Wed Sep 1 16:51:49 PDT 2010


I think I might know the cause of Jim's problem. We have changed where  
some of the configuration stuff is located. It could be that Jim's  
configuration in his local KeplerData is interfering with this.

This bring up an issue. We might want to have a third area besides  
KeplerData and .kepler (the cache) for configuration. Configuration is  
not like cache (it shouldn't be deleted casually) but it might  
sometimes cause problems, at least considering how the current  
configuration system is designed. The issue is that when there are  
local changes to configuration in the modules, Kepler prefers whatever  
configuration has been copied over to KeplerData over it, so those  
changes do not get through. This might be redesigned in a more clever  
way to avoid this problem, but right now this is how the configuration  
system works.

Anyway, the solution I would suggest to Jim, assuming that there is no  
important data in there, would be to delete <user.home>/KeplerData/ 
modules. I know that this is not an optimal solution, in that the  
whole point of separating KeplerData from the cache was to create an  
area that does not have to be deleted. But, I think we may need to  
make a further distinction. Configuration and other programatically  
created "stuff" sometimes does not belong in the cache. It is not  
something that should normally be casually deleted. However, as  
development proceeds, incompatibilities between the configuration from  
different versions seems inevitable. For this reason, we might want to  
create a different location from where the users work is stored, so  
that configuration can be deleted when necessary.

Jim, can you please delete <user.home>/KeplerData/modules (assuming  
you don't have any important data stored there -- better look to make  
sure if you aren't sure) and let me know if this solves your issue?

Thanks!

-David


On Sep 1, 2010, at 5:33 PM, Jianwu Wang wrote:

> Hi Jim,
>
>    What's your current-suite.txt looks like? Did you redo 'ant  
> change-to -Dsuite=kepler' before run Kepler to make sure the current- 
> suite.txt is generated correctly? Please provide the full error  
> context so that we can help you more quickly.
>
>    I can start Kepler correctly.
>
> Best wishes
>
> Sincerely yours
>
> Jianwu Wang
> jianwu at sdsc.edu
> http://users.sdsc.edu/~jianwu/
>
> Assistant Project Scientist
> Scientific Workflow Automation Technologies (SWAT) Laboratory
> San Diego Supercomputer Center
> University of California, San Diego
> San Diego, CA, U.S.A.
>
>
> On 9/1/2010 3:33 PM, Jim Amrhein wrote:
>> David,
>>  Updated build-area. I can compile kepler, but when I run it , I'm  
>> still getting the error:
>>
>>     [run] [Fatal Error] :-1:-1: Premature end of file.
>>     [run] org.apache.commons.configuration.ConfigurationException:  
>> Unable to load the configuration
>>     [run]     at  
>> org 
>> .apache 
>> .commons.configuration.XMLConfiguration.load(XMLConfiguration.java: 
>> 863)
>>     [run]     at  
>> org 
>> .apache 
>> .commons.configuration.XMLConfiguration.load(XMLConfiguration.java: 
>> 821)
>>     [run]     at  
>> org 
>> .kepler 
>> .configuration 
>> .CommonsConfigurationReader 
>> .loadConfiguration(CommonsConfigurationReader.java:144)
>>     [run]     at  
>> org 
>> .kepler 
>> .configuration 
>> .CommonsConfigurationReader 
>> .loadConfigurations(CommonsConfigurationReader.java:92)
>>     [run]     at  
>> org 
>> .kepler 
>> .configuration 
>> .CommonsConfigurationReader 
>> .loadConfigurations(CommonsConfigurationReader.java:64)
>>     [run]     at  
>> org 
>> .kepler 
>> .configuration 
>> .ConfigurationManager.loadConfiguration(ConfigurationManager.java: 
>> 420)
>>
>> Thought this was part of Bug 5168, but I guess not.
>>
>> Thanks,
>>       JSA
>>
>>
>>
>>
>> David Welker wrote:
>>> Hi Jim,
>>>
>>> This bug is now fixed. Please update your build-area folder and  
>>> try  again. Let me know if you have any more problems.
>>>
>>> -David
>>>
>>> On Sep 1, 2010, at 4:00 PM, Jianwu Wang wrote:
>>>
>>>> Hi Jim,
>>>>
>>>>   I'm not sure the reason. But it probably is related to a bug   
>>>> Kepler trunk got today: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5168 
>>>>  .  Sorry about it.
>>>>
>>>>   I hope it can be quickly fixed so that you can try it again.
>>>>
>>>> Best wishes
>>>>
>>>> Sincerely yours
>>>>
>>>> Jianwu Wang
>>>> jianwu at sdsc.edu
>>>> http://users.sdsc.edu/~jianwu/
>>>>
>>>> Assistant Project Scientist
>>>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>>>> San Diego Supercomputer Center
>>>> University of California, San Diego
>>>> San Diego, CA, U.S.A.
>>>>
>>>>
>>>> On 9/1/2010 2:45 PM, Jim Amrhein wrote:
>>>>> Thanks, I ended up copying the ptolemy from a few days ago to  
>>>>> get  past that connection error.
>>>>> Tho the 5 minute cleanup doesn't help...
>>>>> So onward :
>>>>> 1. By any chance have you run into this error?
>>>>>
>>>>>   [run] [Fatal Error] :-1:-1: Premature end of file.
>>>>>    [run]  
>>>>> org.apache.commons.configuration.ConfigurationException:  Unable  
>>>>> to load the configuration
>>>>>    [run]     at   
>>>>> org 
>>>>>  .apache 
>>>>>  .commons 
>>>>> .configuration.XMLConfiguration.load(XMLConfiguration.java: 863)
>>>>>
>>>>> 2. What should the contents/format of current-suite.txt be?
>>>>> This might be related to #1.
>>>>>
>>>>>
>>>>> Thanks,
>>>>>     JSA
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Jianwu Wang wrote:
>>>>>> Hi Jim,
>>>>>>
>>>>>>    I think it is because of the recent fluctuation of ptolemy  
>>>>>> svn  server. You can check more info at http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2010-August/018832.html 
>>>>>>  .
>>>>>>
>>>>>>    Please try those commands for a few more times to get  
>>>>>> better  chance to connect source.eecs.berkeley.edu.
>>>>>>
>>>>>> Best wishes
>>>>>>
>>>>>> Sincerely yours
>>>>>>
>>>>>> Jianwu Wang
>>>>>> jianwu at sdsc.edu
>>>>>> http://users.sdsc.edu/~jianwu/
>>>>>>
>>>>>> Assistant Project Scientist
>>>>>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>>>>>> San Diego Supercomputer Center
>>>>>> University of California, San Diego
>>>>>> San Diego, CA, U.S.A.
>>>>>>
>>>>>>
>>>>>> On 9/1/2010 12:56 PM, Jim Amrhein wrote:
>>>>>>> Gang,
>>>>>>> Today, I checked out both the kepler-2.0 and trunk version of   
>>>>>>> Kepler, using the instructions from the README.txt. No  
>>>>>>> problems  until I ran the following step:
>>>>>>>
>>>>>>> ant change-to -Dsuite=kepler               (Trunk)
>>>>>>> or
>>>>>>> ant change-to -Dsuite=kepler-2.0
>>>>>>>
>>>>>>> Both run into the same problem:
>>>>>>>
>>>>>>> [change-to] ptolemy revision: 58234
>>>>>>> [change-to] svn co -r 58234 svn://source.eecs.berkeley.edu/ 
>>>>>>> chess/ ptII/branches/rel-8-0-beta-2 /var/localuser/Kepler2.0/ 
>>>>>>> modules/ ptolemy-8.0/src
>>>>>>> [change-to] svn: Can't connect to host   
>>>>>>> 'source.eecs.berkeley.edu': Connection refused
>>>>>>> [change-to]
>>>>>>>
>>>>>>> Which results  in the following errors when you try to run  
>>>>>>> "ant  compile"
>>>>>>>
>>>>>>> [compile] /var/localuser/Kepler-2.0_trunk/modules/module- 
>>>>>>> manager/ src/org/kepler/modulemanager/  
>>>>>>> ModuleDocumentationManagerAction.java:36: package   
>>>>>>> ptolemy.actor.gui does not exist
>>>>>>> [compile] import ptolemy.actor.gui.TableauFrame;
>>>>>>> [compile]                         ^
>>>>>>> [compile] /var/localuser/Kepler-2.0_trunk/modules/module- 
>>>>>>> manager/ src/org/kepler/modulemanager/  
>>>>>>> ModuleDocumentationManagerAction.java:37: package   
>>>>>>> ptolemy.vergil.toolbox does not exist
>>>>>>> [compile] import ptolemy.vergil.toolbox.FigureAction;
>>>>>>>
>>>>>>> Any suggestions?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>   Jim
>>>>>>> _______________________________________________
>>>>>>> Kepler-users mailing list
>>>>>>> Kepler-users at kepler-project.org
>>>>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>> _______________________________________________
>>>> Kepler-users mailing list
>>>> Kepler-users at kepler-project.org
>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>




More information about the Kepler-users mailing list