Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 160143
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gunnar Wrobel <wrobel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carsten Lohrke <carlo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 160143 depends on: Show dependency tree
Bug 160143 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-04 18:36 0000
.
.
.
File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/db.py",
line 242, in layman.db.RemoteDB.cache
Failed example:
    b.close()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest layman.db.RemoteDB.cache[7]>", line 1, in ?
        b.close()
    NameError: name 'b' is not defined
----------------------------------------------------------------------
File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/db.py",
line 243, in layman.db.RemoteDB.cache
Failed example:
    os.unlink(a.path(config['overlays']))
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest layman.db.RemoteDB.cache[8]>", line 1, in ?
        os.unlink(a.path(config['overlays']))
    NameError: name 'a' is not defined
----------------------------------------------------------------------
File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/db.py",
line 245, in layman.db.RemoteDB.cache
Failed example:
    a.overlays.keys()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest layman.db.RemoteDB.cache[9]>", line 1, in ?
        a.overlays.keys()
    NameError: name 'a' is not defined


======================================================================
FAIL: Doctest: layman.overlays.tar.TarOverlay
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for layman.overlays.tar.TarOverlay
  File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py",
line 38, in TarOverlay

----------------------------------------------------------------------
File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py",
line 56, in layman.overlays.tar.TarOverlay
Failed example:
    a.add(testdir) #doctest: +ELLIPSIS
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest layman.overlays.tar.TarOverlay[6]>", line 1, in ?
        a.add(testdir) #doctest: +ELLIPSIS
      File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py",
line 140, in add
        result = self.cmd(self.binary + ' -v -x ' + opt + ' -f "' + pkg
      File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/overlay.py",
line 150, in cmd
        if not self.quiet:
    AttributeError: DummyTar instance has no attribute 'quiet'
----------------------------------------------------------------------
File
"/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py",
line 58, in layman.overlays.tar.TarOverlay
Failed example:
    sorted(os.listdir(testdir + '/dummy'))
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest layman.overlays.tar.TarOverlay[7]>", line 1, in ?
        sorted(os.listdir(testdir + '/dummy'))
    OSError: [Errno 2] No such file or directory: '/tmp/fileXPcv6W/dummy'


----------------------------------------------------------------------
Ran 23 tests in 0.560s

FAILED (failures=12)

------- Comment #1 From Gunnar Wrobel 2007-01-05 00:31:43 0000 -------
Sorry, I got lazy :) Will be fixed in the next release. Thanks for the report!

------- Comment #2 From Gunnar Wrobel 2007-01-10 08:21:33 0000 -------
Fixed in layman-1.0.10

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug