[kepler-users] problem frm ptolemy

Christopher Brooks cxh at eecs.berkeley.edu
Mon Feb 22 22:19:38 PST 2010


Hi Santosh,
It is hard to say why
   svn -r 57240 update --accept postpone /home/deepika/modules.dir/ptolemy/src
would fail, perhaps the contents of your ptolemy directory was corrupt
or only partially created.

To diagnose this problem will require more information.

1. Does
/home/deepika/modules.dir/ptolemy/src/lib
exist?

2. What files are in that directory?
Here's what I have
[bldmastr at sisyphus ~]$ ls -l ~/kepler/ptolemy/src/lib
total 15584
-rw-rw-r-- 1 bldmastr bldmastr  281694 Feb 22 05:44 bsh-2.0b4.jar
-rw-rw-r-- 1 bldmastr bldmastr  591175 Feb 22 05:44 chic.jar
-rw-rw-r-- 1 bldmastr bldmastr  480361 Feb 22 05:44 diva.jar
-rw-rw-r-- 1 bldmastr bldmastr  178841 Feb 22 05:44 jasminclasses.jar
-rw-rw-r-- 1 bldmastr bldmastr  111267 Feb 22 05:44 java_cup.jar
-rw-rw-r-- 1 bldmastr bldmastr 1941075 Feb 22 05:44 jython.jar
-rw-rw-r-- 1 bldmastr bldmastr 1803929 Feb 22 05:44 kieler.jar
-rw-rw-r-- 1 bldmastr bldmastr  203929 Feb 22 05:44 mapss.jar
-rw-rw-r-- 1 bldmastr bldmastr   15228 Feb 22 05:44 matlab.jar
-rw-rw-r-- 1 bldmastr bldmastr    6386 Feb 22 05:44 matlabMacOSX.jar
-rw-rw-r-- 1 bldmastr bldmastr   10237 Feb 22 05:44 matlabSunOS.jar
-rw-rw-r-- 1 bldmastr bldmastr   23250 Feb 22 05:44 matlabWindows.jar
-rw-rw-r-- 1 bldmastr bldmastr   42316 Feb 22 05:45 naomi.jar
-rw-rw-r-- 1 bldmastr bldmastr 2087109 Feb 22 05:44 PDFRenderer.jar
-rw-rw-r-- 1 bldmastr bldmastr  933430 Feb 22 05:44 polyglotclasses-1.3.2.jar
-rw-rw-r-- 1 bldmastr bldmastr  339560 Feb 22 05:44 ptCal.jar
-rw-rw-r-- 1 bldmastr bldmastr   51396 Feb 22 05:44 ptcolt.jar
-rw-rw-r-- 1 bldmastr bldmastr    2202 Feb 22 05:44 ptII.properties.in
-rw-rw-r-- 1 bldmastr bldmastr  403840 Feb 22 05:44 ptjacl.jar
-rw-rw-r-- 1 bldmastr bldmastr   96633 Feb 22 05:44 ptvr.jar
-rw-rw-r-- 1 bldmastr bldmastr  153976 Feb 22 05:44 rxtxMacOSX.jar
-rwxrwxr-x 1 bldmastr bldmastr    7375 Feb 22 05:44 rxtxWindows.jar
-rw-rw-r-- 1 bldmastr bldmastr   43978 Feb 22 05:44 saxon8-dom.jar
-rw-rw-r-- 1 bldmastr bldmastr 2974715 Feb 22 05:44 saxon8.jar
-rw-rw-r-- 1 bldmastr bldmastr 2957748 Feb 22 05:44 sootclasses.jar
[bldmastr at sisyphus ~]$


3. What do you get for the results of:
   uname -a
   ant -version
   svn --version

Below is what I get:

[bldmastr at sisyphus ~]$ uname -a
Linux sisyphus.eecs.berkeley.edu 2.6.18-128.1.10.el5xen #1 SMP Wed Apr 29 14:24:5\
1 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[bldmastr at sisyphus ~]$ ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
[bldmastr at sisyphus ~]$ svn --version
svn, version 1.6.6 (r40053)
    compiled Oct 22 2009, 08:33:25

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - with Cyrus SASL authentication
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

[bldmastr at sisyphus ~]$


Note that ant 1.7.1 is required by the Kepler build system.


What I suspect is happening here is that your network connection to the
kepler and ptII svn repositories is somewhat tenuous, so you have been
getting partial downloads.  Running "cd build-area; ant update" is
the right approach.  If you get unusual messages like "svn: No such revision",
then try googling for that message and also try removing the offending
module and re-running update.

I run a nightly build that does a clean checkout of the kepler and ptII trees
and it has been working well, so I believe the problem has to do with
an inconsistent network connection from your location to the svn repositories.

_Christopher




On 2/22/10 9:40 PM, santosh k wrote:
> Sir,
>
> I used the following cmd,since the build had failed during "ant run"
>
> *ant update*
>
> And after a series of updations,i recieved an error saying :-
>
> *Using the stable version of ptolemy. Use 'ant update-ptolemy
> -Drev=head' to work from the head.
> [update-modules] svn -r 57240 update --accept postpone
> /home/deepika/modules.dir/ptolemy/src
> [update-modules] svn: No such revision 57240
> [update-modules]
>
> BUILD FAILED
> ERROR: It appears that the command did not execute properly and exited
> with an exit code of: 1*
>
> So,i used the cmd :- *
> ant update-ptolemy -Drev=head*
> *
>
> update-ptolemy:
> [update-ptolemy] svn update -r head /home/deepika/modules.dir/ptolemy/src
> [update-ptolemy] At revision 23182.
> [update-ptolemy]
>
> BUILD SUCCESSFUL
> Total time: 14 seconds
> *
> And finally,when i tried the "> ant run", i got the same error :-
>
> *Buildfile: build.xml
>
> compile:
>    [compile] Compiling configuration-manager...
>    [compile] Compiling 14 source files to
> /home/deepika/modules.dir/configuration-manager/target/classes
>
> BUILD FAILED
> /home/deepika/modules.dir/ptolemy/src/lib not found.
>
>
>
>
> *
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-users mailing list