Advertisement
Guest User

pootle testrun

a guest
Apr 13th, 2015
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.63 KB | None | 0 0
  1. lukev@pootle:~$ sudo su
  2. root@pootle:/home/lukev# virtualenv /var/www/pootle/env/
  3. New python executable in /var/www/pootle/env/bin/python
  4. Installing setuptools, pip...done.
  5. root@pootle:/home/lukev# source /var/www/pootle/env/bin/activate
  6. (env)root@pootle:/home/lukev# pip install pootle
  7. /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.
  8. InsecurePlatformWarning
  9. Collecting pootle
  10. /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.
  11. InsecurePlatformWarning
  12. Using cached Pootle-2.5.1.1.tar.bz2
  13. Collecting Django<1.5,>=1.4.10 (from pootle)
  14. Using cached Django-1.4.20.tar.gz
  15. Collecting django-voting==0.1 (from pootle)
  16. Using cached django-voting-0.1.tar.gz
  17. Collecting South<0.8,>=0.7.6 (from pootle)
  18. Using cached South-0.7.6.tar.gz
  19. Collecting django-assets>=0.8 (from pootle)
  20. Using cached django-assets-0.10.tar.gz
  21. Collecting django-taggit<0.11.2,>=0.10 (from pootle)
  22. Using cached django_taggit-0.11.1-py2.py3-none-any.whl
  23. Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/p ython2.7 (from pootle)
  24. Collecting cssmin>=0.1.4 (from pootle)
  25. Using cached cssmin-0.2.0.tar.gz
  26. Collecting lxml>=2.1.4 (from pootle)
  27. Using cached lxml-3.4.2.tar.gz
  28. Collecting translate-toolkit>=1.11.0 (from pootle)
  29. Using cached translate-toolkit-1.12.0.tar.bz2
  30. Collecting webassets==0.10 (from django-assets>=0.8->pootle)
  31. Using cached webassets-0.10.tar.gz
  32. Collecting six (from translate-toolkit>=1.11.0->pootle)
  33. Using cached six-1.9.0-py2.py3-none-any.whl
  34. Collecting diff-match-patch (from translate-toolkit>=1.11.0->pootle)
  35. Using cached diff-match-patch-20121119.tar.gz
  36. Installing collected packages: Django, django-voting, South, webassets, django-a ssets, django-taggit, cssmin, lxml, six, diff-match-patch, translate-toolkit, po otle
  37. Running setup.py install for Django
  38. Running setup.py install for django-voting
  39. Running setup.py install for South
  40. Running setup.py install for webassets
  41. Running setup.py install for django-assets
  42. Running setup.py install for cssmin
  43. Running setup.py install for lxml
  44. Running setup.py install for diff-match-patch
  45. Running setup.py install for translate-toolkit
  46. Running setup.py install for pootle
  47. 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
  48. (env)root@pootle:/home/lukev# pootle --version
  49. Pootle 2.5.1.1
  50. Translate Toolkit 1.12.0
  51. Django 1.4.20
  52. (env)root@pootle:/home/lukev# pootle init
  53. File already exists at '/root/.pootle/pootle.conf', overwrite? [nY] Y
  54. Configuration file created at '/root/.pootle/pootle.conf'
  55. (env)root@pootle:/home/lukev# pootle setup
  56. 2015-04-13 10:38:06,101 INFO Loading custom settings from '/root/.pootle/pootle. conf'...
  57. 2015-04-13 08:38:06,458 INFO Using Python PO
  58. 2015-04-13 08:38:06,682 INFO Setting up a new Pootle installation.
  59. Syncing...
  60. Creating tables ...
  61. Creating table django_session
  62. Creating table auth_permission
  63. Creating table auth_group_permissions
  64. Creating table auth_group
  65. Creating table auth_user_user_permissions
  66. Creating table auth_user_groups
  67. Creating table auth_user
  68. Creating table django_content_type
  69. Creating table django_site
  70. Creating table django_admin_log
  71. Creating table registration_registrationprofile
  72. Creating table siteconfig_siteconfiguration
  73. Creating table votes
  74. Creating table south_migrationhistory
  75. Installing custom SQL ...
  76. Installing indexes ...
  77. Installed 0 object(s) from 0 fixture(s)
  78.  
  79. Synced:
  80. > django.contrib.sessions
  81. > django.contrib.auth
  82. > django.contrib.contenttypes
  83. > django.contrib.sites
  84. > django.contrib.admin
  85. > django.contrib.messages
  86. > django.contrib.staticfiles
  87. > registration
  88. > djblets.siteconfig
  89. > django_assets
  90. > voting
  91. > south
  92.  
  93. Not synced (use migrations):
  94. - pootle_app
  95. - pootle_store
  96. - pootle_language
  97. - pootle_project
  98. - pootle_translationproject
  99. - pootle_profile
  100. - pootle_statistics
  101. - pootle_tagging
  102. - pootle_notifications
  103. - staticpages
  104. - taggit
  105. (use ./manage.py migrate to migrate these)
  106. Running migrations for pootle_app:
  107. - Migrating forwards to 0001_initial.
  108. > pootle_app:0001_initial
  109. - Loading initial data for pootle_app.
  110. Installed 0 object(s) from 0 fixture(s)
  111. Running migrations for pootle_store:
  112. - Migrating forwards to 0001_initial.
  113. > pootle_store:0001_initial
  114. - Loading initial data for pootle_store.
  115. Installed 0 object(s) from 0 fixture(s)
  116. Running migrations for pootle_language:
  117. - Migrating forwards to 0002_auto__del_field_language_description_html__chg_fie ld_language_descript.
  118. > pootle_language:0001_initial
  119. > pootle_language:0002_auto__del_field_language_description_html__chg_field_lan guage_descript
  120. - Loading initial data for pootle_language.
  121. Installed 0 object(s) from 0 fixture(s)
  122. Running migrations for pootle_project:
  123. - Migrating forwards to 0002_auto__del_field_project_description_html__chg_fiel d_project_descriptio.
  124. > pootle_project:0001_initial
  125. > pootle_project:0002_auto__del_field_project_description_html__chg_field_proje ct_descriptio
  126. - Loading initial data for pootle_project.
  127. Installed 0 object(s) from 0 fixture(s)
  128. Running migrations for pootle_translationproject:
  129. - Migrating forwards to 0002_auto__del_field_translationproject_description_htm l__chg_field_transla.
  130. > pootle_translationproject:0001_initial
  131. > pootle_translationproject:0002_auto__del_field_translationproject_description _html__chg_field_transla
  132. - Loading initial data for pootle_translationproject.
  133. Installed 0 object(s) from 0 fixture(s)
  134. Running migrations for pootle_profile:
  135. - Migrating forwards to 0001_initial.
  136. > pootle_profile:0001_initial
  137. - Loading initial data for pootle_profile.
  138. Installed 0 object(s) from 0 fixture(s)
  139. Running migrations for pootle_statistics:
  140. - Migrating forwards to 0001_initial.
  141. > pootle_statistics:0001_initial
  142. - Loading initial data for pootle_statistics.
  143. Installed 0 object(s) from 0 fixture(s)
  144. Running migrations for pootle_tagging:
  145. - Migrating forwards to 0001_initial.
  146. > pootle_tagging:0001_initial
  147. - Loading initial data for pootle_tagging.
  148. Installed 0 object(s) from 0 fixture(s)
  149. Running migrations for pootle_notifications:
  150. - Migrating forwards to 0001_initial.
  151. > pootle_notifications:0001_initial
  152. - Loading initial data for pootle_notifications.
  153. Installed 0 object(s) from 0 fixture(s)
  154. Running migrations for staticpages:
  155. - Migrating forwards to 0011_auto__chg_field_legalpage_modified_on__chg_field_s taticpage_modified_o.
  156. > staticpages:0001_initial
  157. > staticpages:0002_rename_app
  158. > staticpages:0003_auto__del_field_legalpage_body_html__chg_field_legalpage_bod y
  159. > staticpages:0004_auto__add_field_legalpage_virtual_path
  160. > staticpages:0005_data__slug_to_virtual_path
  161. - Migration 'staticpages:0005_data__slug_to_virtual_path' is marked for no-dry- run.
  162. > staticpages:0006_auto__del_field_legalpage_slug__chg_field_legalpage_virtual_ path
  163. > staticpages:0007_auto__add_unique_legalpage_virtual_path
  164. > staticpages:0008_auto__del_field_legalpage_display_on_register
  165. > staticpages:0009_auto__add_staticpage
  166. > staticpages:0010_auto__add_agreement__add_unique_agreement_user_document__add _field_sta
  167. /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.
  168. RuntimeWarning)
  169. /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.
  170. RuntimeWarning)
  171. /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.
  172. RuntimeWarning)
  173. /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.
  174. RuntimeWarning)
  175. > staticpages:0011_auto__chg_field_legalpage_modified_on__chg_field_staticpage_ modified_o
  176. - Loading initial data for staticpages.
  177. Installed 0 object(s) from 0 fixture(s)
  178. Running migrations for taggit:
  179. - Migrating forwards to 0002_unique_tagnames.
  180. > taggit:0001_initial
  181. > taggit:0002_unique_tagnames
  182. - Loading initial data for taggit.
  183. Installed 0 object(s) from 0 fixture(s)
  184. 2015-04-13 08:38:58,030 INFO Populating the database.
  185. 2015-04-13 08:39:13,689 INFO Succesfully populated the database.
  186. 2015-04-13 08:39:13,690 INFO Successfully deployed new Pootle.
  187. (env)root@pootle:/home/lukev# pootle collectstatic
  188. 2015-04-13 10:39:41,686 INFO Loading custom settings from '/root/.pootle/pootle. conf'...
  189. 2015-04-13 08:39:42,087 INFO Using Python PO
  190.  
  191. You have requested to collect static files at the destination
  192. location as specified in your settings.
  193.  
  194. This will overwrite existing files!
  195. Are you sure you want to do this?
  196.  
  197. Type 'yes' to continue, or 'no' to cancel: yes
  198. Traceback (most recent call last):
  199. File "/var/www/pootle/env/bin/pootle", line 9, in <module>
  200. load_entry_point('Pootle==2.5.1.1', 'console_scripts', 'pootle')()
  201. File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 210, in main
  202. django_settings_module='pootle.settings')
  203. File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 198, in run_app
  204. management.execute_from_command_line([runner_name, command] + command_args)
  205. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/__init__.py", line 443, in execute_from_command_line
  206. utility.execute()
  207. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/__init__.py", line 382, in execute
  208. self.fetch_command(subcommand).run_from_argv(self.argv)
  209. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/base.py", line 196, in run_from_argv
  210. self.execute(*args, **options.__dict__)
  211. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/base.py", line 232, in execute
  212. output = self.handle(*args, **options)
  213. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/manage ment/base.py", line 371, in handle
  214. return self.handle_noargs(**options)
  215. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/management/commands/collectstatic.py", line 163, in handle_noargs
  216. collected = self.collect()
  217. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/management/commands/collectstatic.py", line 104, in collect
  218. for path, storage in finder.list(self.ignore_patterns):
  219. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django_assets/find ers.py", line 68, in list
  220. for output in super(AssetsFinder, self).list(ignore_patterns):
  221. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/finders.py", line 210, in list
  222. for path in utils.get_files(self.storage, ignore_patterns):
  223. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/contrib/sta ticfiles/utils.py", line 25, in get_files
  224. directories, files = storage.listdir(location)
  225. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/files/ storage.py", line 234, in listdir
  226. for entry in os.listdir(path):
  227. OSError: [Errno 2] No such file or directory: '/var/www/pootle/env/local/lib/pyt hon2.7/site-packages/pootle/assets'
  228. (env)root@pootle:/home/lukev# pootle assets build
  229. 2015-04-13 10:39:57,427 INFO Loading custom settings from '/root/.pootle/pootle.conf'...
  230. 2015-04-13 08:39:57,812 INFO Using Python PO
  231. Building bundle: css/common.min.%(version)s.css
  232. 2015-04-13 08:39:57,911 INFO Building bundle: css/common.min.%(version)s.css
  233. Traceback (most recent call last):
  234. File "/var/www/pootle/env/bin/pootle", line 9, in <module>
  235. load_entry_point('Pootle==2.5.1.1', 'console_scripts', 'pootle')()
  236. File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 210, in main
  237. django_settings_module='pootle.settings')
  238. File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 198, in run_app
  239. management.execute_from_command_line([runner_name, command] + command_args)
  240. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  241. utility.execute()
  242. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
  243. self.fetch_command(subcommand).run_from_argv(self.argv)
  244. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
  245. self.execute(*args, **options.__dict__)
  246. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
  247. output = self.handle(*args, **options)
  248. File "/var/www/pootle/env/local/lib/python2.7/site-packages/django_assets/management/commands/assets.py", line 91, in handle
  249. retval = impl.run_with_argv(args) or 0
  250. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 549, in run_with_argv
  251. return self.run_with_ns(ns)
  252. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 539, in run_with_ns
  253. return cmd.invoke(ns.command, args)
  254. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 373, in invoke
  255. return function(**args)
  256. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/script.py", line 172, in __call__
  257. bundle.build(force=True, disable_cache=no_cache)
  258. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 660, in build
  259. disable_cache=disable_cache))
  260. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 597, in _build
  261. force, disable_cache=disable_cache, extra_filters=extra_filters)
  262. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 454, in _merge_and_apply
  263. resolved_contents = self.resolve_contents(ctx, force=True)
  264. File "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", line 235, in resolve_contents
  265. raise BundleError(e)
  266. 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