How to run gump?

2004-10-06 Thread Jochen Wiedmann

Hi,
sorry for asking again. My issue is still how to reproduce the ws-jaxme 
nagging. (See 
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=8679
) After some days, I decided to check whether some update in the trunc 
has cured the original problem. However, I do get the following error
messages now:

[EMAIL PROTECTED] gump]$ python gump.py -w metadata/gump.xml ws-jaxme
- 
-Apache Gump
- 
- GUMP run on host   : stujwi
- GUMP run @ : 06 Oct 04 10:03:07
- GUMP run @  UTC: 06 Oct 04 08:03:07
- GUMP run by Python : '2.3.3 (#1, May  7 2004, 10:31:40) \n[GCC 3.3.3 
20040412 (Red Hat Linux 3.3.3-7)]'
- GUMP run by Python : '/usr/bin/python'
- GUMP run by Gump   : 2.0.2-alpha-0003
- GUMP run on OS : 'posix'
Terminated unintentionally...
Traceback (most recent call last):
  File "gump.py", line 223, in ?
raise RuntimeError('No such workspace at ' + str(workspacePath))
RuntimeError: No such workspace at /home/jwi/gump/metadata/gump.xml
[EMAIL PROTECTED] gump]$

In fact, there is no such file metadata/gump.xml. I tried with
workspace.xml, but that only produced the following message. (The 
project descriptor ws-jaxme *is* in the project directory.)

Regards,
Jochen

[EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml ws-jaxme
- 
-Apache Gump
- 
- GUMP run on host   : stujwi
- GUMP run @ : 06 Oct 04 10:02:43
- GUMP run @  UTC: 06 Oct 04 08:02:43
- GUMP run by Python : '2.3.3 (#1, May  7 2004, 10:31:40) \n[GCC 3.3.3 
20040412 (Red Hat Linux 3.3.3-7)]'
- GUMP run by Python : '/usr/bin/python'
- GUMP run by Gump   : 2.0.2-alpha-0003
- GUMP run on OS : 'posix'
- GUMP PYTHONPATH  :  /home/jwi/gump/python
Execute : svn update --non-interactive
At revision 53854.
Executing with CWD: [metadata]
Execute : cvs -q update -dP
Password:
Execute : /usr/bin/python bin/integrate.py -w metadata/workspace.xml 
ws-jaxme
Traceback (most recent call last):
  File "bin/integrate.py", line 109, in ?
irun()
  File "bin/integrate.py", line 83, in irun
run=gump.run.gumprun.GumpRun(workspace,ps,options)
  File "/home/jwi/gump/python/gump/run/gumprun.py", line 77, in __init__
self.gumpSet=gump.run.gumpset.GumpSet(self.workspace,expr)
  File "/home/jwi/gump/python/gump/run/gumpset.py", line 118, in __init__
self.validate()
  File "/home/jwi/gump/python/gump/run/gumpset.py", line 123, in validate
raise RuntimeError, 'No projects match [' + self.projectexpression 
+ ']'
RuntimeError: No projects match [ws-jaxme]
Process Exit Code : 1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to run gump?

2004-10-06 Thread Adam R. B. Jack
Jochen:

> sorry for asking again.

Gosh no, please don't aspologize. Thanks for being persistent.

> My issue is still how to reproduce the ws-jaxme
> nagging. (See
>
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=8679
> ) After some days, I decided to check whether some update in the trunc
> has cured the original problem. However, I do get the following error
> messages now:

Huh, I don't get it, I don't see that mail in my inbox. Odd, some filter
foobar perhaps. Anyway, I'll answer it now.

The inability to write to /data is (as you are probably aware) because you
have to create a workspace definition (or customize metadata/workspace.xml
it to your local environment), i.e. pick some directories/paths.

As I see here :

http://gump.apache.org/gettingstarted.html#Defining+your+workspace

It does mention gump.xml and minimal-workspace.xml. Hmm, it seems that
somebody 'tidied' this directory, and failed to keep the documentation in
step with that. It seems (to me) that the intention here is good -- just
have a single workspace.xml (that is well commented/documented) -- so I'll
update the documentation to match.

> [EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml ws-jaxme
> [...]
> RuntimeError: No projects match [ws-jaxme]
> Process Exit Code : 1

Yup. Please open up the workspace.xml and edit it to use the full gump
profile, not the minimal one (which only includes up to Ant, and is mainly
for testing). See the individual had placed it in there, and commented it?

Once you get the full profile, that ought include ws-jaxme, so it ought find
the project. If you build just it you may (or may not, not sure) run into
the need for some packages (downloaded jars). Gump doesn't (today) handle
that for you (partially 'cos of license agreements you might need to click
upon) If you get stuck on this please post here.

Good luck.

regards,

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to run gump?

2004-10-07 Thread Jochen Wiedmann
Hi, Adam,
> Yup. Please open up the workspace.xml and edit it to use the full gump
> profile, not the minimal one (which only includes up to Ant, and is
> mainly for testing). See the individual had placed it in there, and
> commented it?
> Once you get the full profile, that ought include ws-jaxme, so it
> ought find the project. If you build just it you may (or may not,
> not sure) run into the need for some packages (downloaded jars).
> Gump doesn't (today) handle that for you (partially 'cos of license
> agreements you might need to click upon) If you get stuck on this
> please post here.
changed the profile, but now I am getting the following.
Regards,
Jochen
[EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml ws-jaxme
- 
-Apache Gump
- 
- GUMP run on host   : stujwi
- GUMP run @ : 07 Oct 04 21:52:33
- GUMP run @  UTC: 07 Oct 04 19:52:33
- GUMP run by Python : '2.3.3 (#1, May  7 2004, 10:31:40) \n[GCC 3.3.3 
20040412 (Red Hat Linux 3.3.3-7)]'
- GUMP run by Python : '/usr/bin/python'
- GUMP run by Gump   : 2.0.2-alpha-0003
- GUMP run on OS : 'posix'
- GUMP PYTHONPATH  :  /home/jwi/gump/python
Execute : svn update --non-interactive
At revision 54010.
Executing with CWD: [metadata]
Execute : cvs -q update -dP
Password:
M workspace.xml
Execute : /usr/bin/python bin/integrate.py -w metadata/workspace.xml 
ws-jaxme
Traceback (most recent call last):
  File "bin/integrate.py", line 109, in ?
irun()
  File "bin/integrate.py", line 83, in irun
run=gump.run.gumprun.GumpRun(workspace,ps,options)
  File "/home/jwi/gump/python/gump/run/gumprun.py", line 71, in __init__
gump.utils.timing.Timeable.__init__(self, workspace.getName())
AttributeError: 'NoneType' object has no attribute 'getName'
Process Exit Code : 1

--
http://lilypie.com/baby1/050423/1/5/1/+1
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to run gump?

2004-10-08 Thread Adam R. B. Jack
I've seen this before, but can't quite imagine why a None workspace (that
ought have been loaded from metadata/workspace.xml) would have been
returned. Could you run with --debug and see if anything helpful is
displayed?

> [EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml ws-jaxme
[...]
>File "/home/jwi/gump/python/gump/run/gumprun.py", line 71, in __init__
>  gump.utils.timing.Timeable.__init__(self, workspace.getName())
> AttributeError: 'NoneType' object has no attribute 'getName'
> Process Exit Code : 1

regards

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to run gump?

2004-10-08 Thread Jochen Wiedmann
Adam R. B. Jack wrote:
I've seen this before, but can't quite imagine why a None workspace (that
ought have been loaded from metadata/workspace.xml) would have been
returned. Could you run with --debug and see if anything helpful is
displayed?
[EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml ws-jaxme --debug
- 
-Apache Gump
- 
- GUMP run on host   : stujwi
- GUMP run @ : 08 Oct 04 16:46:27
- GUMP run @  UTC: 08 Oct 04 14:46:27
- GUMP run by Python : '2.3.3 (#1, May  7 2004, 10:31:40) \n[GCC 3.3.3 
20040412 (Red Hat Linux 3.3.3-7)]'
- GUMP run by Python : '/usr/bin/python'
- GUMP run by Gump   : 2.0.2-alpha-0003
- GUMP run on OS : 'posix'
- GUMP PYTHONPATH  :  /home/jwi/gump/python
Execute : svn update --non-interactive
At revision 54087.
Executing with CWD: [metadata]
Execute : cvs -q update -dP
Password:
M workspace.xml
Execute : /usr/bin/python bin/integrate.py -w metadata/workspace.xml 
ws-jaxme --debug
INFO:gump:Setting log level to DEBUG
DEBUG:gump:Produced Argument : metadata/workspace.xml
DEBUG:gump:Produced Argument : ws-jaxme
DEBUG:gump:Launch XML/DOM Parser onto : metadata/workspace.xml
Traceback (most recent call last):
  File "bin/integrate.py", line 109, in ?
irun()
  File "bin/integrate.py", line 83, in irun
run=gump.run.gumprun.GumpRun(workspace,ps,options)
  File "/home/jwi/gump/python/gump/run/gumprun.py", line 71, in __init__
gump.utils.timing.Timeable.__init__(self, workspace.getName())
AttributeError: 'NoneType' object has no attribute 'getName'
Process Exit Code : 1

--
http://lilypie.com/baby1/050423/1/5/1/+1
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to run gump?

2004-10-08 Thread Adam R. B. Jack

> > I've seen this before, but can't quite imagine why a None workspace
(that
> > ought have been loaded from metadata/workspace.xml) would have been
> > returned. Could you run with --debug and see if anything helpful is
> > displayed?
>
> [EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml
ws-jaxme --debug

> AttributeError: 'NoneType' object has no attribute 'getName'
> Process Exit Code : 1

Ok, nothing helpful.

I've managed to reproduce it though, by intentionally breaking the XML
(invalidating it). We use Python's minidom to parse our XML, I'll look into
how we can get error messages from it.

regards,

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to run gump?

2004-10-08 Thread Adam R. B. Jack

> > I've seen this before, but can't quite imagine why a None workspace
(that
> > ought have been loaded from metadata/workspace.xml) would have been
> > returned. Could you run with --debug and see if anything helpful is
> > displayed?
>
> [EMAIL PROTECTED] gump]$ python gump.py -w metadata/workspace.xml
ws-jaxme --debug\

Redoing this (with the latest SVN trunk) ought tell you if there is an XML
error (file/line/char, I believe).

regards

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to run gump?

2004-10-08 Thread Jochen Wiedmann
Adam R. B. Jack wrote:
Redoing this (with the latest SVN trunk) ought tell you if there is an XML
error (file/line/char, I believe).
Silly me! You are right! Indeed, the workspace.xml file hasn't been well 
formed. Now for the next: I can now invoke gump. However, it indicates 
that one of the prerequisites (beaver) fails. See the attached log file
for details.

Regards,
Jochen
--
http://lilypie.com/baby1/050423/1/5/1/+1
At revision 54135.
M workspace.xml
- 
-Apache Gump 
- 
- GUMP run on host   : minotaur.apache.org
- GUMP run @ : 08 Oct 04 17:20:16
- GUMP run @  UTC: 09 Oct 04 00:20:16
- GUMP run by Python : '2.3.4 (#2, Aug 21 2004, 11:04:24) \n[GCC 2.95.4 20020320 [FreeBSD]]'
- GUMP run by Python : '/usr/local/bin/python'
- GUMP run by Gump   : 2.0.2-alpha-0003
- GUMP run on OS : 'posix'
- GUMP PYTHONPATH  :  /x1/home/jochen/gump/python
Execute : svn update --non-interactive
Executing with CWD: [metadata]
Execute : cvs -q update -dP
Execute : /usr/local/bin/python bin/integrate.py -w metadata/workspace.xml ws-jaxme 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to run gump?

2004-10-09 Thread Adam R. B. Jack
> Silly me! You are right! Indeed, the workspace.xml file hasn't been well
> formed.

Gump should've reported more nicely. Now it does, so thanks.

>Now for the next: I can now invoke gump. However, it indicates
> that one of the prerequisites (beaver) fails. See the attached log file
> for details.

Yup, you are on the last step:

http://gump.apache.org/gettingstarted.html#Installing+Packages

Basically you need to manually (due to license agreements you might have to
click through) install the packages in the correct locations (relative to
where you set packages directory in your workspace.)  The list that a full
Gump needs is large, hopefully you need far less.

http://brutus.apache.org/gump/public/packages.html

regards,

Adam
- Original Message - 
From: "Jochen Wiedmann" <[EMAIL PROTECTED]>
To: "Gump code and data" <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 6:43 PM
Subject: Re: How to run gump?


> Adam R. B. Jack wrote:
>
> > Redoing this (with the latest SVN trunk) ought tell you if there is an
XML
> > error (file/line/char, I believe).
>
> Silly me! You are right! Indeed, the workspace.xml file hasn't been well
> formed. Now for the next: I can now invoke gump. However, it indicates
> that one of the prerequisites (beaver) fails. See the attached log file
> for details.
>
>
> Regards,
>
> Jochen
>
> -- 
> http://lilypie.com/baby1/050423/1/5/1/+1
>






> At revision 54135.
> M workspace.xml
> - 
> -Apache Gump
> - 
> - GUMP run on host   : minotaur.apache.org
> - GUMP run @ : 08 Oct 04 17:20:16
> - GUMP run @  UTC: 09 Oct 04 00:20:16
> - GUMP run by Python : '2.3.4 (#2, Aug 21 2004, 11:04:24) \n[GCC 2.95.4
20020320 [FreeBSD]]'
> - GUMP run by Python : '/usr/local/bin/python'
> - GUMP run by Gump   : 2.0.2-alpha-0003
> - GUMP run on OS : 'posix'
> - GUMP PYTHONPATH  :  /x1/home/jochen/gump/python
> Execute : svn update --non-interactive
> Executing with CWD: [metadata]
> Execute : cvs -q update -dP
> Execute : /usr/local/bin/python bin/integrate.py -w metadata/workspace.xml
ws-jaxme
>
>






> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]