Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.8.0
    • Component/s: None
    • Labels:

      Description

      Hi,

      See also https://issues.apache.org/jira/browse/BIGTOP-1635

      hue needs a symlink
      sudo ln s /usr/lib/python2.7/plat*/_sysconfigdata_nd.py /usr/lib/python2.7/

      on Debian8 and Ubuntu14.

      This is the result of an obsolete virtualenv environment with tools/virtual-bootstrap.

      I regenerated virtual-bootstrap from current virtualenv (1), removed the fix_local_scheme section (2), fixed a script in app.reg(3), and removed ctypes (4).

      (1) Download virtualenv, run virtualenv.create_bootstrap_script("") write contents to file

      (2) The call fix_local_scheme(home_dir, symlink) creates an "local" directory with symlinks to "lib". This breaks tools/relocate.sh since every python mode can be reached by local/lib/ and lib/. This creates an additional bogus relative ../ path section in the easy_setup.pth file. AFAIK this "local" dir is not needed here

      (3) This script should activate build/env/bin/python. Ensuring it by prepending it into the PATH for subprocesses.

      (4) ctypes in hue is 1.0.2 . ctypes is bundled with recent pythons and conflicts with the one supplied by hue. bundled by Centos6, Debian8 and Ubuntu14 is 1.1.0. I vote for removing it, since older python/distributions are not target of BIGTOP and may not be target of upstream Hue as well.

      Since the diff contains binary files I will issue a pull request from github.

        Attachments

          Activity

            People

            • Assignee:
              erickt Erick Tryzelaar
              Reporter:
              oflebbe Olaf Flebbe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: