You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Davanum Srinivas <di...@yahoo.com> on 2004/01/07 18:45:32 UTC

gumpy stack trace

Adam,

did something go wrong?

-- dims

DEBUG:gump:Make directory : [C:\GUMP\BASE/forrest/src/documentation/content/xdocs\gump_xref]
DEBUG:gump:Documenting to file :
[C:\GUMP\BASE/forrest/src/documentation/content/xdocs/gump_xref/index.xml]
DEBUG:gump:Documenting to file :
[C:\GUMP\BASE/forrest/src/documentation/content/xdocs/gump_xref/repo_module.xml]
DEBUG:gump:Documenting to file :
[C:\GUMP\BASE/forrest/src/documentation/content/xdocs/gump_xref/package_module.xml]
DEBUG:gump:Documenting to file :
[C:\GUMP\BASE/forrest/src/documentation/content/xdocs/gump_xref/package_project.xml]
DEBUG:gump:Executing with CWD: [C:\GUMP\BASE\forrest]
DEBUG:gump:Executing: forrest -Djava.awt.headless=true "-Dproject.site-dir=C:\GUMP\BASE\log" 
(Output to C:\APACHE\jakarta-gump\tmp\forrest.txt)
DEBUG:gump:Command -> [0] [Sig:0 / Exit:0].
DEBUG:gump:Make directory : [C:\GUMP\BASE/forrest/src/documentation/content\avalon-site]
Traceback (most recent call last):
  File "C:\APACHE\jakarta-gump\python\gump/integrate.py", line 63, in ?
    result = GumpEngine().integrate(run)
  File "C:\APACHE\jakarta-gump\python\gump\engine.py", line 141, in integrate
    syndicate(run)
  File "C:\APACHE\jakarta-gump\python\gump\syndication\__init__.py", line 82, in syndicate
    simple.syndicate(run)
  File "C:\APACHE\jakarta-gump\python\gump\syndication\rss.py", line 287, in syndicate
    self.syndicateModule(module,self.rss)
  File "C:\APACHE\jakarta-gump\python\gump\syndication\rss.py", line 321, in syndicateModule
    if module.isUpdated() and not module.getState().isUnset():
AttributeError: 'int' object has no attribute 'isUnset'

=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Re: gumpy stack trace

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
>   File "C:\APACHE\jakarta-gump\python\gump\syndication\rss.py", line 321,
in syndicateModule
>     if module.isUpdated() and not module.getState().isUnset():
> AttributeError: 'int' object has no attribute 'isUnset'

Yup must've. I've been working on matching the various RSS feeds (at
workspace, module, project levels) with Atom feeds. I've moved more and more
code into a shared Syndicator class (base for RSSSyndicator &
AtomSyndicator) & tried to do some cleanup. Sometimes [in the past many
times] I wish Python was more like Java that caught stuff like this prior to
runtime. [I think some of the new JDK1.5 features will give Python a run for
it's money...]

The unit tests I've written are a help, but clearly don't have sufficient
coverage. [Can you imagine how much it sucks to have to check the code it,
telnet to a remote box to do a checkout/run to get good testing when you are
having modem/VPN/machine woes? Woe is me. ;-) :( That said, sorry, I'll try
harder at unit testing an not breaking the core.]

Give me 20 mins (max) and I'll fix it & test it.

regards,

Adam


Re: gumpy stack trace

Posted by Davanum Srinivas <di...@yahoo.com>.
all's well. thanks. TEMPORARY output at http://nagoya.apache.org/dims/gump/

-- dims

--- "Adam R. B. Jack" <aj...@trysybase.com> wrote:
> >   File "C:\APACHE\jakarta-gump\python\gump\syndication\rss.py", line 321,
> in syndicateModule
> >     if module.isUpdated() and not module.getState().isUnset():
> > AttributeError: 'int' object has no attribute 'isUnset'
> 
> Hopefully fixed now. I was testing against a code based where things hadn't
> changed in CVS recently, so the first part of the if was always negative, so
> Python never attempted the second. I changed it to getStatePair() and it
> works. I also added some 'setUpdated' to the modules in the unittest memory
> structures I create for unit testing.
> 
> BTW: So you are running this regularly on M$, dims? Does it work ok for you?
> Need any help? [Hmm, I need to get JIRA set up for Gump.]
> 
> regards,
> 
> Adam
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: gump-help@jakarta.apache.org
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Re: gumpy stack trace

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
>   File "C:\APACHE\jakarta-gump\python\gump\syndication\rss.py", line 321,
in syndicateModule
>     if module.isUpdated() and not module.getState().isUnset():
> AttributeError: 'int' object has no attribute 'isUnset'

Hopefully fixed now. I was testing against a code based where things hadn't
changed in CVS recently, so the first part of the if was always negative, so
Python never attempted the second. I changed it to getStatePair() and it
works. I also added some 'setUpdated' to the modules in the unittest memory
structures I create for unit testing.

BTW: So you are running this regularly on M$, dims? Does it work ok for you?
Need any help? [Hmm, I need to get JIRA set up for Gump.]

regards,

Adam