Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-2601

'eups distrib install flask -t qserv' fails on Ubuntu 14.04

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      DB_S15_04, DB_S15_05, DB_S15_06
    • Team:
      Data Access and Database

      Description

      Qserv now depends on Flask, so this blocks all Qserv install which rely on eups.

      Comman below works with system-python but not with anaconda:

      qserv@clrinfoport09:~/stack/EupsBuildDir/Linux64/flask-0.10.1/flask-0.10.1⟫ python setup.py install --home /home/qserv/stack/Linux64/flask/0.10.1                                                                  
      running install
      Traceback (most recent call last):
        File "setup.py", line 110, in <module>
          test_suite='flask.testsuite.suite'
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/core.py", line 151, in setup
          dist.run_commands()
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/dist.py", line 953, in run_commands
          self.run_command(cmd)
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 73, in run
          self.do_egg_install()
        File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 82, in do_egg_install
          cmd.ensure_finalized()  # finalize before bdist_egg munges install cmd
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
          self.finalize_options()
        File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 274, in finalize_options
          ('install_dir','install_dir')
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 298, in set_undefined_options
          src_cmd_obj.ensure_finalized()
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
          self.finalize_options()
        File "/usr/lib/python2.7/dist-packages/setuptools/command/install_lib.py", line 13, in finalize_options
          self.set_undefined_options('install',('install_layout','install_layout'))
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 302, in set_undefined_options
          getattr(src_cmd_obj, src_option))
        File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 105, in __getattr__
          raise AttributeError, attr
      AttributeError: install_layout

        Attachments

          Issue Links

            Activity

            jammes Fabrice Jammes created issue -
            jammes Fabrice Jammes made changes -
            Field Original Value New Value
            Link This issue blocks DM-2595 [ DM-2595 ]
            jammes Fabrice Jammes made changes -
            Assignee Fabrice Jammes [ jammes ]
            jammes Fabrice Jammes made changes -
            Story Points 5
            jammes Fabrice Jammes made changes -
            Description qserv@clrinfoport09:~/stack/EupsBuildDir/Linux64/flask-0.10.1/flask-0.10.1⟫ python setup.py install --home /home/qserv/stack/Linux64/flask/0.10.1
            running install
            Traceback (most recent call last):
              File "setup.py", line 110, in <module>
                test_suite='flask.testsuite.suite'
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/core.py", line 151, in setup
                dist.run_commands()
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/dist.py", line 953, in run_commands
                self.run_command(cmd)
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/dist.py", line 972, in run_command
                cmd_obj.run()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 73, in run
                self.do_egg_install()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 82, in do_egg_install
                cmd.ensure_finalized() # finalize before bdist_egg munges install cmd
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
                self.finalize_options()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 274, in finalize_options
                ('install_dir','install_dir')
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 298, in set_undefined_options
                src_cmd_obj.ensure_finalized()
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
                self.finalize_options()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/install_lib.py", line 13, in finalize_options
                self.set_undefined_options('install',('install_layout','install_layout'))
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 302, in set_undefined_options
                getattr(src_cmd_obj, src_option))
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 105, in __getattr__
                raise AttributeError, attr
            AttributeError: install_layout
            Qserv now depends on Flask, so this blocks all Qserv install which rely on eups.

            Comman below works with system-python but not with anaconda:

            {code}
            qserv@clrinfoport09:~/stack/EupsBuildDir/Linux64/flask-0.10.1/flask-0.10.1⟫ python setup.py install --home /home/qserv/stack/Linux64/flask/0.10.1
            running install
            Traceback (most recent call last):
              File "setup.py", line 110, in <module>
                test_suite='flask.testsuite.suite'
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/core.py", line 151, in setup
                dist.run_commands()
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/dist.py", line 953, in run_commands
                self.run_command(cmd)
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/dist.py", line 972, in run_command
                cmd_obj.run()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 73, in run
                self.do_egg_install()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 82, in do_egg_install
                cmd.ensure_finalized() # finalize before bdist_egg munges install cmd
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
                self.finalize_options()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 274, in finalize_options
                ('install_dir','install_dir')
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 298, in set_undefined_options
                src_cmd_obj.ensure_finalized()
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
                self.finalize_options()
              File "/usr/lib/python2.7/dist-packages/setuptools/command/install_lib.py", line 13, in finalize_options
                self.set_undefined_options('install',('install_layout','install_layout'))
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 302, in set_undefined_options
                getattr(src_cmd_obj, src_option))
              File "/home/qserv/stack/Linux64/anaconda/master-g68783b1848/lib/python2.7/distutils/cmd.py", line 105, in __getattr__
                raise AttributeError, attr
            AttributeError: install_layout
            {code}
            jbecla Jacek Becla made changes -
            Watchers Andy Salnikov, Fabrice Jammes, Jacek Becla, Kian-Tat Lim, Mario Juric [ Andy Salnikov, Fabrice Jammes, Jacek Becla, Kian-Tat Lim, Mario Juric ] Andy Salnikov, Brian Van Klaveren, Fabrice Jammes, Jacek Becla, Kian-Tat Lim, Mario Juric [ Andy Salnikov, Brian Van Klaveren, Fabrice Jammes, Jacek Becla, Kian-Tat Lim, Mario Juric ]
            jbecla Jacek Becla made changes -
            Link This issue is triggering DM-2605 [ DM-2605 ]
            jbecla Jacek Becla made changes -
            Resolution Done [ 10000 ]
            Status To Do [ 10001 ] Won't Fix [ 10405 ]
            jammes Fabrice Jammes made changes -
            Summary Flask failed to install with eups/anaconda 2.1.0 'eups distrib install flask -t qserv' fails on Ubuntu 14.04
            jbecla Jacek Becla made changes -
            Sprint DB_S15_04 [ 137 ] DB_S15_04, DB_S15_05 [ 137, 138 ]
            jbecla Jacek Becla made changes -
            Rank Ranked higher
            jbecla Jacek Becla made changes -
            Sprint DB_S15_04, DB_S15_05 [ 137, 138 ] DB_S15_04, DB_S15_05, DB_S15_06 [ 137, 138, 139 ]
            jbecla Jacek Becla made changes -
            Rank Ranked higher

              People

              Assignee:
              jammes Fabrice Jammes
              Reporter:
              jammes Fabrice Jammes
              Watchers:
              Andy Salnikov, Brian Van Klaveren, Fabrice Jammes, Jacek Becla, Kian-Tat Lim, Mario Juric
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.