- **status**: open --> invalid
- **Milestone**: forge-backlog --> forge-sep-06
---
** [tickets:#6039] Missing set_context / call to guess_repo from
repo_refresh.send_notifications**
**Status:** invalid
**Labels:** performance
**Created:** Wed Apr 03, 2013 06:41 PM UTC by Cory Johns
**Last Updated:** Wed Apr 03, 2013 09:00 PM UTC
**Owner:** Cory Johns
File "/var/local/allura/Allura/allura/model/monq_model.py", line 237, in
__call__
self.result = func(*self.args, **self.kwargs)
File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 60, in
refresh
c.app.repo.refresh()
File "/var/local/allura/Allura/allura/model/repository.py", line 494, in
refresh
refresh_repo(self, all_commits, notify, new_clone)
File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 120,
in refresh_repo
send_notifications(repo, commit_ids)
File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 387,
in send_notifications
summary, ci.authored.name, base_url, ci.url()))
File
"/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py",
line 116, in wrapper
return self.run_and_log(func, inst, *args, **kwargs)
File
"/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py",
line 141, in run_and_log
return func(*args, **kwargs)
File "/var/local/allura/Allura/allura/model/repo.py", line 229, in url
if self.repo is None: self.repo = self.guess_repo()
File
"/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py",
line 116, in wrapper
return self.run_and_log(func, inst, *args, **kwargs)
File
"/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py",
line 141, in run_and_log
return func(*args, **kwargs)
File "/var/local/allura/Allura/allura/model/repo.py", line 235, in
guess_repo
log.error('guess_repo: should not be called: %s' %
''.join(traceback.format_stack()))
---
Sent from sourceforge.net because [email protected] is subscribed
to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.