Re: OMERO.server creation questions
Posted: Thu Dec 22, 2016 5:09 pm
Thanks for the link to installing webtagging. When i followed the guide and everything worked I believe. When i try and start OMERO.web i get a long debug/error message:
How do i fix this?
omero@ip-172-31-18-162:~/OMERO.server/bin$ ./omero config get
omero.data.dir=OMERO
omero.db.name=omero_database
omero.db.pass=omeropass
omero.db.user=EACRIuser
omero.web.application_server=development
omero.web.apps=["autotag", "tagsearch"]
omero.web.debug=True
omero.web.ui.center_plugins=[["Auto Tag", "autotag/auto_tag_init.js.html", "auto_tag_panel"]]
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "http://help.openmicroscopy.org/", {"target": "new", "title": "Open OMERO user guide in a new tab"}], ["Tag Search", "tagsearch"]]
omero@ip-172-31-18-162:~/OMERO.server/bin$ ./omero admin restart
Waiting on shutdown. Use CTRL-C to exit
.No descriptor given. Using etc/grid/default.xml
Waiting on startup. Use CTRL-C to exit
omero@ip-172-31-18-162:~/OMERO.server/bin$ ./omero web start
INFO:__main__:Application Starting...
INFO:root:Processing custom settings for module omeroweb.settings
INFO:root:Processing custom settings for module omeroweb.settings
INFO:root:Processing custom settings for module omeroweb.settings
DEBUG:omeroweb.settings:ADMINS = [] (source:default)
DEBUG:omeroweb.settings:APPLICATION_SERVER = 'development' (source:omero.web.application_server)
DEBUG:omeroweb.settings:APPLICATION_SERVER_HOST = '127.0.0.1' (source:default)
DEBUG:omeroweb.settings:APPLICATION_SERVER_MAX_REQUESTS = 0 (source:default)
DEBUG:omeroweb.settings:APPLICATION_SERVER_PORT = 4080 (source:default)
DEBUG:omeroweb.settings:ADDITIONAL_APPS = [u'autotag', u'tagsearch'] (source:omero.web.apps)
DEBUG:omeroweb.settings:CACHES = {u'default': {u'BACKEND': u'django.core.cache.backends.dummy.DummyCache'}} (source:default)
DEBUG:omeroweb.settings:CHUNK_SIZE = 1048576 (source:default)
DEBUG:omeroweb.settings:DATABASES = {} (source:default)
DEBUG:omeroweb.settings:DEBUG = True (source:omero.web.debug)
DEBUG:omeroweb.settings:INDEX_TEMPLATE = None (source:default)
DEBUG:omeroweb.settings:LOGDIR = '/home/omero/OMERO.server-5.2.6-ice35-b35/var/log' (source:default)
DEBUG:omeroweb.settings:LOGIN_LOGO = None (source:default)
DEBUG:omeroweb.settings:LOGIN_REDIRECT = {} (source:default)
DEBUG:omeroweb.settings:LOGIN_VIEW = 'weblogin' (source:default)
DEBUG:omeroweb.settings:PAGE = 200 (source:default)
DEBUG:omeroweb.settings:PING_INTERVAL = 60000 (source:default)
DEBUG:omeroweb.settings:PIPELINE_CSS_COMPRESSOR = None (source:default)
DEBUG:omeroweb.settings:PIPELINE_JS_COMPRESSOR = None (source:default)
DEBUG:omeroweb.settings:STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' (source:default)
DEBUG:omeroweb.settings:FORCE_SCRIPT_NAME = None (source:default)
DEBUG:omeroweb.settings:PUBLIC_CACHE_ENABLED = False (source:default)
DEBUG:omeroweb.settings:PUBLIC_CACHE_KEY = u'********************' (source:default)
DEBUG:omeroweb.settings:PUBLIC_CACHE_TIMEOUT = 86400 (source:default)
DEBUG:omeroweb.settings:PUBLIC_ENABLED = False (source:default)
DEBUG:omeroweb.settings:PUBLIC_PASSWORD = u'********************' (source:default)
DEBUG:omeroweb.settings:PUBLIC_SERVER_ID = 1 (source:default)
DEBUG:omeroweb.settings:PUBLIC_URL_FILTER = <_sre.SRE_Pattern object at 0x7f46ab8d5510> (source:default)
DEBUG:omeroweb.settings:PUBLIC_USER = None (source:default)
DEBUG:omeroweb.settings:SECRET_KEY = u'********************' (source:default)
DEBUG:omeroweb.settings:SECURE_PROXY_SSL_HEADER = [] (source:default)
DEBUG:omeroweb.settings:SERVER_LIST = [[u'localhost', 4064, u'omero']] (source:default)
DEBUG:omeroweb.settings:SESSION_COOKIE_AGE = 86400 (source:default)
DEBUG:omeroweb.settings:SESSION_COOKIE_DOMAIN = None (source:default)
DEBUG:omeroweb.settings:SESSION_COOKIE_NAME = None (source:default)
DEBUG:omeroweb.settings:SESSION_ENGINE = 'omeroweb.filesessionstore' (source:default)
DEBUG:omeroweb.settings:SESSION_EXPIRE_AT_BROWSER_CLOSE = True (source:default)
DEBUG:omeroweb.settings:STATIC_ROOT = '/home/omero/OMERO.server-5.2.6-ice35-b35/lib/python/omeroweb/static' (source:default)
DEBUG:omeroweb.settings:STATIC_URL = '/static/' (source:default)
DEBUG:omeroweb.settings:STATICFILES_DIRS = [] (source:default)
DEBUG:omeroweb.settings:TEMPLATE_DIRS = [] (source:default)
DEBUG:omeroweb.settings:CENTER_PLUGINS = [[u'Auto Tag', u'autotag/auto_tag_init.js.html', u'auto_tag_panel']] (source:omero.web.ui.center_plugins)
DEBUG:omeroweb.settings:RIGHT_PLUGINS = [[u'Acquisition', u'webclient/data/includes/right_plugin.acquisition.js.html', u'metadata_tab'], [u'Preview', u'webclient/data/includes/right_plugin.preview.js.html', u'preview_tab']] (source:default)
DEBUG:omeroweb.settings:TOP_LINKS = [[u'Data', u'webindex', {u'title': u'Browse Data via Projects, Tags etc'}], [u'History', u'history', {u'title': u'History'}], [u'Help', u'http://help.openmicroscopy.org/', {u'target': u'new', u'title': u'Open OMERO user guide in a new tab'}], [u'Tag Search', u'tagsearch']] (source:omero.web.ui.top_links)
DEBUG:omeroweb.settings:USE_X_FORWARDED_HOST = False (source:default)
DEBUG:omeroweb.settings:VIEWER_VIEW = 'omeroweb.webclient.views.image_viewer' (source:default)
DEBUG:omeroweb.settings:WEBGATEWAY_CACHE = None (source:default)
DEBUG:omeroweb.settings:WSGI_ARGS = None (source:default)
DEBUG:omeroweb.settings:WSGI_TIMEOUT = 60 (source:default)
DEBUG:omeroweb.settings:WSGI_WORKERS = 5 (source:default)
DEBUG:omeroweb.settings:Attempting to import additional app settings for app: autotag
DEBUG:omeroweb.settings:Couldn't import settings from app: autotag
DEBUG:omeroweb.settings:Attempting to import additional app settings for app: tagsearch
DEBUG:omeroweb.settings:Couldn't import settings from app: tagsearch
DEBUG:omeroweb.settings:INSTALLED_APPS=[('django.contrib.staticfiles', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'omeroweb.feedback', 'omeroweb.webadmin', 'omeroweb.webclient', 'omeroweb.webgateway', 'omeroweb.webredirect', 'pipeline', u'autotag', u'tagsearch')]
Traceback (most recent call last):
File "manage.py", line 56, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 328, in execute
django.setup()
File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named autotag
omero@ip-172-31-18-162:~/OMERO.server/bin$
How do i fix this?