[kepler-dev] Invalid entries in Module Manager after patching of modules and a suite
Sean Riddle
swriddle at gmail.com
Wed Aug 24 17:15:10 PDT 2011
I think I've found the problem. Making the following change allowed me to
change to the newest patch of serpens-2.2, but I wasn't able to start it due
to an unrelated problem. I guess we'll see if you run into that one after
this is fixed. For now, please make this change in your own source code if
possible (If you are using a released module, then this might be a pain).
I'm waiting to commit this until I can run it past the author.
Okay, enough disclaimers, here it is. In the class
org.kepler.modulemanager.gui.SuitesList in the module-manager-gui module,
change line 183 from:
String patchableSuite = module.substring(0, module.length() -
Module.make(module).getPatch() - 2);
to:
String patchableSuite = module.substring(0, module.length() -
String.valueOf(Module.make(module).getPatch()).length() - 1);
As written, it looks like it would have trouble with modules other than the
first issued for each combination of module and minor revision.
Unfortunately, I then got an error about the class IllegalActionException
not being found, and I'm curious if you will see similar.
- Sean
On Wed, Aug 24, 2011 at 12:00 AM, Tomasz Żok <tzok at man.poznan.pl> wrote:
> Hi,
>
> Yesterday I have released a patch to 3 modules and 1 suite containing them.
> I have read the publishing steps several times to be ready for the patch.
> I have prepared everything and executed:
>
> $ ant patch -Dmodule=glite-2.2
> $ ant patch -Dmodule=unicore-2.2
> $ ant patch -Dmodule=vine-toolkit-2.2
> $ ant patch -Dsuite=serpens-2.2
>
> When you look at the listing here:
> http://code.kepler-project.org/code/kepler/releases/released/
>
> You will see that there are directories:
> glite-2.2.0
> glite-2.2.1
> unicore-2.2.0
> unicore-2.2.1
> vine-toolkit-2.2.0
> vine-toolkit-2.2.1
> serpens-2.2.0
> serpens-2.2.1
>
> It seems that everything is fine. But in the Module Manager in Kepler the
> suites listing is strange. Please take a look at the attached screenshots.
>
> When I chose serpens-2.2.1 suite and clicked "Apply and restart", Kepler
> crashed with the message:
>
> Error: The following modules are missing
> glite-2.2.1
>
>
> Can you please look at this issue? As the SVN entries seems fine, I think
> it is
> a problem with Module Manager.
>
> Best regards,
> Tomek
>
>
> --
> Tomasz Zok
> Poznan Supercomputing and Networking Center
> ul. Noskowskiego 10, 61-704 Poznan, POLAND
> http://www.man.poznan.pl
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20110824/2d98b2d3/attachment.html>
More information about the Kepler-dev
mailing list