Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301031 - dev-util/catalyst fails when snapcache isn't in options
Summary: dev-util/catalyst fails when snapcache isn't in options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 21:39 UTC by Lance Albertson (RETIRED)
Modified: 2013-05-06 05:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Albertson (RETIRED) gentoo-dev 2010-01-14 21:39:17 UTC
Using a recent git version of catalyst, I've encountered an annoying error that stops catalyst from building stages. After some researching I discovered that the problem was fixed when I added "snapcache" to options.

The error I got was:

Traceback (most recent call last):
  File "/usr/lib64/catalyst/catalyst", line 296, in <module>
    catalyst.target.build_targets()
  File "/usr/lib64/catalyst/modules/catalyst/target/__init__.py", line 58, in build_targets
    target['object'].run()
  File "/usr/lib64/catalyst/modules/catalyst/target/generic_stage.py", line 953, in run
    func()
  File "/usr/lib64/catalyst/modules/catalyst/target/generic_stage.py", line 565, in unpack_snapshot
    myf = open(self.settings["snapshot_cache_path"] + "catalyst-hash", 'w')
KeyError: 'snapshot_cache_path'
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2013-05-06 05:07:45 UTC
Looking through the code.  This bug has been inadvertently fixed.  I was unable to pin down the commit due to several divergent checkouts being developed simultaneously and later merged/replaced.