Thanks.

As soon new daily -dev images hit the mirrors I'll give it a try.


On Sun, Apr 2, 2017 at 12:57 PM, Fabio Erculiani <lx...@sabayon.org> wrote:

> That has unfortunately nothing to do with the issue.
> It's just a warning...
>
> I am pushing a fixed anaconda version to sabayon-limbo now.
>
> The root cause was a change in behavior in the new python-exec Gentoo
> package in the way it builds python file paths:
>
> Example of os.path.dirname(__file__):
>
> New (wrong, python-exec output): /usr/lib/python-exec/python2.
> 7/../../../lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes
> Old (correct, and expected python-exec output): /usr/lib64/python2.7/site-
> packages/pyanaconda/ui/gui/spokes
>
> The fix is:
>
> diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
> index 71d8926c1..bde074d5f 100644
> --- a/pyanaconda/ui/gui/__init__.py
> +++ b/pyanaconda/ui/gui/__init__.py
> @@ -507,9 +507,9 @@ class GraphicalUserInterface(UserInterface):
>         ANACONDA_WINDOW_GROUP.add_window(self.mainWindow)
>
>     basemask = "pyanaconda.ui"
> -    basepath = os.path.dirname(__file__)
> +    basepath = os.path.normpath(os.path.dirname(__file__))
>     updatepath = "/tmp/updates/pyanaconda/ui"
> -    sitepackages = [os.path.join(dir, "pyanaconda", "ui")
> +    sitepackages = [os.path.normpath(os.path.join(dir, "pyanaconda",
> "ui"))
>                     for dir in site.getsitepackages()]
>     pathlist = set([updatepath, basepath] + sitepackages)
>
>
> On Tue, Mar 28, 2017 at 3:34 PM, Jerrod Frost <piroisl...@gmail.com>
> wrote:
>
>> I've been discussing an issue with Joost. Something has changed to cause
>> Anaconda to not want to recognize HDDs/SSDs. I'm assuming the following is
>> related?
>>
>> /usr/lib64/python2.7/blivet/util.py:14: PyGiWarning: BlockDev was
>> imported without specifying a version first. Use
>> gi.require_version('BlockDev', '0.1') before import to ensure that the
>> right version gets loaded from gi.repository import BlockDev as blockdev
>>
>> The system itself sees the block devices just fine, and fdisk finds disks
>> just fine. This is occurring on the latest daily ISO.
>>
>>
>>
>>
>
>
> --
> Fabio Erculiani
>
>
>
>


Reply via email to