Bug 330001 - sabayon-apply depends on debuglog.py from sabayon
Summary: sabayon-apply depends on debuglog.py from sabayon
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sabayon
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-12 20:32 UTC by Nalin Dahyabhai
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-13 03:00:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nalin Dahyabhai 2007-10-12 20:32:59 UTC
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):
sabayon-apply-2.20.1-2.fc8

How reproducible:
Always

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")
__eof
  
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
anything.

Comment 1 Matthias Clasen 2007-10-12 22:26:43 UTC
Yeah, looks right. 


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