Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66592

Summary: bad catalyst modules dont trigger helpful error messages
Product: Gentoo Hosted Projects Reporter: SpanKY <vapier>
Component: CatalystAssignee: Gentoo Catalyst Developers <catalyst>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2004-10-06 19:06:06 UTC
when developing new catalyst stuff modules, often times a little bit of bad code can get you stuck for hours

for example, refer to a variable which hasnt been defined and catalyst will smugly report:
!!! catalyst: could not complete build

no s**t it didnt complete, but WHY DIDNT IT

if the last try/except clause in /usr/bin/catalyst could dump out a traceback, either beautified or only if say DEBUG=1, that would go a very long way
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-15 18:31:46 UTC
Maybe add a --debug option to catalyst?  I could definitely see it being a good idea for tracing out problems with a build.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-12-15 19:41:29 UTC
there already is one ... it just needs some implementation
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-12-17 20:47:19 UTC
ok, fixed in CVS. the default error is to display the traceback, so have fun ;)
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2004-12-17 20:47:32 UTC
bah, closing ..