Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-667

Checking out hue2 and building on OSX does not work out of the box

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: backlog
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Environment:

      OSX Lion 10.7 and Python 2.7

      Description

      When checking out hue (2, merged recently to master) and running make apps on root on Mac OSX, one runs into an issue with a sub-module not being available:

      --- Regenerating database at /Users/harshchouraria/Work/code/cloudera/hue/desktop/desktop.db
      --- Syncing/updating database at /Users/harshchouraria/Work/code/cloudera/hue/desktop/desktop.db
      Traceback (most recent call last):
        File "/Users/harshchouraria/Work/code/cloudera/hue/build/env/bin/hue", line 8, in <module>
          load_entry_point('desktop==2.0.0', 'console_scripts', 'hue')()
        File "/Users/harshchouraria/Work/code/cloudera/hue/build/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 318, in load_entry_point
        File "/Users/harshchouraria/Work/code/cloudera/hue/build/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 2221, in load_entry_point
        File "/Users/harshchouraria/Work/code/cloudera/hue/build/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load
        File "/Users/harshchouraria/Work/code/cloudera/hue/desktop/core/src/desktop/__init__.py", line 17, in <module>
          from desktop.supervisor import DjangoCommandSupervisee
        File "/Users/harshchouraria/Work/code/cloudera/hue/desktop/core/src/desktop/supervisor.py", line 32, in <module>
          from daemon.pidlockfile import PIDLockFile
      ImportError: No module named daemon.pidlockfile
      make[1]: *** [/Users/harshchouraria/Work/code/cloudera/hue/desktop/desktop.db] Error 1
      make: *** [desktop] Error 2
      

      Apparently the package python-daemon and lockfile are now separate entities upstream and Hue should either change the code or put in the right required egg on its own?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harsh Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: