Question: Local galaxy is not run on new Mac OSX (El capitan)
1
gravatar for jaeil.han
3.1 years ago by
jaeil.han10
United States
jaeil.han10 wrote:

I tried to run local galaxy but cannot do that upon upgrade of MacOSX to El capitan recently.

Here is what I got once I type >sh run.sh

Traceback (most recent call last):
File "./scripts/paster.py", line 32, in <module>
serve.run()
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1052, in run
invoke(command, command_name, options, args[1:])
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1058, in invoke
exit_code = runner.run(args)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 221, in run
result = self.command()
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 637, in command
app = loadapp( app_spec, name=app_name, relative_to=base, global_conf=vars)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 352, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 376, in loadobj
global_conf=global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 401, in loadcontext
global_conf=global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 425, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 563, in get_context
section)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 622, in _context_from_explicit
value = import_string(found_expr)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 127, in import_string
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/web/buildapp.py", line 5, in <module>
from galaxy.webapps.galaxy.buildapp import app_factory
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/webapps/galaxy/buildapp.py", line 15, in <module>
import galaxy.app
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/app.py", line 9, in <module>
import galaxy.queues
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/queues.py", line 19, in <module>
from kombu import Exchange, Queue, Connection
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/__init__.py", line 67, in __getattr__
module = __import__(object_origins[name], None, None, [name])
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/entity.py", line 10, in <module>
from .abstract import MaybeChannelBound
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/abstract.py", line 12, in <module>
from .connection import maybe_channel
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/connection.py", line 19, in <module>
from kombu import exceptions
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/exceptions.py", line 12, in <module>
from amqp import ChannelError, ConnectionError, ResourceError
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/__init__.py", line 32, in <module>
from .basic_message import Message # noqa
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/basic_message.py", line 19, in <module>
from .serialization import GenericContent
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/serialization.py", line 33, in <module>
from .five import int_types, long_t, string, string_t, items
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/five.py", line 145, in <module>
libSystem = ctypes.CDLL('libSystem.dylib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libSystem.dylib, 6): image not found
view raw gistfile1.txt hosted with ❤ by GitHub

galaxy • 1.8k views
ADD COMMENTlink modified 3.0 years ago by Martin Čech ♦♦ 4.9k • written 3.1 years ago by jaeil.han10
1
gravatar for Wolfgang Maier
3.1 years ago by
Germany
Wolfgang Maier600 wrote:

Yes, we've seen the exact same error.

I guess the reason is that Galaxy tries to use a slightly outdated version of amqp.

amqp 1.4.7 fixes the El Capitan incompatibility and should be used instead.

 

To fix this immediately for your current installation, this should work (though I haven't tried it yet):

in the file /Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/five.py replace the line:

libSystem = ctypes.CDLL('libSystem.dylib')

with:

libSystem = ctypes.CDLL(find_library('libSystem.dylib'))

 

ADD COMMENTlink modified 3.1 years ago • written 3.1 years ago by Wolfgang Maier600

oh, and keep the leading whitespace as it is

ADD REPLYlink written 3.1 years ago by Wolfgang Maier600

Thank you for your comment.

I tried to replace the line you mentioned, but it still isn't working.

 

ADD REPLYlink written 3.1 years ago by jaeil.han10
1
gravatar for Martin Čech
3.0 years ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

We are aware of this and are working on the fix. It is possibly caused by Kombu and amqp having trouble on _some_ el capitans.


http://docs.celeryproject.org/projects/kombu/en/latest/changelog.html#version-3-0-27
"Fixed libSystem import error on some OS X 10.11 (El Capitan) installations."

Thanks for reporting

ADD COMMENTlink modified 3.0 years ago • written 3.0 years ago by Martin Čech ♦♦ 4.9k

The fix for 15.10 is here and should be merged shortly once tests pass:

https://github.com/galaxyproject/galaxy/pull/1282

Older versions can simply modify eggs.ini as in that PR and should be able to use the newer eggs (however, you are strongly encouraged to update to the latest stable version, especially if developing in Galaxy).

ADD REPLYlink written 3.0 years ago by Nate Coraor3.2k
0
gravatar for jaeil.han
3.1 years ago by
jaeil.han10
United States
jaeil.han10 wrote:

I reinstalled the galaxy and got something different. (It seemed to work at the beginning)

JAEILs-iMac:galaxy-dev jaeilhan$ sh run.sh
Initializing config/migrated_tools_conf.xml from migrated_tools_conf.xml.sample
Initializing config/shed_tool_conf.xml from shed_tool_conf.xml.sample
Initializing config/shed_tool_data_table_conf.xml from shed_tool_data_table_conf.xml.sample
Initializing config/shed_data_manager_conf.xml from shed_data_manager_conf.xml.sample
Initializing lib/tool_shed/scripts/bootstrap_tool_shed/user_info.xml from user_info.xml.sample
Initializing tool-data/shared/ucsc/builds.txt from builds.txt.sample
Initializing tool-data/shared/ucsc/manual_builds.txt from manual_builds.txt.sample
Initializing tool-data/shared/ucsc/ucsc_build_sites.txt from ucsc_build_sites.txt.sample
Initializing tool-data/shared/igv/igv_build_sites.txt from igv_build_sites.txt.sample
Initializing tool-data/shared/rviewer/rviewer_build_sites.txt from rviewer_build_sites.txt.sample
Initializing tool-data/add_scores.loc from add_scores.loc.sample
Initializing tool-data/alignseq.loc from alignseq.loc.sample
Initializing tool-data/all_fasta.loc from all_fasta.loc.sample
Initializing tool-data/bfast_indexes.loc from bfast_indexes.loc.sample
Initializing tool-data/binned_scores.loc from binned_scores.loc.sample
Initializing tool-data/codingSnps.loc from codingSnps.loc.sample
Initializing tool-data/encode_datasets.loc from encode_datasets.loc.sample
Initializing tool-data/faseq.loc from faseq.loc.sample
Initializing tool-data/funDo.loc from funDo.loc.sample
Initializing tool-data/liftOver.loc from liftOver.loc.sample
Initializing tool-data/maf_index.loc from maf_index.loc.sample
Initializing tool-data/maf_pairwise.loc from maf_pairwise.loc.sample
Initializing tool-data/microbial_data.loc from microbial_data.loc.sample
Initializing tool-data/mosaik_index.loc from mosaik_index.loc.sample
Initializing tool-data/ngs_sim_fasta.loc from ngs_sim_fasta.loc.sample
Initializing tool-data/perm_base_index.loc from perm_base_index.loc.sample
Initializing tool-data/perm_color_index.loc from perm_color_index.loc.sample
Initializing tool-data/phastOdds.loc from phastOdds.loc.sample
Initializing tool-data/picard_index.loc from picard_index.loc.sample
Initializing tool-data/quality_scores.loc from quality_scores.loc.sample
Initializing tool-data/regions.loc from regions.loc.sample
Initializing tool-data/sequence_index_base.loc from sequence_index_base.loc.sample
Initializing tool-data/sequence_index_color.loc from sequence_index_color.loc.sample
Initializing tool-data/sift_db.loc from sift_db.loc.sample
Initializing tool-data/srma_index.loc from srma_index.loc.sample
Initializing tool-data/twobit.loc from twobit.loc.sample
Initializing static/welcome.html from welcome.html.sample
Some eggs are out of date, attempting to fetch...
Fetched http://eggs.galaxyproject.org/Mako/Mako-0.4.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/repoze.lru/repoze.lru-0.6-py2.7.egg
Fetched http://eggs.galaxyproject.org/pysam/pysam-0.4.2_kanwei_b10f6e722e9a-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/ordereddict/ordereddict-1.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/Fabric/Fabric-1.7.0-py2.7.egg
Fetched http://eggs.galaxyproject.org/Babel/Babel-1.3-py2.7.egg
Fetched http://eggs.galaxyproject.org/Whoosh/Whoosh-2.4.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/Parsley/Parsley-1.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/Cheetah/Cheetah-2.2.2-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/paramiko/paramiko-1.11.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/lrucache/lrucache-0.2-py2.7.egg
Fetched http://eggs.galaxyproject.org/sqlalchemy_migrate/sqlalchemy_migrate-0.9.6-py2.7.egg
Fetched http://eggs.galaxyproject.org/NoseHTML/NoseHTML-0.4.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/pexpect/pexpect-2.4-py2.7.egg
Fetched http://eggs.galaxyproject.org/amqp/amqp-1.4.6-py2.7.egg
Fetched http://eggs.galaxyproject.org/bx_python/bx_python-0.7.2-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/PasteDeploy/PasteDeploy-1.5.0-py2.7.egg
Fetched http://eggs.galaxyproject.org/WebHelpers/WebHelpers-1.3-py2.7.egg
Fetched http://eggs.galaxyproject.org/bioblend/bioblend-0.5.2-py2.7.egg
Fetched http://eggs.galaxyproject.org/docutils/docutils-0.7-py2.7.egg
Fetched http://eggs.galaxyproject.org/kombu/kombu-3.0.24-py2.7.egg
Fetched http://eggs.galaxyproject.org/numpy/numpy-1.6.0-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/pysqlite/pysqlite-2.5.6_3.6.17_static-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/mock/mock-1.0.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/raven/raven-3.1.8-py2.7.egg
Fetched http://eggs.galaxyproject.org/Beaker/Beaker-1.4-py2.7.egg
Fetched http://eggs.galaxyproject.org/PyYAML/PyYAML-3.10-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/SQLAlchemy/SQLAlchemy-1.0.8-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/simplejson/simplejson-2.1.1-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/sqlparse/sqlparse-0.1.14-py2.7.egg
Fetched http://eggs.galaxyproject.org/NoseTestDiff/NoseTestDiff-0.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/poster/poster-0.8.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/python_lzo/python_lzo-1.08_2.03_static-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/wchartype/wchartype-0.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/Tempita/Tempita-0.5.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/MarkupSafe/MarkupSafe-0.12-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/ssh/ssh-1.7.14-py2.7.egg
Fetched http://eggs.galaxyproject.org/Routes/Routes-2.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/six/six-1.9.0-py2.7.egg
Fetched http://eggs.galaxyproject.org/decorator/decorator-3.1.2-py2.7.egg
Fetched http://eggs.galaxyproject.org/importlib/importlib-1.0.3-py2.7.egg
Fetched http://eggs.galaxyproject.org/WebOb/WebOb-0.8.5-py2.7.egg
Fetched http://eggs.galaxyproject.org/pycrypto/pycrypto-2.5-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/boto/boto-2.27.0-py2.7.egg
Fetched http://eggs.galaxyproject.org/Paste/Paste-1.7.5.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/python_daemon/python_daemon-1.5.5-py2.7.egg
Fetched http://eggs.galaxyproject.org/mercurial/mercurial-3.2.4-py2.7-macosx-10.6-intel-ucs2.egg
Fetched http://eggs.galaxyproject.org/wsgiref/wsgiref-0.1.2-py2.7.egg
Fetched http://eggs.galaxyproject.org/SVGFig/SVGFig-1.1.6-py2.7.egg
Fetched http://eggs.galaxyproject.org/pytz/pytz-2013.9-py2.7.egg
Fetched http://eggs.galaxyproject.org/nose/nose-1.3.6-py2.7.egg
Fetched http://eggs.galaxyproject.org/requests/requests-2.2.1-py2.7.egg
Fetched http://eggs.galaxyproject.org/anyjson/anyjson-0.3.3-py2.7.egg
Fetched http://eggs.galaxyproject.org/WebError/WebError-0.8a-py2.7.egg
Fetched http://eggs.galaxyproject.org/twill/twill-0.9-py2.7.egg
Fetch successful.
Traceback (most recent call last):
File "./scripts/paster.py", line 32, in <module>
serve.run()
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1052, in run
invoke(command, command_name, options, args[1:])
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1058, in invoke
exit_code = runner.run(args)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 221, in run
result = self.command()
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 637, in command
app = loadapp( app_spec, name=app_name, relative_to=base, global_conf=vars)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 352, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 376, in loadobj
global_conf=global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 401, in loadcontext
global_conf=global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 425, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 563, in get_context
section)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 622, in _context_from_explicit
value = import_string(found_expr)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 127, in import_string
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/web/buildapp.py", line 5, in <module>
from galaxy.webapps.galaxy.buildapp import app_factory
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/webapps/galaxy/buildapp.py", line 15, in <module>
import galaxy.app
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/app.py", line 9, in <module>
import galaxy.queues
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/queues.py", line 19, in <module>
from kombu import Exchange, Queue, Connection
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/__init__.py", line 67, in __getattr__
module = __import__(object_origins[name], None, None, [name])
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/entity.py", line 10, in <module>
from .abstract import MaybeChannelBound
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/abstract.py", line 12, in <module>
from .connection import maybe_channel
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/connection.py", line 19, in <module>
from kombu import exceptions
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/exceptions.py", line 12, in <module>
from amqp import ChannelError, ConnectionError, ResourceError
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/__init__.py", line 32, in <module>
from .basic_message import Message # noqa
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/basic_message.py", line 19, in <module>
from .serialization import GenericContent
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/serialization.py", line 33, in <module>
from .five import int_types, long_t, string, string_t, items
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/amqp-1.4.6-py2.7.egg/amqp/five.py", line 145, in <module>
libSystem = ctypes.CDLL('libSystem.dylib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libSystem.dylib, 6): image not found
view raw gistfile1.txt hosted with ❤ by GitHub

ADD COMMENTlink modified 3.0 years ago by Martin Čech ♦♦ 4.9k • written 3.1 years ago by jaeil.han10

That is still the same error. By reinstalling Galaxy you triggered a fresh download of all software it depends upon including the old version of amqp.

Now try to make the change I suggested and restart (not reinstall) Galaxy.
 

ADD REPLYlink written 3.1 years ago by Wolfgang Maier600

I see! However, I made the change you suggested as well but got the same error.

 

ADD REPLYlink written 3.1 years ago by jaeil.han10

Unfortunately, I do not have access to our El Capitan test machine right now to verify this.

Can you try to change the line again and post the error message if it appears again? I would be surprised if it's the same as above.

ADD REPLYlink written 3.1 years ago by Wolfgang Maier600

I wonder if I did something wrong. Here is the part of the five.py file including the change I made.

if sys.version_info < (3, 3):

    import platform
    SYSTEM = platform.system()

    if SYSTEM == 'Darwin':
        import ctypes
        from ctypes.util import find_library
        libSystem = ctypes.CDLL(find_library('libSystem.dylib'))
        CoreServices = ctypes.CDLL(find_library('CoreServices'),
                                   use_errno=True)
        mach_absolute_time = libSystem.mach_absolute_time
        mach_absolute_time.restype = ctypes.c_uint64
        absolute_to_nanoseconds = CoreServices.AbsoluteToNanoseconds
        absolute_to_nanoseconds.restype = ctypes.c_uint64
        absolute_to_nanoseconds.argtypes = [ctypes.c_uint64]

        def _monotonic():
            return absolute_to_nanoseconds(mach_absolute_time()) * 1e-9

and This is the error message I got. It seems to be same.

JAEILs-iMac:galaxy-dev jaeilhan$ sh run.sh
Traceback (most recent call last):
File "./scripts/paster.py", line 32, in <module>
serve.run()
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1052, in run
invoke(command, command_name, options, args[1:])
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1058, in invoke
exit_code = runner.run(args)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 221, in run
result = self.command()
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 637, in command
app = loadapp( app_spec, name=app_name, relative_to=base, global_conf=vars)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 352, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 376, in loadobj
global_conf=global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 401, in loadcontext
global_conf=global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 425, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 563, in get_context
section)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 622, in _context_from_explicit
value = import_string(found_expr)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 127, in import_string
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/web/buildapp.py", line 5, in <module>
from galaxy.webapps.galaxy.buildapp import app_factory
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/webapps/galaxy/buildapp.py", line 15, in <module>
import galaxy.app
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/app.py", line 9, in <module>
import galaxy.queues
File "/Users/jaeilhan/Downloads/galaxy-dev/lib/galaxy/queues.py", line 19, in <module>
from kombu import Exchange, Queue, Connection
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/__init__.py", line 67, in __getattr__
module = __import__(object_origins[name], None, None, [name])
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/entity.py", line 10, in <module>
from .abstract import MaybeChannelBound
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/abstract.py", line 12, in <module>
from .connection import maybe_channel
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/connection.py", line 20, in <module>
from .five import Empty, range, string_t, text_t, LifoQueue as _LifoQueue
File "/Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/five.py", line 52, in <module>
libSystem = ctypes.CDLL('libSystem.dylib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libSystem.dylib, 6): image not found
view raw gistfile1.txt hosted with ❤ by GitHub

ADD REPLYlink modified 3.0 years ago by Martin Čech ♦♦ 4.9k • written 3.1 years ago by jaeil.han10

Ah, this is *different*. The original error is gone, but that revealed a new one in /Users/jaeilhan/Downloads/galaxy-dev/eggs/kombu-3.0.24-py2.7.egg/kombu/five.py .

That file suffers from the exact same problem as the previous one so modify it like you did before. Hope that is it.

ADD REPLYlink written 3.1 years ago by Wolfgang Maier600
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 155 users visited in the last hour