Hi,
I am having a problem getting Omero.web up and running. I am following the walkthrough, but the db.sqlite3 file is missing and i cannot do the following step.
"Copy the db.sqlite3 from {OMERO_HOME}/Current/lib/python/omeroweb/ to /var/lib/omero/webdb/" but this file is missing I simply untarred the file and searched it and cannot find it, is this file made during the installation?
I receive the following error when doing executing bin/omero web syncdb
omero> web syncdb
Database synchronization...
Traceback (most recent call last):
File "manage.py", line 42, in <module>
execute_manager(settings)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/core/management/__init__.py", line 362, in execute_manager
utility.execute()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/core/management/__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/core/management/base.py", line 213, in execute
translation.activate('en-us')
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/translation/__init__.py", line 73, in activate
return real_activate(language)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/translation/__init__.py", line 43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/translation/trans_real.py", line 205, in activate
_active[currentThread()] = translation(language)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/translation/trans_real.py", line 194, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/translation/trans_real.py", line 180, in _fetch
app = import_module(appname)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/contrib/admin/__init__.py", line 1, in <module>
from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/contrib/admin/helpers.py", line 2, in <module>
from django import forms
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/forms/__init__.py", line 17, in <module>
from models import *
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/forms/models.py", line 8, in <module>
from django.utils.text import get_text_list, capfirst
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/OmeroPython/django/utils/text.py", line 179, in <module>
ustring_re = re.compile(u"([\u0080-\uffff])")
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 190, in compile
return _compile(pattern, flags)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 243, in _compile
p = sre_compile.compile(pattern, flags)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 510, in compile
code = _code(p, flags)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 495, in _code
_compile(code, p.data, flags)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 107, in _compile
_compile(code, av[1], flags)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 63, in _compile
_compile_charset(av, flags, code, fixup)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 189, in _compile_charset
for op, av in _optimize_charset(charset, fixup):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 232, in _optimize_charset
return _optimize_unicode(charset, fixup)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py", line 352, in _optimize_unicode
mapping = array.array('b', mapping).tostring()
AttributeError: 'module' object has no attribute 'array'
omero>
Any help is greatly appreciated
-Brandon