You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Leo Simons <ma...@leosimons.com> on 2005/07/05 14:58:28 UTC
Dynagumper is alive!
Hi gang,
so I figured we'd need to get Thomas some more data. Rather than invent
it by hand, I figured I'd fix up the dynagumper plugin to work properly. See
https://svn.apache.org/repos/asf/gump/branches/Gump3/pygump/python/gump/plugins/dynagumper.py
I'm not proud of the code at all (its got some ugly shortcuts I took cuz
I wanted the thing working), but I'm very happy with how little there
is. Its probably also readable enough and easy enough to modify. That's
a Good Thing(tm) since it shows the architectural work is paying off :-)
Oh, and you're now greeted with 100s of lines of error messages if you
don't have a db connection or a messed up database :-). We probably want
a --do-database switch so its possible to run gump3 without mysql available.
Adam, perhaps you could take a pass through the code and point your
finger at stuff that's messed up or which doesn't make sense? Also, one
todo that'd be nice to have when building dynagump is to actually have
long logs stored in the DB. I know you've spent a lot of time on the
builder plugins. For some reason no build_log properties are being set.
Could you try and get that running?
cheers,
LSD
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: Dynagumper is alive!
Posted by Stefano Mazzocchi <st...@apache.org>.
Leo Simons wrote:
> Hi gang,
>
> so I figured we'd need to get Thomas some more data. Rather than invent
> it by hand, I figured I'd fix up the dynagumper plugin to work properly. See
>
> https://svn.apache.org/repos/asf/gump/branches/Gump3/pygump/python/gump/plugins/dynagumper.py
>
> I'm not proud of the code at all (its got some ugly shortcuts I took cuz
> I wanted the thing working), but I'm very happy with how little there
> is. Its probably also readable enough and easy enough to modify. That's
> a Good Thing(tm) since it shows the architectural work is paying off :-)
>
> Oh, and you're now greeted with 100s of lines of error messages if you
> don't have a db connection or a messed up database :-). We probably want
> a --do-database switch so its possible to run gump3 without mysql available.
>
> Adam, perhaps you could take a pass through the code and point your
> finger at stuff that's messed up or which doesn't make sense? Also, one
> todo that'd be nice to have when building dynagump is to actually have
> long logs stored in the DB. I know you've spent a lot of time on the
> builder plugins. For some reason no build_log properties are being set.
> Could you try and get that running?
Awesome!
--
Stefano.
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: Dynagumper is alive!
Posted by Leo Simons <ma...@leosimons.com>.
On 06-07-2005 13:51, "Adam R. B. Jack" <aj...@apache.org> wrote:
>> Oh, and you're now greeted with 100s of lines of error messages if you
>> don't have a db connection or a messed up database :-).
>
> Like this? ;-)
>
> http://vmgump.apache.org/gump/gump3/run.log
Fancy!
> BTW: Can we fix the schema, or do we need to re-instantiate it?
The latter. I'll try and take care of it tonight.
>> Adam, perhaps you could take a pass through the code and point your
>> finger at stuff that's messed up or which doesn't make sense? Also, one
>> todo that'd be nice to have when building dynagump is to actually have
>> long logs stored in the DB. I know you've spent a lot of time on the
>> builder plugins. For some reason no build_log properties are being set.
>> Could you try and get that running?
>
> Sure.
>
> In return, could you look into the problem above seeking to understand why
> these failures cause Gump to fall off IRC, not exit?
Huh? Ehm, will do.
> Are certain plugins not
> getting called when another fails? I'm never quite sure how Gump3 copes with
> errors.
Its supposed to be pretty simple: all exceptions that occur inside a plugin
bubble up to the algorithm that's being run.
The idea is that you configure the ErrorHandler used with the Algorithm.
Using the OptimisticLoggingErrorHandler swallows the exceptions that plugins
raise, whereas the LoggingErrorHandler re-raises all of them. Maybe the
post-processing plugins are configured with the LoggingErrorHandler or
something. I'll check.
Cheers,
LSD
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: Dynagumper is alive!
Posted by "Adam R. B. Jack" <aj...@apache.org>.
> so I figured we'd need to get Thomas some more data. Rather than invent
> it by hand, I figured I'd fix up the dynagumper plugin to work properly.
See
Cool, that is what I've been trying to do with Gump3 on VmGump:
> Oh, and you're now greeted with 100s of lines of error messages if you
> don't have a db connection or a messed up database :-).
Like this? ;-)
http://vmgump.apache.org/gump/gump3/run.log
> Adam, perhaps you could take a pass through the code and point your
> finger at stuff that's messed up or which doesn't make sense? Also, one
> todo that'd be nice to have when building dynagump is to actually have
> long logs stored in the DB. I know you've spent a lot of time on the
> builder plugins. For some reason no build_log properties are being set.
> Could you try and get that running?
Sure.
In return, could you look into the problem above seeking to understand why
these failures cause Gump to fall off IRC, not exit? Are certain plugins not
getting called when another fails? I'm never quite sure how Gump3 copes with
errors.
BTW: Can we fix the schema, or do we need to re-instantiate it?
regards,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: gump3 - error
Posted by Leo Simons <ma...@leosimons.com>.
Justin Merz wrote:
> I can't seem to trace error back. Any suggestions?
Ignore the test failures for now. I broke some of them yesterday.
cheers,
LSD
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
gump3 - error
Posted by Justin Merz <jr...@ucdavis.edu>.
group,
I have switched machines and I am trying to reinstall gump3 ... when
running test program I am getting
[merz@localhost gump3]$ ./gump test
Traceback (most recent call last):
File "/home/merz/gump3/bin/pylid-0.3/pylid.py", line 510, in ?
main()
File "/home/merz/gump3/bin/pylid-0.3/pylid.py", line 477, in main
t.addPath(i, dostats)
File "/home/merz/gump3/bin/pylid-0.3/pylid.py", line 299, in addPath
self._addFile(filename, coverage)
File "/home/merz/gump3/bin/pylid-0.3/pylid.py", line 286, in _addFile
module = __import__(modname)
File "/home/merz/gump3/pygump/python/gump/test/testModel.py", line 41,
in ?
from gump.model import WorkItem
ImportError: cannot import name WorkItem
I can't seem to trace error back. Any suggestions?
Thanks,
Justin Merz
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org