incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #6561 Clean up setup-app output
Date Wed, 14 Aug 2013 20:46:28 GMT


** [tickets:#6561] Clean up setup-app output**

**Status:** open
**Created:** Wed Aug 14, 2013 08:46 PM UTC by Dave Brondsema
**Last Updated:** Wed Aug 14, 2013 08:46 PM UTC
**Owner:** nobody

When running `setup-app` for a new setup, the following example output occurs quite a lot
and can make you think there were errors.

This log message can be removed, IMO (for everything, not just during setup-app):

16:32:33,014 INFO  [allura.model.notification] Notifications disabled for project --init--,
not sending metadata(<Page import_id=None labels=I[] deleted=False text='Welcome
  to your wiki!\n\nThis is the default page, edit it as you
  see fit. To add a new page simply reference it within
  brackets, e.g.: [SamplePage].\n\nThe wiki uses
  [Markdown](/p/wiki/markdown_syntax/) syntax.\n\n[[members
  limit=20]]\n[[download_button]]\n' title=u'Home'
  tool_version=I{'wiki': '0.0'} acl=I[] version=1
  mod_date=datetime.datetime(2013, 8, 14, 20, 32, 32,
  941372) viewable_by=I['all']

This error is because some macros need our global context stuff.  I think it'd be best to
run the whole bootstrap code within the standard request-like environment that taskd and the
webapp uses.

16:32:33,002 WARNI [allura.lib.macro] macro error.  Upwards stack is   File "/tmp/allura-env/bin/paster",
line 9, in <module>
    load_entry_point('PasteScript==', 'console_scripts', 'paster')()
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 104, in
    invoke(command, command_name, options, args[1:])
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 143, in
    exit_code =
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 68,
in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 238, in
    result = self.command()
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 456,
in command
    self, config_file, section, self.sysconfig_install_vars(installer))
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 598,
in setup_config
    mod.setup_app, command, filename, section, vars)
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/script/", line 614,
in _call_setup_app
    func(command, conf, vars)
  File "/private/tmp/allura/Allura/allura/websetup/", line 37, in setup_app
    bootstrap.bootstrap(command, conf, vars)
  File "/private/tmp/allura/Allura/allura/websetup/", line 123, in bootstrap
    p_projects = project_reg.register_neighborhood_project(n_projects, [root], allow_register=True)
  File "/private/tmp/allura/Allura/allura/lib/", line 422, in register_neighborhood_project
    ('admin', 'admin', 'Admin')])
  File "/private/tmp/allura/Allura/allura/model/", line 783, in configure_project
    self.install_app(ep_name, mount_point, label, ordinal=i)
  File "/private/tmp/allura/Allura/allura/model/", line 606, in install_app
  File "/private/tmp/allura/ForgeWiki/forgewiki/", line 260, in install
  File "/private/tmp/allura/ForgeWiki/forgewiki/", line 278, in upsert_root
  File "/private/tmp/allura/ForgeWiki/forgewiki/model/", line 132, in commit, title=None, description=description)
  File "/private/tmp/allura/Allura/allura/model/", line 790, in post
  File "/private/tmp/allura/Allura/allura/lib/", line 74, in convert
    return markdown.Markdown.convert(self, source)
  File "/tmp/allura-env/lib/python2.7/site-packages/markdown/", line 292, in convert
    newRoot =
  File "/tmp/allura-env/lib/python2.7/site-packages/markdown/", line 289,
in run
    text), child)
  File "/tmp/allura-env/lib/python2.7/site-packages/markdown/", line 110,
in __handleInline
    data, patternIndex, startIndex)
  File "/tmp/allura-env/lib/python2.7/site-packages/markdown/", line 237,
in __applyPattern
    node = pattern.handleMatch(match)
  File "/private/tmp/allura/Allura/allura/lib/", line 202, in handleMatch
    html = self.macro(
  File "/private/tmp/allura/Allura/allura/lib/", line 69, in __call__
Traceback (most recent call last):
  File "/private/tmp/allura/Allura/allura/lib/", line 65, in __call__
    response = macro(**h.encode_keys(args))
  File "/private/tmp/allura/Allura/allura/lib/", line 375, in members
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/", line 137, in __getattr__
    return getattr(self._current_obj(), attr)
  File "/private/tmp/allura/Allura/allura/lib/", line 401, in resource_manager
    return ew_core.widget_context.resource_manager
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/", line 137, in __getattr__
    return getattr(self._current_obj(), attr)
  File "/tmp/allura-env/lib/python2.7/site-packages/paste/", line 197, in _current_obj
    'thread' % self.____name__)
TypeError: No object (name: widget_context) has been registered for this thread


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message