-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Installation of BookType v2.2.0 DEB snapshots packages always ending with the below shown error.
http://apt.sourcefabric.org/snapshots/booktype_2.2.0~20171006-1_all.deb
For further instructions read INSTALL file.
*** Setting database parameters ***
*** Setting admin password, name and email ***
*** Setting the active profile to 'production' ***
*** Setting Booktype site name and URL ***
*** Setting report email user ***
*** Setting email host and port ***
*** Setting mPDF 6.0 path to /var/www/mpdf60/ ***
*** Setting default publisher to vClouds ***
*** Setting Redis parameters ***
*** Setting default time zone to Europe/London ***
*** Setting default language code to en-gb ***
*** Setting path to distro's pandoc ***
sed: -e expression #1, char 23: unknown option to `s'
dpkg: error processing package booktype (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
booktype
Examining the dpkg exit error results in
sh -x /var/lib/dpkg/info/booktype.postinst reconfigure
- set -e
- . /usr/share/debconf/confmodule
- [ ! ]
- PERL_DL_NONLAZY=1
- export PERL_DL_NONLAZY
- [ ]
- exec /usr/share/debconf/frontend /var/lib/dpkg/info/booktype.postinst reconfigure
*** Not installing Python libraries ***
*** Beginning automatic configuration ****** Creating instance directory /var/www/booktype ***
Directory already exists in /var/www/booktype/instance1!
Skipping instance creation!
Please advise.
I'm trying to install from the source using virtualenv as per manual and per control scripts within the DEB package as well but ending with the below django errors
Traceback (most recent call last):
File "/home/booktype/stack/main/manage.py", line 26, in
execute_from_command_line(sys.argv)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/management/init.py", line 353, in execute_from_command_line
utility.execute()
File "/home/booktype/local/lib/python2.7/site-packages/django/core/management/init.py", line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/management/base.py", line 398, in execute
self.check()
File "/home/booktype/local/lib/python2.7/site-packages/django/core/management/base.py", line 426, in check
include_deployment_checks=include_deployment_checks,
File "/home/booktype/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 75, in run_checks
new_errors = check(app_configs=app_configs)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 23, in check_resolver
for pattern in resolver.url_patterns:
File "/home/booktype/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 417, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/booktype/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/booktype/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 410, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/booktype/stack/main/main_site/urls/prod.py", line 4, in
import booktype.urls
File "/home/booktype/lib/booktype/urls.py", line 21, in
from booktype.apps.account.views import profilethumbnail
File "/home/booktype/lib/booktype/apps/account/views.py", line 61, in
from .forms import UserSettingsForm, UserPasswordChangeForm, UserInviteForm, BookCreationForm
File "/home/booktype/lib/booktype/apps/account/forms.py", line 116, in
class BookCreationForm(BaseBooktypeForm, forms.Form):
File "/home/booktype/lib/booktype/apps/account/forms.py", line 127, in BookCreationForm
choices=_make_choices(queryset=Language.objects.all()))
File "/home/booktype/lib/booktype/apps/account/forms.py", line 111, in _make_choices
for obj in queryset:
File "/home/booktype/local/lib/python2.7/site-packages/django/db/models/query.py", line 258, in iter
self._fetch_all()
File "/home/booktype/local/lib/python2.7/site-packages/django/db/models/query.py", line 1074, in _fetch_all
self._result_cache = list(self.iterator())
File "/home/booktype/local/lib/python2.7/site-packages/django/db/models/query.py", line 52, in iter
results = compiler.execute_sql()
File "/home/booktype/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 848, in execute_sql
cursor.execute(sql, params)
File "/home/booktype/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/booktype/local/lib/python2.7/site-packages/django/db/utils.py", line 95, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/booktype/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: relation "editor_language" does not exist
LINE 1: ...age"."name", "editor_language"."abbrevation" FROM "editor_la...
booktype-packaging/debian/postinst
Line 163 in c238538
| echo "*** Setting path to distro's pandoc ***" |