Bug 330001 - sabayon-apply depends on debuglog.py from sabayon
sabayon-apply depends on debuglog.py from sabayon
Product: Fedora
Classification: Fedora
Component: sabayon (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Alexander Larsson
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-10-12 16:32 EDT by Nalin Dahyabhai
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-12 23:00:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nalin Dahyabhai 2007-10-12 16:32:59 EDT
Description of problem:
I tried to install Dan's xguest package, which invokes sabayon-apply's
db.set_profile method, and it failed because sabayon-apply's cache.py depends on
sabayon's debuglog.py.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
 From the xguest %post:
/usr/bin/python << "__eof"
from sabayon import userdb
db = userdb.get_database()
db.set_profile("xguest", "xguest.zip")
Actual results:
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.5/site-packages/sabayon/userdb.py", line 26, in <module>
    import cache
  File "/usr/lib64/python2.5/site-packages/sabayon/cache.py", line 26, in <module>
    import debuglog
ImportError: No module named debuglog

Expected results:
I guess no output.

Additional info:
Looks like debuglog.py just needs to be moved from sabayon to sabayon-apply. 
The main sabayon package already requires sabayon-apply, so this shouldn't break
Comment 1 Matthias Clasen 2007-10-12 18:26:43 EDT
Yeah, looks right. 

Note You need to log in before you can comment on or make changes to this bug.