Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lukev@pootle:~$ sudo su
- root@pootle:/home/lukev# virtualenv /var/www/pootle/env/
- New python executable in /var/www/pootle/env/bin/python
- Installing setuptools, pip...done.
- root@pootle:/home/lukev# source /var/www/pootle/env/bin/activate
- (env)root@pootle:/home/lukev# pip install pootle
- /var/www/pootle/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packa ges/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object i s not available. This prevents urllib3 from configuring SSL appropriately and ma y cause certain SSL connections to fail. For more information, see https://urlli b3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
- InsecurePlatformWarning
- Collecting pootle
- /var/www/pootle/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packa ges/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object i s not available. This prevents urllib3 from configuring SSL appropriately and ma y cause certain SSL connections to fail. For more information, see https://urlli b3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
- InsecurePlatformWarning
- Using cached Pootle-2.5.1.1.tar.bz2
- Collecting Django<1.5,>=1.4.10 (from pootle)
- Using cached Django-1.4.20.tar.gz
- Collecting django-voting==0.1 (from pootle)
- Using cached django-voting-0.1.tar.gz
- Collecting South<0.8,>=0.7.6 (from pootle)
- Using cached South-0.7.6.tar.gz
- Collecting django-assets>=0.8 (from pootle)
- Using cached django-assets-0.10.tar.gz
- Collecting django-taggit<0.11.2,>=0.10 (from pootle)
- Using cached django_taggit-0.11.1-py2.py3-none-any.whl
- Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/p ython2.7 (from pootle)
- Collecting cssmin>=0.1.4 (from pootle)
- Using cached cssmin-0.2.0.tar.gz
- Collecting lxml>=2.1.4 (from pootle)
- Using cached lxml-3.4.2.tar.gz
- Collecting translate-toolkit>=1.11.0 (from pootle)
- Using cached translate-toolkit-1.12.0.tar.bz2
- Collecting webassets==0.10 (from django-assets>=0.8->pootle)
- Using cached webassets-0.10.tar.gz
- Collecting six (from translate-toolkit>=1.11.0->pootle)
- Using cached six-1.9.0-py2.py3-none-any.whl
- Collecting diff-match-patch (from translate-toolkit>=1.11.0->pootle)
- Using cached diff-match-patch-20121119.tar.gz
- Installing collected packages: Django, django-voting, South, webassets, django-a ssets, django-taggit, cssmin, lxml, six, diff-match-patch, translate-toolkit, po otle
- Running setup.py install for Django
- Running setup.py install for django-voting
- Running setup.py install for South
- Running setup.py install for webassets
- Running setup.py install for django-assets
- Running setup.py install for cssmin
- Running setup.py install for lxml
- Running setup.py install for diff-match-patch
- Running setup.py install for translate-toolkit
- Running setup.py install for pootle
- Successfully installed Django-1.4.20 South-0.7.6 cssmin-0.2.0 diff-match-patch-2 0121119 django-assets-0.10 django-taggit-0.11.1 django-voting-0.1 lxml-3.4.2 poo tle-2.5.1.1 six-1.9.0 translate-toolkit-1.12.0 webassets-0.10
- (env)root@pootle:/home/lukev# pootle --version
- Pootle 2.5.1.1
- Translate Toolkit 1.12.0
- Django 1.4.20
- (env)root@pootle:/home/lukev# pootle init
- File already exists at '/root/.pootle/pootle.conf', overwrite? [nY] Y
- Configuration file created at '/root/.pootle/pootle.conf'
- (env)root@pootle:/home/lukev# pootle setup
- 2015-04-13 10:38:06,101 INFO Loading custom settings from '/root/.pootle/pootle. conf'...
- 2015-04-13 08:38:06,458 INFO Using Python PO
- 2015-04-13 08:38:06,682 INFO Setting up a new Pootle installation.
- Syncing...
- Creating tables ...
- Creating table django_session
- Creating table auth_permission
- Creating table auth_group_permissions
- Creating table auth_group
- Creating table auth_user_user_permissions
- Creating table auth_user_groups
- Creating table auth_user
- Creating table django_content_type
- Creating table django_site
- Creating table django_admin_log
- Creating table registration_registrationprofile
- Creating table siteconfig_siteconfiguration
- Creating table votes
- Creating table south_migrationhistory
- Installing custom SQL ...
- Installing indexes ...
- Installed 0 object(s) from 0 fixture(s)
- Synced:
- > django.contrib.sessions
- > django.contrib.auth
- > django.contrib.contenttypes
- > django.contrib.sites
- > django.contrib.admin
- > django.contrib.messages
- > django.contrib.staticfiles
- > registration
- > djblets.siteconfig
- > django_assets
- > voting
- > south
- Not synced (use migrations):
- - pootle_app
- - pootle_store
- - pootle_language
- - pootle_project
- - pootle_translationproject
- - pootle_profile
- - pootle_statistics
- - pootle_tagging
- - pootle_notifications
- - staticpages
- - taggit
- (use ./manage.py migrate to migrate these)
- Running migrations for pootle_app:
- - Migrating forwards to 0001_initial.
- > pootle_app:0001_initial
- - Loading initial data for pootle_app.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_store:
- - Migrating forwards to 0001_initial.
- > pootle_store:0001_initial
- - Loading initial data for pootle_store.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_language:
- - Migrating forwards to 0002_auto__del_field_language_description_html__chg_fie ld_language_descript.
- > pootle_language:0001_initial
- > pootle_language:0002_auto__del_field_language_description_html__chg_field_lan guage_descript
- - Loading initial data for pootle_language.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_project:
- - Migrating forwards to 0002_auto__del_field_project_description_html__chg_fiel d_project_descriptio.
- > pootle_project:0001_initial
- > pootle_project:0002_auto__del_field_project_description_html__chg_field_proje ct_descriptio
- - Loading initial data for pootle_project.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_translationproject:
- - Migrating forwards to 0002_auto__del_field_translationproject_description_htm l__chg_field_transla.
- > pootle_translationproject:0001_initial
- > pootle_translationproject:0002_auto__del_field_translationproject_description _html__chg_field_transla
- - Loading initial data for pootle_translationproject.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_profile:
- - Migrating forwards to 0001_initial.
- > pootle_profile:0001_initial
- - Loading initial data for pootle_profile.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_statistics:
- - Migrating forwards to 0001_initial.
- > pootle_statistics:0001_initial
- - Loading initial data for pootle_statistics.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_tagging:
- - Migrating forwards to 0001_initial.
- > pootle_tagging:0001_initial
- - Loading initial data for pootle_tagging.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for pootle_notifications:
- - Migrating forwards to 0001_initial.
- > pootle_notifications:0001_initial
- - Loading initial data for pootle_notifications.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for staticpages:
- - Migrating forwards to 0011_auto__chg_field_legalpage_modified_on__chg_field_s taticpage_modified_o.
- > staticpages:0001_initial
- > staticpages:0002_rename_app
- > staticpages:0003_auto__del_field_legalpage_body_html__chg_field_legalpage_bod y
- > staticpages:0004_auto__add_field_legalpage_virtual_path
- > staticpages:0005_data__slug_to_virtual_path
- - Migration 'staticpages:0005_data__slug_to_virtual_path' is marked for no-dry- run.
- > staticpages:0006_auto__del_field_legalpage_slug__chg_field_legalpage_virtual_ path
- > staticpages:0007_auto__add_unique_legalpage_virtual_path
- > staticpages:0008_auto__del_field_legalpage_display_on_register
- > staticpages:0009_auto__add_staticpage
- > staticpages:0010_auto__add_agreement__add_unique_agreement_user_document__add _field_sta
- /var/www/pootle/env/local/lib/python2.7/site-packages/django/db/models/fields/__ init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (2015-04- 13 08:38:51.575045) while time zone support is active.
- RuntimeWarning)
- /var/www/pootle/env/local/lib/python2.7/site-packages/django/db/models/fields/__ init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (2015-04- 13 08:38:51.576997) while time zone support is active.
- RuntimeWarning)
- /var/www/pootle/env/local/lib/python2.7/site-packages/django/db/models/fields/__ init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (2015-04- 13 08:38:51.914262) while time zone support is active.
- RuntimeWarning)
- /var/www/pootle/env/local/lib/python2.7/site-packages/django/db/models/fields/__ init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (2015-04- 13 08:38:52.637720) while time zone support is active.
- RuntimeWarning)
- > staticpages:0011_auto__chg_field_legalpage_modified_on__chg_field_staticpage_ modified_o
- - Loading initial data for staticpages.
- Installed 0 object(s) from 0 fixture(s)
- Running migrations for taggit:
- - Migrating forwards to 0002_unique_tagnames.
- > taggit:0001_initial
- > taggit:0002_unique_tagnames
- - Loading initial data for taggit.
- Installed 0 object(s) from 0 fixture(s)
- 2015-04-13 08:38:58,030 INFO Populating the database.
- 2015-04-13 08:39:13,689 INFO Succesfully populated the database.
- 2015-04-13 08:39:13,690 INFO Successfully deployed new Pootle.
- (env)root@pootle:/home/lukev# pootle collectstatic
- 2015-04-13 10:39:41,686 INFO Loading custom settings from '/root/.pootle/pootle. conf'...
- 2015-04-13 08:39:42,087 INFO Using Python PO
- You have requested to collect static files at the destination
- location as specified in your settings.
- This will overwrite existing files!
- Are you sure you want to do this?
- Type 'yes' to continue, or 'no' to cancel: yes
- Traceback (most recent call last):
- File "/var/www/pootle/env/bin/pootle", line 9, in <module>
- load_entry_point('Pootle==2.5.1.1', 'console_scripts', 'pootle')()
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 210, in main
- django_settings_module='pootle.settings')
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 198, in run_app
- management.execute_from_command_line([runner_name, command] + command_args)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/base.py", line 371, in handle
- return self.handle_noargs(**options)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/management/commands/collectstatic.py", line 163, in handle_noargs
- collected = self.collect()
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/management/commands/collectstatic.py", line 104, in collect
- for path, storage in finder.list(self.ignore_patterns):
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django_assets/find ers.py", line 68, in list
- for output in super(AssetsFinder, self).list(ignore_patterns):
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/finders.py", line 210, in list
- for path in utils.get_files(self.storage, ignore_patterns):
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/utils.py", line 25, in get_files
- directories, files = storage.listdir(location)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/files/ storage.py", line 234, in listdir
- for entry in os.listdir(path):
- OSError: [Errno 2] No such file or directory: '/var/www/pootle/env/local/lib/pyt hon2.7/site-packages/pootle/assets'
- (env)root@pootle:/home/lukev# pootle assets build
- 2015-04-13 10:39:57,427 INFO Loading custom settings from '/root/.pootle/pootle.conf'...
- 2015-04-13 08:39:57,812 INFO Using Python PO
- Building bundle: css/common.min.%(version)s.css
- 2015-04-13 08:39:57,911 INFO Building bundle: css/common.min.%(version)s.css
- Traceback (most recent call last):
- File "/var/www/pootle/env/bin/pootle", line 9, in <module>
- load_entry_point('Pootle==2.5.1.1', 'console_scripts', 'pootle')()
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 210, in main
- django_settings_module='pootle.settings')
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 198, in run_app
- management.execute_from_command_line([runner_name, command] + command_args)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/django_assets/management/commands/assets.py", line 91, in handle
- retval = impl.run_with_argv(args) or 0
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 549, in run_with_argv
- return self.run_with_ns(ns)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 539, in run_with_ns
- return cmd.invoke(ns.command, args)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 373, in invoke
- return function(**args)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 172, in __call__
- bundle.build(force=True, disable_cache=no_cache)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 660, in build
- disable_cache=disable_cache))
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 597, in _build
- force, disable_cache=disable_cache, extra_filters=extra_filters)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 454, in _merge_and_apply
- resolved_contents = self.resolve_contents(ctx, force=True)
- File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 235, in resolve_contents
- raise BundleError(e)
- webassets.exceptions.BundleError: '/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/assets/css/style.css' does not exist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement