---
** [tickets:#8344] Create-neighborhood command in docker**
**Status:** open
**Milestone:** v1.12.0
**Created:** Wed Dec 25, 2019 09:01 AM UTC by paradox
**Last Updated:** Wed Dec 25, 2019 09:01 AM UTC
**Owner:** nobody
In accordance with the direction of fulfilling the command:
$ docker-compose run taskd paster create-neighborhood docker-dev.ini
myneighborhood root
Get the following output:
> INFO [allura.command] Initialize command with config 'docker-dev.ini'
ERROR [tg.configuration.app_config] Failed to initialize mako template engine,
removing it...
INFO [allura.command] Loaded tools
WARNI [allura.lib.macro] macro error. Upwards stack is File
"/allura-data/virtualenv/bin/paster", line 8, in <module>
sys.exit(run())
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/script/command.py",
line 102, in run
invoke(command, command_name, options, args[1:])
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/script/command.py",
line 141, in invoke
exit_code = runner.run(args)
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/script/command.py",
line 236, in run
result = self.command()
File "/allura/Allura/allura/command/create_neighborhood.py", line 50, in
command
project_reg.register_neighborhood_project(n, admins)
File "/allura/Allura/allura/lib/plugin.py", line 941, in
register_neighborhood_project
('admin', 'admin', 'Admin')])
File "/allura/Allura/allura/model/project.py", line 1031, in configure_project
self.install_app(ep_name, mount_point, label, ordinal=i)
File "/allura/Allura/allura/model/project.py", line 835, in install_app
app.install(self)
File "/allura/ForgeWiki/forgewiki/wiki_main.py", line 331, in install
self.upsert_root(root_page_name, notify=False)
File "/allura/ForgeWiki/forgewiki/wiki_main.py", line 340, in upsert_root
p.commit()
File "/allura/ForgeWiki/forgewiki/model/wiki.py", line 175, in commit
Feed.post(self, title=None, description=description)
File "/allura/Allura/allura/model/artifact.py", line 948, in post
description=g.markdown.convert(description),
File "/allura/Allura/allura/lib/app_globals.py", line 85, in convert
return markdown.Markdown.convert(self, source)
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/markdown/__init__.py",
line 375, in convert
newRoot = treeprocessor.run(root)
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/markdown/treeprocessors.py",
line 324, in run
self.__handleInline(text), child
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/markdown/treeprocessors.py",
line 107, in __handleInline
data, patternIndex, startIndex)
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/markdown/treeprocessors.py",
line 245, in __applyPattern
node = pattern.handleMatch(match)
File "/allura/Allura/allura/lib/markdown_extensions.py", line 400, in
handleMatch
html = self.macro(m.group(2))
File "/allura/Allura/allura/lib/macro.py", line 80, in __call__
''.join(traceback.format_stack()),
Traceback (most recent call last):
File "/allura/Allura/allura/lib/macro.py", line 76, in __call__
response = macro(**h.encode_keys(args))
File "/allura/Allura/allura/lib/macro.py", line 445, in members
g.resource_manager.register(users)
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/tg/support/objectproxy.py",
line 19, in __getattr__
return getattr(self._current_obj(), attr)
File "/allura/Allura/allura/lib/app_globals.py", line 502, in resource_manager
return ew_core.widget_context.resource_manager
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/registry.py",
line 137, in __getattr__
return getattr(self._current_obj(), attr)
File
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/registry.py",
line 197, in _current_obj
'thread' % self.____name__)
TypeError: No object (name: widget_context) has been registered for this thread
> INFO [allura.command.create_neighborhood] Successfully created neighborhood
> "myneighborhood"
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.